77
77
# --driver=test_driver/integration_test.dart \
78
78
# --target=integration_test/webcrypto_test.dart \
79
79
# -d chrome
80
- # TODO: Enable firefox testing on MacOS when it works
81
- - run : flutter pub run test -p vm,chrome
80
+ - uses : browser-actions/setup-firefox@v1
81
+ - name : flutter pub run test -p vm,chrome,firefox
82
+ shell : bash
83
+ # Remove FIREFOX_EXECUTABLE override when flutter upgrades past package:test 1.25.8
84
+ # Issue is fixed in https://github.com/dart-lang/test/pull/2276
85
+ run : |
86
+ export FIREFOX_EXECUTABLE="$(which firefox)"
87
+ flutter pub run test -p vm,chrome,firefox
82
88
macos-15 :
83
89
name : webcrypto on macOS 15 desktop / Chrome
84
90
runs-on : macos-15 # Test with xcode 16
@@ -98,8 +104,14 @@ jobs:
98
104
- run : flutter test integration_test/webcrypto_test.dart -d macos
99
105
working-directory : ./example
100
106
# TODO: Enable chromedriver testing on MacOS when it works reliably
101
- # TODO: Enable firefox testing on MacOS when it works
102
- - run : flutter pub run test -p vm,chrome
107
+ - uses : browser-actions/setup-firefox@v1
108
+ - name : flutter pub run test -p vm,chrome,firefox
109
+ shell : bash
110
+ # Remove FIREFOX_EXECUTABLE override when flutter upgrades past package:test 1.25.8
111
+ # Issue is fixed in https://github.com/dart-lang/test/pull/2276
112
+ run : |
113
+ export FIREFOX_EXECUTABLE="$(which firefox)"
114
+ flutter pub run test -p vm,chrome,firefox
103
115
windows :
104
116
name : webcrypto on Windows desktop / Chrome / Firefox
105
117
runs-on : windows-latest
0 commit comments