Skip to content

Commit 680b973

Browse files
Updated the Restart Conversation Automation
1 parent b87a787 commit 680b973

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Example/Kommunicate_ExampleUITests/KommunicateResolveAndAssignmentUITests.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ class KommunicateResolveAndAssignmentUITests: XCTestCase {
4141
func testRestartConversation () {
4242
let app = beforeTest_Launch_NewConversation()
4343
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()
4449
app.typeText(GroupData.typeText) // typing message
4550
app.buttons[InAppButton.ConversationScreen.send].tap() // sending message in group
4651
sleep(3) /// To wait for response
@@ -75,8 +80,7 @@ class KommunicateResolveAndAssignmentUITests: XCTestCase {
7580
sleep(2)
7681

7782
app.buttons[InAppButton.ConversationScreen.restartConversation].tap()
78-
79-
let inputView = app.otherElements[AppScreen.chatBar].children(matching: .textView).matching(identifier: AppTextFeild.chatTextView).firstMatch
83+
8084
waitFor(object: inputView) { $0.exists }
8185
inputView.tap()
8286
inputView.tap()

0 commit comments

Comments
 (0)