Skip to content

Commit e744307

Browse files
Fix iOS and macOS Safari CI Failures (#6608)
Update iOS from 11 to 12.3. Remove #/usr/bin/env node from test_async_backends.ts Disable iOS worker tests, which need to load absolute URLs (unsupported in BrowserStack right now). Fixes #6598
1 parent b0c26ed commit e744307

File tree

19 files changed

+27
-22
lines changed

19 files changed

+27
-22
lines changed

BAZEL_MIGRATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ tfjs_web_test(
210210
"bs_chrome_mac",
211211
"bs_firefox_mac",
212212
"bs_safari_mac",
213-
"bs_ios_11",
213+
"bs_ios_12",
214214
"bs_android_9",
215215
"win_10_chrome",
216216
],

e2e/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ module.exports = function(config) {
169169
os: 'OS X',
170170
os_version: 'High Sierra'
171171
},
172-
bs_ios_11: {
172+
bs_ios_12: {
173173
base: 'BrowserStack',
174174
device: 'iPhone X',
175175
os: 'iOS',

e2e/script_tag_tests/tfjs-core-cpu/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ module.exports = function(config) {
9797
os: 'OS X',
9898
os_version: 'High Sierra'
9999
},
100-
bs_ios_11: {
100+
bs_ios_12: {
101101
base: 'BrowserStack',
102102
device: 'iPhone X',
103103
os: 'iOS',

e2e/script_tag_tests/tfjs/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module.exports = function(config) {
8989
os: 'OS X',
9090
os_version: 'High Sierra'
9191
},
92-
bs_ios_11: {
92+
bs_ios_12: {
9393
base: 'BrowserStack',
9494
device: 'iPhone X',
9595
os: 'iOS',

e2e/scripts/test-ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fi
6060
if [[ "$NIGHTLY" = true || "$RELEASE" = true ]]; then
6161
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_safari_mac --tags '$TAGS' --testEnv webgl --flags '{"\""WEBGL_VERSION"\"": 1, "\""WEBGL_CPU_FORWARD"\"": false, "\""WEBGL_SIZE_UPLOAD_UNIFORM"\"": 0}'"
6262

63-
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_ios_11 --tags '$TAGS' --testEnv webgl --flags '{"\""WEBGL_VERSION"\"": 1, "\""WEBGL_CPU_FORWARD"\"": false, "\""WEBGL_SIZE_UPLOAD_UNIFORM"\"": 0}'"
63+
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_ios_12 --tags '$TAGS' --testEnv webgl --flags '{"\""WEBGL_VERSION"\"": 1, "\""WEBGL_CPU_FORWARD"\"": false, "\""WEBGL_SIZE_UPLOAD_UNIFORM"\"": 0}'"
6464

6565
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_firefox_mac --tags '$TAGS'"
6666
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_chrome_mac --tags '$TAGS'"

tfjs-automl/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = function(config) {
106106
os: 'OS X',
107107
os_version: 'High Sierra'
108108
},
109-
bs_ios_11: {
109+
bs_ios_12: {
110110
base: 'BrowserStack',
111111
device: 'iPhone X',
112112
os: 'iOS',

tfjs-backend-wasm/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ tfjs_web_test(
153153
"bs_chrome_mac",
154154
"bs_firefox_mac",
155155
"bs_safari_mac",
156-
"bs_ios_11",
156+
"bs_ios_12",
157157
# TODO(mattsoulanille): Fix clipByValue on Android.
158158
# "bs_android_9",
159159
"win_10_chrome",

tfjs-backend-wasm/scripts/test-ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if [ "$NIGHTLY" = true ]; then
1717
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_firefox_mac"
1818
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_chrome_mac"
1919
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=win_10_chrome"
20-
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_ios_11"
20+
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_ios_12"
2121
else
2222
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_chrome_mac"
2323
fi

tfjs-backend-webgl/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ tfjs_web_test(
126126
],
127127
browsers = [
128128
"bs_safari_mac",
129-
"bs_ios_11",
129+
"bs_ios_12",
130130
],
131131
headless = False,
132132
static_files = STATIC_FILES,

tfjs-backend-webgl/scripts/test-ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
set -e
1818

1919
if [ "$NIGHTLY" = true ]; then
20-
node ../scripts/run_flaky.js "yarn run-browserstack --browsers='bs_safari_mac,bs_ios_11' --testEnv webgl1"
20+
node ../scripts/run_flaky.js "yarn run-browserstack --browsers='bs_safari_mac,bs_ios_12' --testEnv webgl1"
2121
node ../scripts/run_flaky.js "yarn run-browserstack --browsers='bs_firefox_mac,bs_chrome_mac'"
2222
node ../scripts/run_flaky.js "yarn run-browserstack --browsers='win_10_chrome,bs_android_9' --testEnv webgl2"
2323
node ../scripts/run_flaky.js "yarn run-browserstack --browsers=bs_chrome_mac --testEnv webgl2 --flags '{"\""WEBGL_PACK"\"": false}'"

0 commit comments

Comments
 (0)