fix:[iOS 17+] Appium should not overrride sauce:options cap with prefix #5202
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation/Description of the PR
Appium: {
"appiumV2": true,
"protocol": "https",
"host": "ondemand.eu-central-1.saucelabs.com",
"region": "eu",
"port": 443,
"path": "/wd/hub",
"user": "mikhail.yesipchuk",
"key": "...",
"waitForTimeout": 5000,
"smartWait": 3000,
"app": "storage:filename=.ipa",
"platform": "iOS",
"restart": false,
"reuseSession": false,
"desiredCapabilities": {
"platformName": "iOS",
"appium:app": "storage:filename=.ipa",
"appium:automationName": "XCUITest",
"appium:platformVersion": "18",
"appium:deviceName": "iPhone 1.*",
"appium:language": "en",
"appium:locale": "en_GB",
"sauce:options": {
"name": "Mobile Automation Test - iOS",
"appiumVersion": "latest",
"phoneOnly": true,
"networkCapture": false,
},
"appium:noReset": true,
"appium:fullReset": false,
"appium:waitForIdleTimeout": 0,
"appium:newCommandTimeout": 90,
"appium:autoAcceptAlerts": true,
"appium:useNewWDA": false
}
}
Note: issue happens after update wdio from v8 to v9
Applicable helpers:
Type of change
Checklist:
npm run docs
)npm run lint
)npm test
)Test run:
220 passing (4m)
1 pending
1 failing
should run tests with pool mode:
Uncaught Error: expect(received).toContain(expected) // indexOf
Expected substring: "Scenario Steps:"
Received string: "CodeceptJS v3.7.5 #StandWithUkraine