-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Update karma so we can remove Safari workaround #16743
Conversation
edabbb0
to
fb649c1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
276f55a
to
5a3108a
Compare
with the update, Safari 10 fails every time ... |
5a3108a
to
1176d17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Magnifique!
6c5050e
to
14fc726
Compare
karma-shared.conf.js
Outdated
version: 'latest-1' | ||
}, | ||
'SL_Safari': { | ||
base: 'SauceLabs', | ||
browserName: 'safari', | ||
platform: 'OS X 10.12', | ||
platform: 'OS X 10.13', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may start failing soon as Safari 12 might only be available in Mojave (that's how it is in BrowserStack, for example) - i.e. 10.14
. Do we have to specify the platform? If the answer's yes, maybe Safari cannot really be used as latest
& latest-1
versions...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same remark applies to iOS BTW.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When it starts to fail, we can update it. But I can also try it without the explicit platform.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last commit looks good
98650b4
to
eb37e2d
Compare
This allows us to remove the workaround added in angular#16645
This reverts commit 6b915ad. Karma has this workaround built in since 3.1.0: karma-runner/karma@873e4f9
Safari 10 does not finish the tests, but Safari 11 and 12 do
They take a lot of time since we created different karma jobs for them
b1294c2
to
349e13f
Compare
349e13f
to
a376a0f
Compare
caed010
to
74d9745
Compare
012a982
to
f4fc3f5
Compare
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements
Other information: