Skip to content

Conversation

@WilsonNet
Copy link
Collaborator

@WilsonNet WilsonNet commented Jan 12, 2026

Summary

Adds end-to-end (e2e) tests to the CI workflow that run automatically after staging deployment. This ensures staging is tested before considering it safe, while keeping production deployments non-blocking.

Changes

  • Added e2e-tests job to .github/workflows/ci.yaml that depends on deploy-staging
  • Job waits 3 minutes for staging readiness, then runs Playwright tests against https://staging.dashboard.kernelci.org:9000
  • Tests are non-blocking for production (manual deploys can proceed regardless of e2e results)

Testing

  1. Automatic: Push to main to trigger full CI + staging deploy + e2e tests

Disclaimer: There is a commit just to test the CI that remove guardrails, this will be removed before merge

Closes #1684

@WilsonNet WilsonNet marked this pull request as draft January 12, 2026 19:38
@WilsonNet WilsonNet marked this pull request as ready for review January 12, 2026 19:39
@WilsonNet WilsonNet marked this pull request as draft January 12, 2026 19:40
@WilsonNet WilsonNet force-pushed the feat/add-e2e-ci branch 3 times, most recently from 9be1fdf to 3196c57 Compare January 12, 2026 20:04
@WilsonNet WilsonNet marked this pull request as ready for review January 13, 2026 11:47
@MarceloRobert MarceloRobert added the CI/CD Most or all of the changes are about automated tests / Github's CI label Jan 13, 2026
@WilsonNet WilsonNet force-pushed the feat/add-e2e-ci branch 3 times, most recently from 4b2a94c to 7e3d300 Compare January 21, 2026 13:11
- Separate deploy-staging and e2e-tests into new deploy-staging.yaml workflow
- Maintain dependency for e2e on deploy-staging
@WilsonNet WilsonNet marked this pull request as draft January 21, 2026 14:10
@WilsonNet WilsonNet marked this pull request as ready for review January 21, 2026 14:29
Copy link
Collaborator

@MarceloRobert MarceloRobert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WilsonNet WilsonNet added this pull request to the merge queue Jan 22, 2026
Merged via the queue into main with commit 9560776 Jan 22, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD Most or all of the changes are about automated tests / Github's CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add e2e tests to CD

3 participants