Skip to content

Fix how Chrome is launched for testing #781

@romaricpascal

Description

@romaricpascal

What

Fix how Chrome is launched by Karma and WebDriver.io on GitHub CI so it runs properly rather than error.

Note

We used to set the --no-sandbox and --disable-setuid-sandbox flags of Chrome in GOV.UK Frontend. While we could do this with both Karma and WebDriver.io, we've since removed the flags from GOV.UK Frontend so there might be alternative solutions.

Why

So tests run again

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

  • Karma tests run again on CI
  • WebDriver tests run again on CI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions