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

feat: setup Playwright e2e test including vFolder create/delete test #2647

Merged
merged 1 commit into from
Aug 22, 2024

Commits on Aug 22, 2024

  1. feat: setup Playwright e2e test including vFolder create/delete test (#…

    …2647)
    
    > [!NOTE]
    > This PR is newly written referring to #2115
    
    ### TL;DR
    
    Added end-to-end testing setup using Playwright
    
    ### What changed?
    
    - Installed Playwright as a dev dependency
    - Added Playwright configuration file (playwright.config.ts)
    - Created initial end-to-end tests for login functionality and virtual folder operations
    - Updated .gitignore to exclude Playwright-related files and directories
    - Added a data-testid attribute to the user dropdown button for easier test selection
    
    ### How to test?
    
    1. Install dependencies: `pnpm install`
    2. Run the application locally
    3. Execute the tests: `npx playwright test`
    4. View the test results in the console or generated HTML report
    
    ### Why make this change?
    
    Implementing end-to-end tests helps ensure the application's critical paths function correctly from a user's perspective. This addition will improve the overall quality and reliability of the project by catching potential issues early in the development process and providing confidence during future changes or refactoring.
    yomybaby committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    7f61052 View commit details
    Browse the repository at this point in the history