integration tests: support for the bottom sheet

This commit is contained in:
Mauro Romito
2025-05-20 13:17:02 +02:00
committed by Mauro
parent a618f140ed
commit 18519c15dd
3 changed files with 11 additions and 0 deletions
@@ -193,6 +193,11 @@ class UserFlowTests: XCTestCase {
XCTAssertTrue(firstRoomMember.waitForExistence(timeout: 1000.0))
firstRoomMember.tap(.center)
// Open the profile from the bottom sheet
let viewProfileButton = app.buttons[A11yIdentifiers.manageRoomMemberSheet.viewProfile]
XCTAssertTrue(viewProfileButton.waitForExistence(timeout: 10.0))
tapOnButton(A11yIdentifiers.manageRoomMemberSheet.viewProfile, waitForDisappearance: true)
// Go back to the room member details
tapOnBackButton("People")