https://github.com/nilshartmann/e2e-testing-playground
Playground for end-to-end testing frameworks and tools
https://github.com/nilshartmann/e2e-testing-playground
browser-testing end-to-end-testing javascript react testcafe testing
Last synced: 26 days ago
JSON representation
Playground for end-to-end testing frameworks and tools
- Host: GitHub
- URL: https://github.com/nilshartmann/e2e-testing-playground
- Owner: nilshartmann
- Created: 2017-11-19T21:52:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T21:52:15.000Z (over 8 years ago)
- Last Synced: 2026-03-29T17:24:37.683Z (2 months ago)
- Topics: browser-testing, end-to-end-testing, javascript, react, testcafe, testing
- Language: JavaScript
- Size: 116 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# end-to-end Testing Playground
Playground to try several end-to-end testing approaches and frameworks (for React applications)
## TestCafe (https://devexpress.github.io/testcafe/)
1. Make sure both, API and Frontend are up and running:
```
# run the API server
yarn server
# run the webpack dev server
yarn start
```
2. Run test testsuite (using firefox):
```
yarn testcafe
```
(you can switch the browser in the `package.json` file, for example to `chrome`, `firefox:headless`, `chrome:headless` or `puppeteer`)
Test cases are located inside the `testcafe` folder. Some are modelled with PageObjects as described in the TestCafe
documentation.
Some test cases also use the `testcafe-react-selectors` that allow **finding React components** inside the browser (see for example
`GreetingDisplay.test.js`)