You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a cypress test for the screenshot functionality. the test is currently under e2e directory we want to move it under components/ or integration/
Outcomes
understand Component Test in Cypress
difference between Component test in cypress and React unit test
figure out what to do with screenshot tests currently in e2e/ (move to component/ ?)
Notes
The e2e tests should cover the most obvious, important user flows
Integration tests should cover less important permutations, and interactions between different layers of our application
For example, our e2e might be As a user, I can save a layout. Integration tests related to that might be When I save a layout, I can see a screenshot of the layout and When I save a layout, I see a dialog to confirm details of the layout to be saved
The text was updated successfully, but these errors were encountered:
vferraro-scottlogic
changed the title
Cypress: move screenshot test to integration tests folder
Cypress: move screenshot test to component tests folder
Sep 20, 2023
Background
We have a cypress test for the screenshot functionality. the test is currently under e2e directory we want to move it under components/ or integration/
Outcomes
Notes
The e2e tests should cover the most obvious, important user flows
Integration tests should cover less important permutations, and interactions between different layers of our application
For example, our e2e might be As a user, I can save a layout. Integration tests related to that might be When I save a layout, I can see a screenshot of the layout and When I save a layout, I see a dialog to confirm details of the layout to be saved
Useful Links
https://docs.cypress.io/guides/core-concepts/testing-types
https://docs.cypress.io/guides/component-testing/overview
The text was updated successfully, but these errors were encountered: