Skip to content

Commit

Permalink
Merge pull request #1931 from embroider-build/scenario-tester
Browse files Browse the repository at this point in the history
update scenario-tester
  • Loading branch information
mansona authored Jul 3, 2024
2 parents ecc205b + a11010d commit a8c9dfe
Show file tree
Hide file tree
Showing 7 changed files with 941 additions and 101 deletions.
24 changes: 22 additions & 2 deletions packages/util/testem.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
const { testemConfig } = require('@embroider/test-support/testem-config');
module.exports = testemConfig();
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: ['Chrome'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 90,
browser_args: {
Chrome: {
ci: [
// --no-sandbox is needed when running Chrome inside a container
process.env.CI ? '--no-sandbox' : null,
'--headless',
'--disable-dev-shm-usage',
'--disable-software-rasterizer',
'--mute-audio',
'--remote-debugging-port=0',
'--window-size=1440,900',
`--crash-dumps-dir=${process.env.TMPDIR}`,
].filter(Boolean),
},
},
};
Loading

0 comments on commit a8c9dfe

Please sign in to comment.