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
@semsi-dogruer here is an example that could be broken down into:
Set up Unit testing Environment (Vite-test)
Set up E2E testing Environment (Cypress?, Selenium?, other?) <-- perhaps further, Pick an e2e test suite.
Create Unit tests for XYZ functions.
Create E2E tests for XYZ UX interactions
Here is a good article by Kent C Dodds about using "data-" attributes as test targets https://kentcdodds.com/blog/making-your-ui-tests-resilient-to-change
TLDR: by implicitly creating a target e.g.: data-testid="someElemnentName" you can keep your tests from breaking when some other selector changes in the future.
No description provided.
The text was updated successfully, but these errors were encountered: