https://github.com/radioaktive/testcafe-demo
testcafe demo example project
https://github.com/radioaktive/testcafe-demo
testcafe
Last synced: 10 months ago
JSON representation
testcafe demo example project
- Host: GitHub
- URL: https://github.com/radioaktive/testcafe-demo
- Owner: radioaktive
- Created: 2020-05-11T19:04:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T05:37:49.000Z (over 3 years ago)
- Last Synced: 2023-03-09T08:41:44.231Z (about 3 years ago)
- Topics: testcafe
- Language: JavaScript
- Size: 340 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# testcafe-demo
testcafe demo example project
```
npm install
```
tests-id01-id03.js
01) Searches repo with name Nuxt.js on github;
03) Open Nuxt.js repo and check topics;
// if you have no firefox type chrome in commands.
```
npx testcafe firefox e2e/tests-id01-id03.js -L
```
tests-id02.js
Searches repo with name Vue.js on github;
// it must fail because no repo with name Vue.js;
```
npx testcafe firefox e2e/tests-id02.js -L
```
tests-id02-1.js
Searches repo with name Vue.js on github but with softer and wider conditions;
It must be ok.
```
npx testcafe firefox e2e/tests-id02-1.js -L
```