Skip to content

Commit

Permalink
Fix MTE-2876 - testCopyMenuItem test (#20391)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosb01 committed May 23, 2024
1 parent d0d8c24 commit f30d2a0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions focus-ios/focus-ios-tests/XCUITest/CopyPasteTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,10 @@ class CopyPasteTest: BaseTestCase {
app.menuItems["Copy"].tap()
waitForNoExistence(app.menuItems["Copy"])

loadWebPage("bing.com")
loadWebPage("mozilla.org")
waitForWebPageLoad()
urlBarTextField.tap()
urlBarTextField.press(forDuration: 2)
waitForExistence(app.collectionViews.menuItems.firstMatch)
waitForHittable(app.buttons["Forward"].firstMatch)
app.buttons["Forward"].firstMatch.tap()
if !iPad() {
waitForExistence(app.collectionViews.menuItems.firstMatch)
waitForHittable(app.buttons["Forward"].firstMatch)
app.buttons["Forward"].firstMatch.tap()
}
waitForExistence(app.collectionViews.menuItems.firstMatch)
waitForHittable(app.menuItems["Paste & Go"])
app.menuItems["Paste & Go"].tap()

Expand Down

0 comments on commit f30d2a0

Please sign in to comment.