ekino / v6y

Vitality is a tool crafted to maintain and optimize the health and performance of codebase and applications.
MIT License
4 stars 1 forks source link

[FEATURE]: E2E Tests Vitality frontend and frontend BO applications #6

Open helabenkhalfallah opened 1 month ago

helabenkhalfallah commented 1 month ago

✨ 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)

maelaubert56 commented 1 month ago

🆚 Comparison between Cypress and Playwright

Criteria Cypress Playwright
Installation Very easy, simple configuration A bit more complex
Performance Fast but limited to one browser per test Very fast, cross-browser testing
Debugging 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