-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infrastructure: Make 'npm run regression' run as headless by default #1888
Conversation
We could add a message when running |
4c0aa24
to
dba7a53
Compare
|
Rebase this PR on |
dba7a53
to
dbfd4cd
Compare
Rebased. |
dbfd4cd
to
4ee5298
Compare
@@ -9,7 +9,7 @@ const queryElement = require('./util/queryElement'); | |||
const queryElements = require('./util/queryElements'); | |||
|
|||
let session, geckodriver; | |||
const firefoxArgs = process.env.CI ? ['-headless'] : []; | |||
const firefoxArgs = process.env.DEBUG ? [] : ['-headless']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense! Should this get documented somewhere, or is that already done on the wiki?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not documented yet, but the OP says to change the wiki when merging.
(I think it would be better to have the documentation in the tree, so PRs like this one can update the documentation in the PR, and people can review the documentation changes...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, it would be flipping the current instructions around CI=1 npm run regression
Thanks @jesdaigle I've updated the wiki and emailed public-aria-practices@ |
@zcorpan wrote: @zcorpan wrote:>(I think it would be better to have the documentation in the tree, so PRs like this one can update the documentation in the PR, and people can review the documentation changes...) This might fit into the redesign. Perhaps the about page in the redesign could be a collection of cards like the patterns and fundamentals page and we could have cards for various aspects of the contributor documentation that open to pages for topics, such as regression tests. |
Use 'DEBUG=1 npm run regression' to opt-in to non-headless.
Fixes #1885
These docs should be updated when merging this.