cannot run it on saucelabs
shabfactor opened this issue · comments
shabfactor commented
Hi I was trying to run the code on sauce labs, i tried doing this:
created a sauce.config.ts
exports.config = {
runner: 'local',
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
sauceConnect: true,
specs: ['./specs/steps/*.ts'],
// Patterns to exclude.
exclude: [
// 'path/to/excluded/files'
],
maxInstances: 10,
capabilities: [
{ browserName: 'firefox', platform: 'Windows 10', version: '60.0' },
{ browserName: 'chrome', platform: 'OS X 10.13', version: '69.0' }
],
bail: 0,
baseUrl: 'http://localhost',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 60000
}
}
tried to include in index.ts
export const config = {
runner: 'local',
baseUrl: 'http://localhost',
framework: 'cucumber',
maxInstances: process.env.DEBUG_TESTS === 'true' ? 1 : 2,
capabilities: [
capabilitiesChromeConfig,
capabilitiesFirefoxConfig,
],
services: [],
...serverConfig,
...testsConfig,
...loggingConfig,
...reportingConfig,
...hooksConfig,
...sauceConfig,
};
Then installed the sauce dependencies and tried to run it but gives error.
Error:
webdriver: Request failed due to Error: write EPROTO SSL routines:ssl3_get_record:wrong version number