Skip to content

Commit

Permalink
Switch to macos-latest and increase unloadDelay
Browse files Browse the repository at this point in the history
  • Loading branch information
juliandescottes committed May 1, 2024
1 parent bed9a76 commit 7d607ee
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/canary.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
os:
- ubuntu-latest
- windows-latest
- macos-13
- macos-latest
shard:
- 1-2
- 2-2
Expand All @@ -34,7 +34,7 @@ jobs:
exclude:
- os: windows-latest
suite: chrome-bidi
- os: macos-13
- os: macos-latest
suite: chrome-headful
steps:
- name: Check out repository
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Expand Up @@ -159,21 +159,21 @@ jobs:
os:
- ubuntu-latest
- windows-latest
- macos-13
- macos-latest
shard:
- 1-2
- 2-2
exclude:
- linux-only: true
os: windows-latest
- linux-only: true
os: macos-13
os: macos-latest
- linux-only: true
suite: chrome-headful

- os: windows-latest
suite: chrome-bidi
- os: macos-13
- os: macos-latest
suite: chrome-headful
steps:
- name: Check out repository
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
- firefox-headless
os:
- ubuntu-latest
- macos-13
- macos-latest
- windows-latest
shard:
- 1-4
Expand All @@ -263,11 +263,11 @@ jobs:
- linux-only: true
os: windows-latest
- linux-only: true
os: macos-13
os: macos-latest

- os: macos-13
- os: macos-latest
suite: firefox-headful
- os: macos-13
- os: macos-latest
suite: firefox-headless
- os: windows-latest
suite: firefox-headful
Expand Down Expand Up @@ -335,12 +335,12 @@ jobs:
os:
- ubuntu-latest
- windows-latest
- macos-13
- macos-latest
exclude:
- linux-only: true
os: windows-latest
- linux-only: true
os: macos-13
os: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
Expand Down Expand Up @@ -467,12 +467,12 @@ jobs:
os:
- ubuntu-latest
- windows-latest
- macos-13
- macos-latest
exclude:
- linux-only: true
os: windows-latest
- linux-only: true
os: macos-13
os: macos-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
Expand Down Expand Up @@ -521,12 +521,12 @@ jobs:
os:
- ubuntu-latest
- windows-latest
- macos-13
- macos-latest
exclude:
- linux-only: true
os: windows-latest
- linux-only: true
os: macos-13
os: macos-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deflake.yml
Expand Up @@ -33,7 +33,7 @@ on:
options:
- ubuntu-latest
- windows-latest
- macos-13
- macos-latest
retries:
description: Number of retries per test
required: false
Expand Down
1 change: 1 addition & 0 deletions packages/browsers/src/browser-data/firefox.ts
Expand Up @@ -242,6 +242,7 @@ function defaultProfilePreferences(
'browser.tabs.warnOnCloseOtherTabs': false,
// Do not warn when multiple tabs will be opened
'browser.tabs.warnOnOpen': false,
'browser.tabs.remote.unloadDelayMs': 1000,

// Do not automatically offer translations, as tests do not expect this.
'browser.translations.automaticallyPopup': false,
Expand Down

0 comments on commit 7d607ee

Please sign in to comment.