Skip to content

Remove dependency ranges from package.json and regenerate lock files#13

Closed
mraible wants to merge 10 commits into
mainfrom
pin-dependency-versions
Closed

Remove dependency ranges from package.json and regenerate lock files#13
mraible wants to merge 10 commits into
mainfrom
pin-dependency-versions

Conversation

@mraible
Copy link
Copy Markdown
Contributor

@mraible mraible commented Sep 22, 2025

No description provided.

mraible and others added 10 commits August 21, 2025 20:13
- Enhanced button detection with multiple fallback strategies
- Added automatic force click fallback for UI interactions
- Improved modal cleanup and tutorial-specific error messages
- Optimized Playwright timeouts and local retry capability
The CI passed with the simple TestId approach, confirming that multiple
fallback strategies were unnecessary for the tutorial environment.
Reverted to the original clean approach that was already working.
Error messages should be practical for actual users running tests locally,
not overly tutorial-focused. Reverted to cleaner, more standard format.
Align Logger.ts with foundry-sample-mitre implementation for quieter CI output:
- Remove verbose JSON logging in CI environments
- Only log errors, warnings (selective), and final test results in CI
- Suppress step-level logs completely in CI
- Maintain full verbose logging for local development

This resolves excessive log output during CI test runs while preserving
detailed debugging information for local development.
Remove redundant config.logSummary() call from foundry.spec.ts since
the fixtures.ts already logs configuration once per test run with proper
guarding via CONFIG_LOGGED environment variable.

This eliminates the duplicate "🔧 Test Configuration:" output in CI logs.
Align screenshot implementation with foundry-sample-mitre:
- Add directory creation logic to ensure test-results directory exists
- Use path.join() for proper cross-platform path handling
- Remove invalid quality parameter for PNG screenshots
- Improve error messaging with detailed error information

This resolves "Failed to take screenshot" errors in CI where the
test-results directory doesn't exist by default.
- Update main.yml workflow to upload test-results/ directory as artifacts
- Configure Playwright to capture screenshots only on failure
- Configure Playwright to retain videos only on failure
- Provides better debugging capabilities for failed E2E tests
@mraible mraible closed this Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant