@@ -32,7 +32,7 @@ class UserFlowTests: XCTestCase {
32
32
private func checkRoomFlows( ) {
33
33
// Search for the special test room
34
34
let searchField = app. searchFields. firstMatch
35
- searchField. clearAndTypeText ( Self . integrationTestsRoomName)
35
+ searchField. clearAndTypeText ( Self . integrationTestsRoomName, app : app )
36
36
37
37
// And open it
38
38
let firstRoom = app. buttons. matching ( NSPredicate ( format: " identifier CONTAINS %@ " , Self . integrationTestsRoomName) ) . firstMatch
@@ -63,7 +63,7 @@ class UserFlowTests: XCTestCase {
63
63
private func sendMessages( ) {
64
64
var composerTextField = app. textViews [ A11yIdentifiers . roomScreen. messageComposer] . firstMatch
65
65
XCTAssertTrue ( composerTextField. waitForExistence ( timeout: 10.0 ) )
66
- composerTextField. clearAndTypeText ( Self . integrationTestsMessage)
66
+ composerTextField. clearAndTypeText ( Self . integrationTestsMessage, app : app )
67
67
68
68
var sendButton = app. buttons [ A11yIdentifiers . roomScreen. sendButton] . firstMatch
69
69
XCTAssertTrue ( sendButton. waitForExistence ( timeout: 10.0 ) )
@@ -77,7 +77,7 @@ class UserFlowTests: XCTestCase {
77
77
78
78
composerTextField = app. textViews [ A11yIdentifiers . roomScreen. messageComposer] . firstMatch
79
79
XCTAssertTrue ( composerTextField. waitForExistence ( timeout: 10.0 ) )
80
- composerTextField. clearAndTypeText ( Self . integrationTestsMessage)
80
+ composerTextField. clearAndTypeText ( Self . integrationTestsMessage, app : app )
81
81
82
82
sendButton = app. buttons [ A11yIdentifiers . roomScreen. sendButton] . firstMatch
83
83
XCTAssertTrue ( sendButton. waitForExistence ( timeout: 10.0 ) )
0 commit comments