File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Example/Kommunicate_ExampleUITests Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ class KommunicateResolveAndAssignmentUITests: XCTestCase {
41
41
func testRestartConversation ( ) {
42
42
let app = beforeTest_Launch_NewConversation ( )
43
43
waitFor ( object: app) { $0. exists }
44
+ let inputView = app. otherElements [ AppScreen . chatBar] . children ( matching: . textView) . matching ( identifier: AppTextFeild . chatTextView) . firstMatch
45
+ waitFor ( object: inputView) { $0. exists }
46
+ inputView. tap ( )
47
+ inputView. tap ( )
48
+ inputView. tap ( )
44
49
app. typeText ( GroupData . typeText) // typing message
45
50
app. buttons [ InAppButton . ConversationScreen. send] . tap ( ) // sending message in group
46
51
sleep ( 3 ) /// To wait for response
@@ -75,8 +80,7 @@ class KommunicateResolveAndAssignmentUITests: XCTestCase {
75
80
sleep ( 2 )
76
81
77
82
app. buttons [ InAppButton . ConversationScreen. restartConversation] . tap ( )
78
-
79
- let inputView = app. otherElements [ AppScreen . chatBar] . children ( matching: . textView) . matching ( identifier: AppTextFeild . chatTextView) . firstMatch
83
+
80
84
waitFor ( object: inputView) { $0. exists }
81
85
inputView. tap ( )
82
86
inputView. tap ( )
You can’t perform that action at this time.
0 commit comments