diff --git a/package.json b/package.json index b344606..1c6bfe9 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "update": "webdriver-manager update", "postinstall": "npm run update", "start": "webdriver-manager start", - "hw2_tests": "protractor ./conf.js --suite=hw2", - "hw3_tests": "protractor ./conf.js --suite=hw3", - "hw4_tests": "protractor ./conf.js --suite=hw4" + "hw2tests": "protractor ./conf.js --suite=hw2", + "hw3tests": "protractor ./conf.js --suite=hw3", + "hw4tests": "protractor ./conf.js --suite=hw4" }, "devDependencies": { "phantomjs": "^2.1.7", diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..948ff00 --- /dev/null +++ b/readme.txt @@ -0,0 +1,15 @@ +# requires nodejs and java + +# in test project directory give following commands: + +npm install # installs libraries + +# This command creates directory node_modules inside current directory. +# If on Windows, then delete file node_modules\.bin\phantomjs + +npm start # starts Selenium server + +# previous command does not terminate. +# So, open new terminal and run: + +npm run hw2tests # runs tests