From a76aedbbc730f4d5380ce5685e64e71f1c2c9a74 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 1 Sep 2021 16:03:34 +0200 Subject: [PATCH] Fix clicking on edited message --- .../androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt b/vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt index cb12812e83..bad5d29e06 100644 --- a/vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt +++ b/vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt @@ -235,6 +235,8 @@ class UiAllScreensSanityTest { // Wait a bit for the keyboard layout to update sleep(30) clickOn(R.id.sendButton) + // Wait for the UI to update + sleep(1000) // Open edit history longClickOnMessage("Hello universe! (edited)") clickOn(R.string.message_view_edit_history)