Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Copy link
Contributor

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?

Copy link
Contributor Author

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...)

Copy link
Contributor

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

const testWaitTime = parseInt(process.env.TEST_WAIT_TIME) || 500;
const coverageReportRun = process.env.REGRESSION_COVERAGE_REPORT;

Expand Down