Hi all,
I have an app automation using webdriverIO + appium and I am using wdio-lambdatest-service to communicate with your platform in order to run the tests in your devices. My integration was working correctly with the next dependencies:
“devDependencies”: { “@types/jsdom”: “21.1.7”, “@wdio/appium-service”: “^8.39.0”, “@wdio/cli”: “^8.39.0”, “@wdio/local-runner”: “^8.39.0”, “@wdio/mocha-framework”: “^8.39.0”, “@wdio/spec-reporter”: “^8.39.0”, “appium”: “^2.11.1”, “appium-uiautomator2-driver”: “^3.7.0”, “appium-xcuitest-driver”: “^7.21.2”, “jsdom”: “24.1.0”, “mailosaur”: “^8.6.1”, “ts-node”: “^10.9.2”, “typescript”: “^5.5.2”, “wdio-lambdatest-service”: “^3.0.0” },
The capabilities I used were: capabilities: [ { “appium:platformName”: “ios”, “appium:deviceName”: “iPhone ([7-9])“, “appium:platformVersion”: "1*.", (two asterisks to set the minor version, the second is not pasted here for some reason) “appium:app”: “appium:app”:“lt://APP10*****“, (id of my uploaded app) “appium:isRealMobile”: true, “appium:build”: ‘Name of my build id’, “appium:name”: “automation - ios”, “appium:automationName”: “XCUITest”, },
Now I am updating my dependencies to the latests versions: “devDependencies”: { “@types/jsdom”: “21.1.7”, “@wdio/appium-service”: “9.2.1”, “@wdio/cli”: “9.2.1”, “@wdio/local-runner”: “9.2.1”, “@wdio/mocha-framework”: “9.1.3”, “@wdio/spec-reporter”: “9.1.3”, “appium”: “2.11.5”, “appium-uiautomator2-driver”: “3.8.0”, “appium-xcuitest-driver”: “7.27.1”, “jsdom”: “25.0.1”, “mailosaur”: “8.7.0”, “typescript”: “5.6.3”, “wdio-lambdatest-service”: “3.0.1” },
And I have set the same capabilities. The tests are working if I run them in local, but if I execute them in the CI using the lambdatest integration, they fail with this error: [0-0] 2024-10-22T10:45:32.617Z ERROR webdriver: WebDriverError: An unknown server-side error occurred while processing the command. Original error: ‘1*.’ does not exist in the list of simctl SDKs. Only the following Simulator SDK versions are available on your system: 14.5, 15.5, 15.4, 16.4, 17.4, 17.2, 15.0, 17.0, 16.0, 16.1, 16.2 when running “http://127.0.0.1:4727/session” with method “POST” and args “{”capabilities”:{“alwaysMatch”:{“appium:platformName”:“ios”,“appium:deviceName”:“iPhone ([7-9])“,”appium:platformVersion”:“1.*“,”appium:app”:“lt://APP10160471311729593923017506”,“appium:isRealMobile”:true,“appium:build”:“ios e2e tests execution - Codemagic build 67178188d1a257bd2b224c9c”,“appium:name”:“automation - ios”,“appium:automationName”:“XCUITest”},“firstMatch”:[{}]}}”
If I try to avoid the error setting a specific value for the capabilities: “appium:platformVersion”: “16.3", “appium:deviceName”: “iPhone 8", }, then I have the next error (I mask some ids):
[0-0] 2024-10-22T12:58:21.527Z ERROR webdriver: WebDriverError: An unknown server-side error occurred while processing the command. Original error: The protocol ‘lt:’ used in ‘/Users/builder/clone/test_appium/lt:/APP1016***’ is not supported. Only http: and https: protocols are supported when running “http://127.0.0.1:4727/session” with method “POST” and args “{”capabilities”:{“alwaysMatch”:{“appium:platformName”:“ios”,“appium:deviceName”:“iPhone 8”,“appium:platformVersion”:“16.4”,“appium:app”:“lt://APP1016*****“,”appium:isRealMobile”:true,“appium:build”:“ios e2e tests execution - Codemagic build ****“,”appium:name”:“automation - ios”,“appium:automationName”:“XCUITest”},“firstMatch”:[{}]}}”
My guess is that it is related with the dependencies update, but any help would be appreciated