2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/9188: wait for page load in Reader mode

This commit is contained in:
Oana Horvath 2021-01-27 17:28:17 +02:00
parent 2f2945d523
commit cd131a47d2
2 changed files with 6 additions and 0 deletions

View File

@ -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 {

View File

@ -1144,6 +1144,7 @@ class SmokeTest {
navigationToolbar {
verifyReaderViewDetected(true)
toggleReaderView()
mDevice.waitForIdle()
}.openThreeDotMenu {
verifyReaderViewAppearance(true)
}.openReaderViewAppearance {