Skip to content

Commit

Permalink
test: add safari to the Sauce Labs
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Jan 22, 2021
1 parent a5ab023 commit da83412
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BUILD
Expand Up @@ -196,7 +196,7 @@ karma_test(
"start",
"$(rootpath //:karma.conf.js)",
"--browsers",
"sl_edge,sl_chrome,sl_firefox,sl_ie_11",
"sl_edge,sl_chrome,sl_firefox,sl_ie_11,sl_safari",
] + ["$$(rlocation $(locations %s))" % f for f in KARMA_TESTS],
)

Expand Down
9 changes: 5 additions & 4 deletions karma.conf.js
Expand Up @@ -6,10 +6,11 @@ module.exports = function (config) {
// Check out https://saucelabs.com/platforms for all browser/OS combos
const customLaunchers = {
// Sauce Labs keeps failing to get a safari instance
// sl_safari: {
// base: 'SauceLabs',
// browserName: 'safari',
// },
sl_safari: {
base: 'SauceLabs',
browserName: 'safari',
version: '12',
},
sl_edge: {
base: 'SauceLabs',
browserName: 'MicrosoftEdge',
Expand Down

0 comments on commit da83412

Please sign in to comment.