Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Nov 28, 2024
1 parent 9350093 commit 276bb63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions StreamChatUITestsAppUITests/Robots/UserRobot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ extension UserRobot {
func clearComposer() -> Self {
if !composer.textView.text.isEmpty {
composer.inputField.tap()
if !composer.selectAllButton.waitForExistence(timeout: 1) {
composer.inputField.tap()
}
composer.selectAllButton.wait().safeTap()
composer.inputField.typeText(XCUIKeyboardKey.delete.rawValue)
}
Expand Down

0 comments on commit 276bb63

Please sign in to comment.