Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Running e2e tests takes a very long time. If we add more tests, more time.
It doesn't sound like a good option for us in terms of scalability...
Fortunately, sorry-cypress provides us a
good solution for avoiding the necessity to have a
Cypress Dashboard account.
The parallel run can't be used without the implementation of #2624, because
the way our tests are currently designed, calling the politeiawww api with two
parallel tests would trigger lots of user identities errors, making our tests fail.
For now, the parallel tests are supposed to be used on local development env
only, since it's an experimental feature.
(Experimental) Run tests in parallel
You can run parallel tests using the sorry-cypress
alternative, instead of regular Cypress in order to avoid using Cypress
Dashboard, which requires an account and other KYC stuff. Fortunately, this
alternative wraps cypress into one docker image and opens it for usage.
Parallel tests will only work with Mocked APIs tests suites
yarn && yarn test:e2e:parallel:setup
yarn start
yarn cy:run:parallel
oneach.