Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ jobs:
region: us-west-1
tunnelName: ${{ env.SAUCE_TUNNEL_IDENTIFIER }}
proxyLocalhost: allow
# By default we disable SSL bumping for all requests. This is because SSL bumping is not needed
# for our test setup and in order to perform the SSL bumping, Saucelabs intercepts all HTTP
# requests in the tunnel VM and modifies them. This can cause flakiness as it makes all requests
# dependent on the SSL bumping middleware.
# See: https://wiki.saucelabs.com/display/DOCS/Troubleshooting+Sauce+Connect#TroubleshootingSauceConnect-DisablingSSLBumping
tlsPassthroughDomains: all
- name: Run E2E Browser tests
env:
SAUCE_USERNAME: ${{ vars.SAUCE_USERNAME }}
Expand Down
22 changes: 4 additions & 18 deletions tests/e2e/assets/protractor-saucelabs.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,10 @@ exports.config = {
specs: ['./src/**/*.e2e-spec.ts'],

// NOTE: https://saucelabs.com/products/platform-configurator can be used to determine configuration values
multiCapabilities: capabilities.map((caps) => {
const config = {
...caps,
browserVersion: caps.version,
platformName: caps.platform,
};

if (tunnelIdentifier) {
return {
...config,
'sauce:options': {
tunnelName: tunnelIdentifier,
},
};
}

return config;
}),
multiCapabilities: capabilities.map((caps) => ({
...caps,
tunnelIdentifier,
})),

// Only allow one session at a time to prevent over saturation of Saucelabs sessions.
maxSessions: 1,
Expand Down
Loading