-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Expected Behavior
Expected Android Real device testing to report success in the en.
Actual Behavior
After saucelab succeds with job on real android device, the console stucks in infinite loop.
After debug I see that, the url should be of an available job instead. The saucelab class SauceLab._get on
throw new Error(Failed calling ${propName}: ${err.message}, ${err.response && err.response.body}); catches an failed request error.
Details of the requst of console.log({ method, uri, body }) before that line are for example:
{
method: 'put',
uri: 'https://api.us-west-1.saucelabs.com/rest/v1/username/jobs/5e69e7ae-7f29-4fc0-b4e3-a3b9019ce5d1',
body: {
id: '5e69e7ae-7f29-4fc0-b4e3-a3b9019ce5d1',
passed: true,
'custom-data': BrowserResult {
startTime: 1708902358057,
total: 399,
success: 398,
failed: 0,
skipped: 1,
totalTime: 9596,
netTime: 9362,
error: false,
disconnected: false
}
}
}
The body.id is a faulty one, it should be:a999b57568ab4f44839858e8b879675f. Endpoint responsds with 404 and then karma-sauce-launcher keeps spamming to check the log if any updates did happen… (which is another problem)
It only happens when I am testing real andorid deivces even with latest saucelabs npm package!
Steps to Reproduce the Problem
-
use
karma-sauce-launcherlatest -
apply
package.json:overridesproperty if necessary to set different versions of webdriver/ioFor example in my case I did:
```
"overrides": {
"webdriver": "^8.32.3",
"webdriverio": "^8.32.3",
"saucelabs": "^4.7.8",
// or use latest, same result tried both
"saucelabs": "^7.5.0",
},
```
- setup for karma sauce launcher such browser capability
android: {
base: 'SauceLabs',
platformName: 'Android',
browserName: 'Chrome',
deviceName: 'Samsung Galaxy S21 5G',
version: '13.0',
automationName: 'UiAutomator2',
}
```
## Specifications
- Version: latest
- Platform: MacOS 13
- Subsystem: node v20