Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot run it on saucelabs #23

Open
shabfactor opened this issue Dec 22, 2020 · 0 comments
Open

cannot run it on saucelabs #23

shabfactor opened this issue Dec 22, 2020 · 0 comments

Comments

@shabfactor
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant