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

Add Cypress Testing Library #24906

Closed
weeman1337 opened this issue Mar 23, 2023 · 1 comment
Closed

Add Cypress Testing Library #24906

weeman1337 opened this issue Mar 23, 2023 · 1 comment
Labels
A-Developer-Experience A-Testing Testing, code coverage, etc. T-Task Tasks for the team like planning

Comments

@weeman1337
Copy link
Contributor

Our Jest tests are currently written by using testing library. These tests are interacting with the components like users would do.

On the other hand our Cypress end-to-end tests do highly depend on CSS / DOM structure.

With adding https://github.com/testing-library/cypress-testing-library we can align both worlds. Cypress Testing Library defines Cypress commands for all find… function, that exist in Testing Library.

@alunturner alunturner added T-Task Tasks for the team like planning A-Testing Testing, code coverage, etc. labels Mar 24, 2023
@weeman1337
Copy link
Contributor Author

Closed by matrix-org/matrix-react-sdk#10446

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Developer-Experience A-Testing Testing, code coverage, etc. T-Task Tasks for the team like planning
Projects
None yet
Development

No branches or pull requests

2 participants