Commit ddb5eba8 authored by Hassan Bin Eqbal's avatar Hassan Bin Eqbal

Update README.md

parent f897e9df
# TestCafe
Clone the Project, use the below commands
$ git clone git@gitlab.mynisum.com:HasanEqbal/testcafe.git
$ cd PROJECT
$ npm install
Open the project in VisualStudio and ran the below commands in terminal
testcafe -c 2 edge .\test\RegistrationTest.js
it will open the EDGE browse and start running the testcases.
Some other usefull commands are below
testcafe -c 2 edge .\test\RegistrationTest.js -t "Validate register user data in database"
npx testcafe edge test/MetaData.js --fixture-meta version=1
testcafe "chrome:emulation:device=iphone X" tests/sample-fixture.js
npx testcafe chrome .\test\GuestUserTest.js --reporter html:report.html,allure -t "Assert Home page"
testcafe chrome tests/sample-fixture.js -s takeOnFails=true
npx testcafe -c 3 edge,chrome .\test\RegistrationTest.js --reporter html:report.html
npm run test.local
npx testcafe chrome .\test\GuestUserTest.js --reporter allure
allure generate allure/allure-results --clean -o allure/allure-report
allure open allure/allure-report
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment