Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 3b872ab

Browse files
committed
Update testem configs
1 parent 5aae2cc commit 3b872ab

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

packages/@glimmer/component/testem.js

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1+
'use strict';
2+
3+
const DEFAULT_BROWSER = 'Chrome';
4+
const CI_BROWSER = process.env.CI_BROWSER || DEFAULT_BROWSER;
5+
16
module.exports = {
27
test_page: 'tests/index.html?hidepassed',
38
disable_watching: true,
4-
launch_in_ci: ['Chrome'],
5-
launch_in_dev: ['Chrome'],
9+
launch_in_ci: [CI_BROWSER],
10+
launch_in_dev: [DEFAULT_BROWSER],
11+
browser_start_timeout: 120,
612
browser_args: {
13+
Firefox: {
14+
mode: 'ci',
15+
// https://github.com/SeleniumHQ/selenium/pull/6075
16+
args: ['-headless', '--width=1440', '--height=900'],
17+
},
718
Chrome: {
819
ci: [
920
// --no-sandbox is needed when running Chrome inside a container
1021
process.env.CI ? '--no-sandbox' : null,
1122
'--headless',
23+
'--disable-dev-shm-usage',
24+
'--disable-software-rasterizer',
1225
'--mute-audio',
1326
'--remote-debugging-port=0',
1427
'--window-size=1440,900',

testem.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"browser_args": {
1919
"mode": "ci",
2020
"Chrome": [
21+
"--no-sandbox",
2122
"--headless",
2223
"--remote-debugging-port=9222"
2324
]

0 commit comments

Comments
 (0)