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
Implement comprehensive end-to-end (E2E) tests for the Vitality frontend and frontend BO applications.
π Motivation
E2E tests simulate real user interactions with the frontend, providing valuable feedback on the application's functionality, user experience, and overall stability. These tests help identify issues that might not be caught by unit or integration tests, such as UI inconsistencies, integration problems, and browser compatibility issues.
π Proposed Solution
Framework Choice: Cypress vs Playwright
Configuration
Identify and prioritize critical user flows to test
Excellent with time-travel, videos, and screenshots
Good, but with fewer debugging tools
Browser Support
Primarily Chrome, Electron (basic support)
Chrome, Firefox, Safari, and mobile browsers
Scenario Complexity
Less suited for multi-page or multi-domain scenarios
Highly suited for complex scenarios
Parallel Testing
Limited parallelization, requires external tools
Native parallelization, better performance
Ecosystem
More mature with lots of plugins
Younger, but rapidly growing
Cypress seems to be a great choice for a simple and powerful solution for testing in a single browser environment. Playwright is better to test across multiple browser or execute more complex scenarios (multiple tabs and domains).
Cypress only support Chrome while Playwright support many different browsers and mobile browsers
β¨ Description
Implement comprehensive end-to-end (E2E) tests for the Vitality frontend and frontend BO applications.
π Motivation
E2E tests simulate real user interactions with the frontend, providing valuable feedback on the application's functionality, user experience, and overall stability. These tests help identify issues that might not be caught by unit or integration tests, such as UI inconsistencies, integration problems, and browser compatibility issues.
π Proposed Solution
π Relevant Links (if any)
The text was updated successfully, but these errors were encountered: