Open Bug 1909187 Opened 2 months ago

Re-enable org.mozilla.fenix.ui.BookmarksTest#deleteBookmarkInEditModeTest

Categories

(Fenix :: UI Tests, task)

All
Android
task

Tracking

(Not tracked)

People

(Reporter: petru, Unassigned)

References

Details

Attachments

(1 file)

Following a snackbars refactoring in from bug 1892762 the deleteBookmarkInEditModeTest started to fail in CI although if looking at how the test runs or trying the same scenario manually everything seems as expected (see the attached recording of the test run).

I tried various updates to get the test to pass but to no avail.
Since the refactoring has to happen for helping complete a new Fenix feature and in manual tests everything looks as expected I will disable said test until it can be updated to pass (synced with :Andi about this).

Stacktrace from failed test:

TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.BookmarksTest#deleteBookmarkInEditModeTest | androidx.test.espresso.PerformException: Error performing 'single click - At Coordinates: 881, 1004 and precision: 16, 16' on view 'an instance of android.widget.TextView and view.getText() equals string from resource id: <2131952025> [delete_browsing_data_prompt_allow] value: Delete'.
at androidx.test.espresso.PerformException$Builder.build(PerformException.java:86)
at androidx.test.espresso.base.PerformExceptionHandler.handleSafely(PerformExceptionHandler.java:56)
at androidx.test.espresso.base.PerformExceptionHandler.handleSafely(PerformExceptionHandler.java:31)
at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)
at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)
at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:385)
at androidx.test.espresso.ViewInteraction.desugaredPerform(ViewInteraction.java:212)
at androidx.test.espresso.ViewInteraction.perform(ViewInteraction.java:140)
at org.mozilla.fenix.helpers.ViewInteractionKt.click(ViewInteraction.kt:18)
at org.mozilla.fenix.ui.robots.BookmarksRobot.confirmDeletion(BookmarksRobot.kt:376)
at org.mozilla.fenix.ui.BookmarksTest$deleteBookmarkInEditModeTest$5.invoke(BookmarksTest.kt:561)
at org.mozilla.fenix.ui.BookmarksTest$deleteBookmarkInEditModeTest$5.invoke(BookmarksTest.kt:557)
at org.mozilla.fenix.ui.robots.ThreeDotMenuBookmarksRobot$Transition.clickEdit(ThreeDotMenuBookmarksRobot.kt:28)
at org.mozilla.fenix.ui.BookmarksTest.deleteBookmarkInEditModeTest(BookmarksTest.kt:557)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: