Fix Playwright tests and add CI validation#9
Draft
kertal wants to merge 1 commit into
Draft
Conversation
…tion - Create new test.yml workflow that runs on PRs and main branch pushes - Install Playwright browsers and dependencies in CI - Run unit tests (Vitest) with --run flag for CI mode - Run E2E tests (Playwright) after build step - Upload Playwright test reports as artifacts for debugging - Optimize Playwright config for CI: - Run tests only on Chromium in CI for speed and reliability - Keep all browsers (Chromium, Firefox, WebKit, Mobile) for local testing - Existing CI settings preserved (workers: 1, retries: 2, forbidOnly) - Add test status badge to README for visibility - Create branch protection setup documentation - Guide for configuring required status checks - Ensures tests must pass before PR merge This ensures all Playwright tests run automatically on PRs before they can be merged, improving code quality and catching regressions early.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…tion
Create new test.yml workflow that runs on PRs and main branch pushes
Install Playwright browsers and dependencies in CI
Run unit tests (Vitest) with --run flag for CI mode
Run E2E tests (Playwright) after build step
Upload Playwright test reports as artifacts for debugging
Optimize Playwright config for CI:
Add test status badge to README for visibility
Create branch protection setup documentation
This ensures all Playwright tests run automatically on PRs before they can be merged, improving code quality and catching regressions early.