React + Redux - User Registration and Login Tutorial & Example
For documentation and further details go to https://jasonwatmore.com/post/2017/09/16/react-redux-user-registration-and-login-tutorial-example
- Testcafé: A node.js tool to automate end-to-end web testing.
- testcafe-reporter-html: HTML reporter generator for TestCafe automated tests. It provides an HTML report of a TestCafe task(s) execution, as well as feedback on the errors, if these occurred. Also it provides an easy way to view the screenshots from failing tests.
- Node.js installed;
- Run
npm install
to install dependencies;
config.json
Configuration file to help environments variableshelpers
Helpers to run the tests like data and utilspages
Where the page object of tests should be createdtests
Where the specification of tests should be createdreports
Where the report is located
Run all tests from current dir on Chrome testcafe chrome ./test
Browser | Browser Alias |
---|---|
Chromium | chromium |
Google Chrome | chrome |
Google Chrome Canary | chrome-canary |
Internet Explorer | ie |
Microsoft Edge (legacy and Chromium-based) | edge |
Mozilla Firefox | firefox |
Opera | opera |
Safari | safari |
Call the testcafe command with the --list-browsers flag to view a list of all available browsers.
Running to generate the Report testcafe chrome .\test\test\ --reporter html:<Path to your project location>\react-redux-registration-login-example\test\reports\file.html