Skip to content

Default to running AVA as headless? #1885

@zcorpan

Description

@zcorpan

I was working on implementing a way to run AVA as headless, and later found that it is already possible:

https://github.com/w3c/aria-practices/wiki/Regression-Tests-for-APG-Example-Pages#running-tests

To run in firefox headless mode:

$ CI=1 npm run regression 

I have read these docs before but somehow missed this.

Would it make sense to change the default to run tests as headless, and opt in to non-headless with e.g.

$ DEBUG=1 npm run regression

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    regression-testingRelated to AVA regression tests of example pages or AVA framework implementation within repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions