Skip to content

ci(e2e): add GitHub Actions workflow for E2E tests#41

Closed
vertefra wants to merge 1 commit intomasterfrom
ci/setup-e2e-tests
Closed

ci(e2e): add GitHub Actions workflow for E2E tests#41
vertefra wants to merge 1 commit intomasterfrom
ci/setup-e2e-tests

Conversation

@vertefra
Copy link
Copy Markdown
Contributor

@vertefra vertefra commented Mar 3, 2026

Summary

  • Add e2e-tests.yml workflow with proper extension build step
  • Configure Playwright to install browsers with dependencies
  • Add GitHub reporter for CI with test artifacts upload
  • Enhance playwright.config.ts with CI-specific settings

Changes

New GitHub Actions Workflow (.github/workflows/e2e-tests.yml)

  • Builds extension before testing (npm run build:test)
  • Installs Playwright browsers with system dependencies
  • Runs tests with CI environment variable
  • Uploads test reports and artifacts on failure

Playwright Configuration Updates

  • Increased timeout to 90s for CI environments
  • Added GitHub Actions reporter for PR annotations
  • Screenshot and video capture on test failures
  • Conditional reporters based on CI environment

Documentation

  • Added E2E Tests status badge to README

⚠️ Known Issue

Tests may be blocked by Amazon/Walmart anti-bot protection when running from GitHub Actions IPs. Need to address this before enabling the workflow.

Test Plan

  • Verify workflow runs without errors
  • Check if tests can access Amazon/Walmart or if blocked
  • Review test artifacts on failure

Made with Cursor

- Add e2e-tests.yml workflow with proper extension build step
- Configure Playwright to install browsers with dependencies
- Add GitHub reporter for CI with test artifacts upload
- Enhance playwright.config.ts with CI-specific settings:
  - Increased timeout to 90s for CI environments
  - Screenshot and video capture on failures
  - GitHub Actions reporter for PR annotations
- Add E2E Tests status badge to README

Made-with: Cursor
@vertefra vertefra requested a review from emypeeler as a code owner March 3, 2026 00:52
@vertefra
Copy link
Copy Markdown
Contributor Author

vertefra commented Mar 3, 2026

Closing PR: E2E tests cannot run in GitHub Actions CI/CD due to Amazon/Walmart anti-bot protection blocking datacenter IPs. Tests will remain for local development only.

@vertefra vertefra closed this Mar 3, 2026
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