diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/ReaderViewTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/ReaderViewTest.kt index d7e0c50b8a..c8ed918291 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/ReaderViewTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/ReaderViewTest.kt @@ -119,12 +119,14 @@ class ReaderViewTest { navigationToolbar { verifyReaderViewDetected(true) toggleReaderView() + mDevice.waitForIdle() }.openThreeDotMenu { verifyReaderViewAppearance(true) }.closeBrowserMenuToBrowser { } navigationToolbar { toggleReaderView() + mDevice.waitForIdle() }.openThreeDotMenu { verifyReaderViewAppearance(false) }.close { } @@ -150,6 +152,7 @@ class ReaderViewTest { navigationToolbar { verifyReaderViewDetected(true) toggleReaderView() + mDevice.waitForIdle() }.openThreeDotMenu { verifyReaderViewAppearance(true) }.openReaderViewAppearance { @@ -185,6 +188,7 @@ class ReaderViewTest { navigationToolbar { verifyReaderViewDetected(true) toggleReaderView() + mDevice.waitForIdle() }.openThreeDotMenu { verifyReaderViewAppearance(true) }.openReaderViewAppearance { @@ -226,6 +230,7 @@ class ReaderViewTest { navigationToolbar { verifyReaderViewDetected(true) toggleReaderView() + mDevice.waitForIdle() }.openThreeDotMenu { verifyReaderViewAppearance(true) }.openReaderViewAppearance { diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt index 86fc7b2860..a25b9421ea 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt @@ -1144,6 +1144,7 @@ class SmokeTest { navigationToolbar { verifyReaderViewDetected(true) toggleReaderView() + mDevice.waitForIdle() }.openThreeDotMenu { verifyReaderViewAppearance(true) }.openReaderViewAppearance {