Skip to content

Commit 3c4e2c5

Browse files
author
Alexey Alter-Pesotskiy
committed
Test helpers function was renamed
1 parent 97c669e commit 3c4e2c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StreamChatSwiftUITestsAppTests/Robots/UserRobot+Asserts.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ extension UserRobot {
395395

396396
@discardableResult
397397
func assertSendButtonIsNotShown(file: StaticString = #filePath, line: UInt = #line) -> Self {
398-
XCTAssertFalse(MessageListPage.Composer.sendButton.waitForLoss().exists)
398+
XCTAssertFalse(MessageListPage.Composer.sendButton.waitForDisappearance().exists)
399399
return self
400400
}
401401
}
@@ -412,7 +412,7 @@ extension UserRobot {
412412
let messageCell = messageCell(withIndex: messageCellIndex, file: file, line: line)
413413
let reaction = attributes.reactionButton(in: messageCell)
414414
let errMessage = isPresent ? "There are no reactions" : "Reaction is presented"
415-
_ = isPresent ? reaction.wait() : reaction.waitForLoss()
415+
_ = isPresent ? reaction.wait() : reaction.waitForDisappearance()
416416
XCTAssertEqual(isPresent, reaction.exists, errMessage, file: file, line: line)
417417
return self
418418
}

0 commit comments

Comments
 (0)