Skip to content

Commit

Permalink
try to fix timing issue on ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight committed Feb 20, 2025
1 parent a36c160 commit e5ddb14
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Samples/iOS-Swift/iOS-Swift-UITests/UserFeedbackUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ extension UserFeedbackUITests {
try assertHookMarkersNotExist()

widgetButton.tap()

XCTAssert(nameField.waitForExistence(timeout: 1))
try assertOnlyHookMarkersExist(names: [.onFormOpen])

Expand Down Expand Up @@ -184,7 +183,6 @@ extension UserFeedbackUITests {
try assertHookMarkersNotExist()

widgetButton.tap()

XCTAssert(nameField.waitForExistence(timeout: 1))
try assertOnlyHookMarkersExist(names: [.onFormOpen])

Expand Down Expand Up @@ -248,7 +246,7 @@ extension UserFeedbackUITests {
try assertHookMarkersNotExist()

widgetButton.tap()

XCTAssert(sendButton.waitForExistence(timeout: 1))
try assertOnlyHookMarkersExist(names: [.onFormOpen])

messageTextView.tap()
Expand Down Expand Up @@ -279,7 +277,7 @@ extension UserFeedbackUITests {
try assertHookMarkersNotExist()

widgetButton.tap()

XCTAssert(sendButton.waitForExistence(timeout: 1))
try assertOnlyHookMarkersExist(names: [.onFormOpen])

messageTextView.tap()
Expand Down Expand Up @@ -316,7 +314,7 @@ extension UserFeedbackUITests {
try assertHookMarkersNotExist()

widgetButton.tap()

XCTAssert(sendButton.waitForExistence(timeout: 1))
try assertOnlyHookMarkersExist(names: [.onFormOpen])

messageTextView.tap()
Expand Down

0 comments on commit e5ddb14

Please sign in to comment.