mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Run Ember CLI tests in Firefox evergreen too (#14283)
Increases timeout and removes parallelism to make it stable.
This commit is contained in:
parent
6262396d8a
commit
789613fe51
4
.github/workflows/ember.yml
vendored
4
.github/workflows/ember.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
if: true
|
if: true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: discourse/discourse_test:release
|
container: discourse/discourse_test:release
|
||||||
timeout-minutes: 40
|
timeout-minutes: 60
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
@ -50,4 +50,4 @@ jobs:
|
|||||||
- name: Core QUnit
|
- name: Core QUnit
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
working-directory: ./app/assets/javascripts/discourse
|
||||||
run: sudo -E -u discourse -H yarn ember test
|
run: sudo -E -u discourse -H yarn ember test
|
||||||
timeout-minutes: 30
|
timeout-minutes: 60
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
test_page: "tests/index.html?hidepassed",
|
test_page: "tests/index.html?hidepassed",
|
||||||
disable_watching: true,
|
disable_watching: true,
|
||||||
launch_in_ci: ["Chrome", "Firefox"],
|
launch_in_ci: ["Chrome", "Firefox", "Headless Firefox"], // Firefox is old ESR version, Headless Firefox is up-to-date evergreen version
|
||||||
launch_in_dev: ["Chrome"],
|
launch_in_dev: ["Chrome"],
|
||||||
parallel: -1, // run Firefox and Chrome in parallel
|
parallel: 1, // disable parallel tests for stability
|
||||||
browser_args: {
|
browser_args: {
|
||||||
Chrome: [
|
Chrome: [
|
||||||
// --no-sandbox is needed when running Chrome inside a container
|
// --no-sandbox is needed when running Chrome inside a container
|
||||||
@ -16,5 +16,9 @@ module.exports = {
|
|||||||
"--window-size=1440,900",
|
"--window-size=1440,900",
|
||||||
].filter(Boolean),
|
].filter(Boolean),
|
||||||
Firefox: ["-headless", "--width=1440", "--height=900"],
|
Firefox: ["-headless", "--width=1440", "--height=900"],
|
||||||
|
"Headless Firefox": ["--width=1440", "--height=900"],
|
||||||
|
},
|
||||||
|
browser_paths: {
|
||||||
|
"Headless Firefox": "/opt/firefox-evergreen/firefox",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user