Skip to content

Run the integration tests in headless mode in GitHub Actions #21991

Open

Description

@timvandermeij

The integration tests are currently the only workflow tests that don't run in headless mode; see:

# Note that the integration tests can't run in headless mode until bug
# 1878643 (tracked in #20918), and possibly others, have been fixed
# upstream, so we can't run with the `--headless` flag and thus have to
# configure a standard resolution for the headful browser windows.
- name: Update resolution (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: Set-DisplayResolution -Width 1920 -Height 1080 -Force

One of the issues that prevented us from doing that was #20918 which is now fixed, but while more tests pass with that fix in place there are still quite a few other errors remaining in both Firefox and Chrome if headless mode is used for the integration tests.

We should try to find out why that happens so we can eventually enable headless mode for the integration tests too, which would improve consistency and perhaps also some runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions