Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring of e2e.test.js file #1

Open
akvlad opened this issue Oct 19, 2022 · 0 comments
Open

Refactoring of e2e.test.js file #1

akvlad opened this issue Oct 19, 2022 · 0 comments

Comments

@akvlad
Copy link
Contributor

akvlad commented Oct 19, 2022

Current state

All the tests are placed to the same file. It causes several problems:

  • the code is hard to read and support
  • snapshot file is hard to support because all the snapshots in the same test case

Extra problem is that e2e test cases depend on each other which is not supported by Jest.

The latest test coverage review have shown that the tests amount should grow significantly.

Task

Need to provide a mechanism to start dependent test cases in order.
Need to split e2e.test.js file into a set of files containing less code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant