Hello,
I’m trying to use LamdaTest to run automation webdriverIO. I am running into an issue:
A "user" or "key" was provided but could not be connected to a known cloud service (Sauce Labs, Browerstack or Testingbot). Please check if given user and key properties are correct!
this is my config file
exports.config = {
specs: [
'features/runfolder/**.feature'
],
maxInstances: 10,
capabilities: [{
deviceName: "Galaxy S10",
isRealMobile: "true",
platformVersion: "9",
//app: "bs://aa6bf63fdca3780840156ce01cc8bdc895e89cd6",
app: 'APP10020521641393778397632',
platform : "Android", // OS platform
acceptInsecureCerts: true,
autoGrantPermissions: true,
}],
logLevel: 'info',
bail: 0,
baseUrl: 'http://localhost',
waitforTimeout: 10000,
connectionRetryTimeout: 120000,
connectionRetryCount: 1,
user: 'duong.tran2',
key: '***',
services: [
['lambdatest', {
tunnel: false
}]
],
framework: 'cucumber',
reporters: [
'spec',
[ 'cucumberjs-json', {
jsonFolder: '.tmp/new/android/',
language: 'en',
},
],
],
cucumberOpts: {
require: [
'./stepDefinitions/**/*.js'
],
backtrace: false,
requireModule: [],
dryRun: false,
failFast: false,
format: ['pretty'],
snippets: true,
source: true,
profile: [],
strict: false,
tagExpression: '',
timeout: 60000,
ignoreUndefinedDefinitions: false
},
}
I am sure that my user
and key
are correct. Thank you for help.