Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TestCafe
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hassan Bin Eqbal
TestCafe
Commits
ddb5eba8
Commit
ddb5eba8
authored
Jun 24, 2022
by
Hassan Bin Eqbal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
f897e9df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
README.md
README.md
+22
-0
No files found.
README.md
View file @
ddb5eba8
# 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 .
\t
est
\R
egistrationTest.js
it will open the EDGE browse and start running the testcases.
Some other usefull commands are below
testcafe -c 2 edge .
\t
est
\R
egistrationTest.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 .
\t
est
\G
uestUserTest.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 .
\t
est
\R
egistrationTest.js --reporter html:report.html
npm run test.local
npx testcafe chrome .
\t
est
\G
uestUserTest.js --reporter allure
allure generate allure/allure-results --clean -o allure/allure-report
allure open allure/allure-report
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment