added readme, renamed scripts
This commit is contained in:
@@ -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",
|
||||
|
||||
15
readme.txt
Normal file
15
readme.txt
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user