Skip to content

Commit 0bd03f7

Browse files
Re-enable nightly firefox tests (#7954)
* Re-enable nightly firefox tests * Use ios 15 webgl2 for layers tests --------- Co-authored-by: Ping Yu <[email protected]>
1 parent 8879e72 commit 0bd03f7

File tree

13 files changed

+26
-34
lines changed

13 files changed

+26
-34
lines changed

e2e/scripts/run-browserstack-tests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ if [[ "$NIGHTLY" = true || "$RELEASE" = true ]]; then
3939
COMMANDS+=(
4040
"yarn run-browserstack --browsers=bs_ios_12 --tags '$TAGS' --testEnv webgl --flags '{\"\\"\"WEBGL_VERSION\"\\"\": 1, \"\\"\"WEBGL_CPU_FORWARD\"\\"\": false, \"\\"\"WEBGL_SIZE_UPLOAD_UNIFORM\"\\"\": 0}'"
4141
"yarn run-browserstack --browsers=bs_safari_mac --tags '$TAGS' --testEnv webgl --flags '{\"\\"\"WEBGL_VERSION\"\\"\": 1, \"\\"\"WEBGL_CPU_FORWARD\"\\"\": false, \"\\"\"WEBGL_SIZE_UPLOAD_UNIFORM\"\\"\": 0}'"
42-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
43-
# "yarn run-browserstack --browsers=bs_firefox_mac --tags '$TAGS'"
42+
"yarn run-browserstack --browsers=bs_firefox_mac --tags '$TAGS'"
4443
"yarn run-browserstack --browsers=bs_android_10 --tags '$TAGS'"
4544
# Test script tag bundles
4645
"karma start ./script_tag_tests/tfjs-core-cpu/karma.conf.js --browserstack --browsers=bs_chrome_mac"

tfjs-automl/scripts/test-ci.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,5 @@ yarn run-flaky "yarn run-browserstack --browsers=bs_chrome_mac"
2727
# Run the rest of the karma tests in parallel. These runs will reuse the
2828
# already downloaded binary.
2929
npm-run-all -p -c --aggregate-output \
30+
"run-flaky \"yarn run-browserstack --browsers=bs_firefox_mac\"" \
3031
"run-flaky \"yarn run-browserstack --browsers=bs_safari_mac --testEnv webgl1\""
31-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
32-
# "run-flaky \"yarn run-browserstack --browsers=bs_firefox_mac\"" \
33-

tfjs-backend-wasm/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ tfjs_web_test(
151151
],
152152
browsers = [
153153
"bs_chrome_mac",
154-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
155-
# "bs_firefox_mac",
154+
"bs_firefox_mac",
156155
"bs_safari_mac",
157156
"bs_ios_12",
158157
# TODO(mattsoulanille): Fix clipByValue on Android.

tfjs-backend-webgl/BUILD.bazel

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,9 @@ tfjs_web_test(
106106
"webgl2",
107107
],
108108
browsers = [
109-
"bs_chrome_mac",
110-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
111-
# "bs_firefox_mac",
112109
"bs_android_10",
110+
"bs_chrome_mac",
111+
"bs_firefox_mac",
113112
"win_10_chrome",
114113
],
115114
headless = False,
@@ -130,8 +129,8 @@ tfjs_web_test(
130129
"webgl1",
131130
],
132131
browsers = [
133-
"bs_safari_mac",
134132
"bs_ios_12",
133+
"bs_safari_mac",
135134
],
136135
headless = False,
137136
presubmit_browsers = [

tfjs-core/BUILD.bazel

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,11 @@ tfjs_web_test(
110110
"//tfjs-core/src:tfjs-core_test_bundle",
111111
],
112112
browsers = [
113+
"bs_android_10",
113114
"bs_chrome_mac",
114-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
115-
# "bs_firefox_mac",
116-
"bs_safari_mac",
115+
"bs_firefox_mac",
117116
"bs_ios_12",
118-
"bs_android_10",
117+
"bs_safari_mac",
119118
"win_10_chrome",
120119
],
121120
static_files = [

tfjs-core/src/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,7 @@ tfjs_web_test(
222222
name = "worker_test",
223223
browsers = [
224224
"bs_chrome_mac",
225-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
226-
# "bs_firefox_mac",
225+
"bs_firefox_mac",
227226
"bs_safari_mac",
228227
# Temporarily disabled because BrowserStack does not support loading
229228
# absolute paths in iOS, which is required for loading the worker.

tfjs-layers/BUILD.bazel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ tfjs_web_test(
5151
],
5252
browsers = [
5353
"bs_chrome_mac",
54-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
55-
# "bs_firefox_mac",
54+
"bs_firefox_mac",
5655
# disabled android test due to training flakiness
5756
# "bs_android_10",
5857
"win_10_chrome",
58+
"bs_ios_15",
5959
],
6060
headless = False,
6161
seed = "12345",
@@ -76,7 +76,6 @@ tfjs_web_test(
7676
],
7777
browsers = [
7878
"bs_safari_mac",
79-
"bs_ios_12",
8079
],
8180
headless = False,
8281
seed = "12345",

tfjs-tfdf/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ tfjs_web_test(
107107
browsers = [
108108
# TODO: Support Safari.
109109
"bs_chrome_mac",
110-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
111-
# "bs_firefox_mac",
110+
"bs_firefox_mac",
112111
"bs_android_10",
113112
"win_10_chrome",
114113
],

tfjs-tflite/src/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ tfjs_web_test(
104104
name = "worker_test",
105105
browsers = [
106106
"bs_chrome_mac",
107-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
108-
# "bs_firefox_mac",
107+
"bs_firefox_mac",
109108
"bs_safari_mac",
110109
# Temporarily disabled because BrowserStack does not support loading
111110
# absolute paths in iOS, which is required for loading the worker.

tfjs-vis/scripts/test-ci.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ yarn run-flaky "yarn run-browserstack --browsers=bs_chrome_mac"
2626

2727
# Run the rest of the karma tests in parallel. These runs will reuse the
2828
# already downloaded binary.
29-
yarn run-flaky "yarn run-browserstack --browsers=bs_safari_mac"
30-
#npm-run-all -p -c --aggregate-output \
31-
#"run-flaky \"yarn run-browserstack --browsers=bs_safari_mac\""
32-
# TODO(mattSoulanille): Re-enable firefox once it works on browserstack.
33-
# "run-flaky \"yarn run-browserstack --browsers=bs_firefox_mac\"" \
34-
29+
npm-run-all -p -c --aggregate-output \
30+
"run-flaky \"yarn run-browserstack --browsers=bs_firefox_mac\"" \
31+
"run-flaky \"yarn run-browserstack --browsers=bs_safari_mac\""

0 commit comments

Comments
 (0)