Skip to content

Commit

Permalink
Fix sauce labs testing locally
Browse files Browse the repository at this point in the history
  • Loading branch information
kimmobrunfeldt committed May 11, 2020
1 parent 6bd79b0 commit 05ee011
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# Fill these if you run Sauce Labs tests locally.
export SAUCE_USERNAME=
export SAUCE_ACCESS_KEY=
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ module.exports = function(config) {
singleRun: true,

sauceLabs: {
startConnect: false,
startConnect: true,
testName: 'ProgressBar.js',
build: process.env.TRAVIS_BUILD_NUMBER || 'manual',
tunnelIdentifier: process.env.TRAVIS_BUILD_NUMBER || 'autoGeneratedTunnelID',
tunnelIdentifier: process.env.TRAVIS_BUILD_NUMBER,
recordVideo: true
},

Expand Down
12 changes: 6 additions & 6 deletions saucelabs-browsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ module.exports = {
sauce_chrome: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'OS X 10.9',
version: '60'
platform: 'macOS 10.15',
version: 'latest'
},

// Safari
sauce_safari: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.12',
version: '11'
platform: 'macOS 10.15',
version: 'latest'
},

// Firefox
sauce_firefox: {
base: 'SauceLabs',
browserName: 'firefox',
platform: 'Windows 10',
version: '55'
version: 'latest'
},

// Internet explorer
Expand All @@ -46,6 +46,6 @@ module.exports = {
base: 'SauceLabs',
browserName: 'MicrosoftEdge',
platform: 'Windows 10',
version: '20.10240'
version: 'latest'
},
};

0 comments on commit 05ee011

Please sign in to comment.