Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
test: updating SL configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodek committed Dec 23, 2019
1 parent b308f3c commit 3c6ee8a
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions karma.sl.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,20 @@ const slSettings = require('@advanced-rest-client/testing-karma-sl/sl-settings.j
const createBaseConfig = require('./karma.conf.js');

module.exports = (config) => {
const cnf = slSettings();
cnf.sauceLabs.testName = 'files-payload-editor';
cnf.browsers = [
const slConfig = merge(slSettings(config), {
sauceLabs: {
testName: 'arc-request-logic',
},
});
slConfig.browsers = [
'SL_Chrome',
'SL_Chrome-1',
'SL_Firefox',
'SL_Firefox-1',
'SL_Safari',
'SL_EDGE'
'SL_Safari-1',
// 'SL_EDGE',
];
if (process.env.TRAVIS) {
const buildLabel = 'TRAVIS #' + process.env.TRAVIS_BUILD_NUMBER + ' (' + process.env.TRAVIS_BUILD_ID + ')';

cnf.browserStack = {
build: buildLabel,
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER
};

cnf.sauceLabs.build = buildLabel;
cnf.sauceLabs.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER;
}

config.set(merge(createBaseConfig(config), cnf));

config.set(merge(createBaseConfig(config), slConfig));
return config;
};

0 comments on commit 3c6ee8a

Please sign in to comment.