Switch to Testcafe for E2E tests
TestCafe is a test and browser automation framework that doesn't use Selenium but is compatible with all major browsers including BrowserStack and SauceLabs (and mobile browsers).
- Run tests in Chrome with
npm test
- Run tests in Chrome and Firefox in CI
- Created new Docker image for this https://github.com/tamlyn/headless-nodejs
- Added tests for all major features areas:
- Login
- Signup
- Password reset (with emails)
- Create/publish/delete a post
- Create/delete a team
- View users
- Added
pubsweet-server.baseUrl
config property
Edited by Tamlyn Rhodes