Fix production health check failures and webkit browser installation #27
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.
The production health check workflow was failing due to three critical issues that prevented the scheduled monitoring from working correctly.
Root Cause Analysis
The comprehensive E2E testing pipeline was experiencing failures in the production health check job:
--grep="should load correctly"and--grep="Core Web Vitals"patterns that don't match any existing tests, causing "No tests found" errors'0 9 1 * *'(monthly on 1st at 9 AM) instead of daily as intendedChanges Made
Fixed Test Patterns
Updated the production health check to use valid test patterns that match existing tests:
"should load correctly"→"should complete full onboarding""Core Web Vitals"→"should meet Core Web Vitals standards on landing page"Both patterns now correctly match exactly 11 tests (one per browser configuration).
Fixed Cron Schedule
Changed from
'0 9 1 * *'to'0 2 * * *'to run daily at 2 AM UTC as originally intended.Fixed Browser Installation
Added conditional logic in the mobile UX tests to install the correct browser based on project requirements:
Added Proper .gitignore
Added entries for playwright test artifacts to prevent accidental commits of test reports and results.
Validation
All fixes have been tested and validated:
The production health check will now run daily without the "No tests found" errors that were causing monitoring failures.
Fixes #26.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.