Skip to content

test: run the end-to-end tests on the image #79

Closed

Description

@uniqueg

Why?

The end-to-end tests run against next build output started by Playwright's webServer, while the image runs Next.js's standalone output as a non-root user with a read-only root file system and all settings from the environment at start. CI's Build image job only smoke-tests the image (login page, start-page redirect, a write to /tmp/next-cache). A difference between the two (a file missing from the standalone output, a setting read at build time instead of at start) would pass every check and break the released image.

How?

  1. In CI, start the image built by Build image (non-root, --read-only --tmpfs /tmp) with the settings of the end-to-end tests, and run the Playwright journey against it (Chromium is enough), with the mock services from e2e/mock/.
  2. Have the release workflow (ci: release versioned images and notes #62) run the same checks against the exact release digest before it tags and publishes it.
  3. Document in the README's "Tests" section how to run the journey against a local image.

Acceptance criteria

  • CI runs the end-to-end journey against the built image, and CI passed needs it.
  • The release workflow runs it against the release digest before tagging.

Activity

  1. added this to the v0.1.0 milestone on Nov 14, 2026
  2. added
    priority: medium
    status: blocked
    type: testing
    on Nov 14, 2026
  3. added
    workload: hours
    on Nov 14, 2026
  4. added
    status: triage
    and removed
    status: blocked
    on Nov 14, 2026
  5. self-assigned this
    on Nov 14, 2026
  6. added
    status: in progress
    and removed
    status: triage
    on Nov 14, 2026
  7. moved this from Backlog to In progress in ELIXIR On-Cloudon Nov 14, 2026
  8. moved this from In progress to In review in ELIXIR On-Cloudon Nov 16, 2026
  9. moved this from In review to In progress in ELIXIR On-Cloudon Nov 16, 2026
  10. moved this from In progress to In review in ELIXIR On-Cloudon Nov 16, 2026
  11. added
    status flag: need review
    on Nov 16, 2026
  12. moved this from In review to Done in ELIXIR On-Cloudon Nov 16, 2026
  13. removed
    status: in progress
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: mediumstatus flag: need reviewtype: testingworkload: hours

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions