Skip to content

Commit ed7ed51

Browse files
authored
Build: Explicitly test on Safari 26, not latest
BrowserStack often shares the Safari version included in the next macOS release as soon as that macOS releases a public beta, but there's no indicator in the API that this Safari version is a beta, making JTR pick it up via `Safari_latest`. To avoid this issue, specify Safari versions explicitly. Fortunately, major Safari versions are only released once a year, so the list can usually be updated together with a related iOS yearly major update. Closes gh-635 Ref gh-636 Ref jquery/jquery#5857 Ref jquery/jquery#5858
1 parent 6cfb5f7 commit ed7ed51

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/browserstack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
matrix:
2929
BROWSER:
3030
- 'IE_11'
31-
- 'Safari_latest'
32-
# JTR doesn't take into account the jump from Safari 18 to 26,
33-
# so we need to specify versions explicitly.
34-
# See https://github.com/jquery/jquery-test-runner/issues/17
31+
# BrowserStack makes Safari on beta macOS versions available without marking
32+
# either the OS or the browser as beta, so we have no way to resolve "latest"
33+
# to the lastest stable version.
34+
- 'Safari_26'
3535
- 'Safari_18'
3636
- 'Chrome_latest'
3737
- 'Chrome_latest-1'

0 commit comments

Comments
 (0)