Skip to content

Commit

Permalink
Fix iOS webview test with LT
Browse files Browse the repository at this point in the history
  • Loading branch information
cwli24 committed Jan 16, 2025
1 parent ce7402e commit d80a6d8
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions tests/webview-specs/ios/index.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,7 @@ describe.withBrowsersMatching(onlyIOS)('ios webview', () => {
await driver.setClipboard(Buffer.from(url).toString('base64'), 'plaintext')
const addressBar = await $('-ios predicate string: type == "XCUIElementTypeTextField"')
await addressBar.clearValue()
await driver.touchPerform([
{
action: 'press',
options: {
element: addressBar.elementId
}
},
{
action: 'wait',
options: {
ms: 500
}
},
{
action: 'release',
options: {}
}
])
addressBar.click({ duration: 500 })
await $('-ios predicate string: type == "XCUIElementTypeMenuItem" AND label == "Paste" AND name == "Paste"')
.click()

Expand Down

0 comments on commit d80a6d8

Please sign in to comment.