Skip to content

Commit b49e183

Browse files
committed
debug
1 parent 910a4d6 commit b49e183

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@ jobs:
2727
with:
2828
firefox-version: latest-nightly
2929

30-
- name: Verify Firefox Nightly installation
31-
run: firefox --version
32-
3330
- name: Install dependencies
3431
run: npm ci
3532

3633
- name: Run tests
37-
run: FIREFOX_BINARY=/opt/hostedtoolcache/firefox/latest-nightly/x64/firefox npm test
34+
run: npm test
35+
env:
36+
FIREFOX_BINARY: /opt/hostedtoolcache/firefox/latest-nightly/x64/firefox
3837

3938
- name: Upload screenshots on failure
4039
if: failure()

test/helpers/firefox-extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class FirefoxExtensionHelper {
9797

9898
// Use Firefox Nightly by default (required for WebExtension Experiments)
9999
// Can be overridden with FIREFOX_BINARY environment variable
100-
const firefoxBinary = process.env.FIREFOX_BINARY || await this.detectFirefoxNightly();
100+
const firefoxBinary = process.env.FIREFOX_BINARY; // || await this.detectFirefoxNightly();
101101

102102
if (firefoxBinary) {
103103
console.log(`Using Firefox binary: ${firefoxBinary}`);

0 commit comments

Comments
 (0)