gecko-dev/mobile
AndiAJ 7fe2127ac2 Bug 1932513 - Fix crashing redesigned toolbar related UI tests r=ohorvath,aaronmt
The were 4 UI tests which use the redesigned toolbar that started to fail all of a sudden after [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1908330 | this ]] change landed.

The problem was caused by the fact that the UI test were launched with the redesigned toolbar being **disabled** and after the tests were actually launched the feature was disabled using the applySettingsExceptions function.
Because of this, the layout of the toolbar was in a "weird" state, crashing the app.

To overcome this problem, I've updated the composeTestRule in both HomeScreenWithNavbarTest and TabbedBrowsingWithNavbarTest to enable the feature right from the beginning.
I've also had to create a diffrent function to open the tab tray and use it in tabsCounterShortcutMenuOptionFromNavbarInPrivateModeTest and verifyPrivateTabsTrayWithOpenTabFromNavbarTest UI tests.

All UI tests from TabbedBrowsingWithNavbarTest and HomeScreenWithNavbarTest successfully passed 3x on Firebase 

Differential Revision: https://phabricator.services.mozilla.com/D229762
2024-11-21 13:03:34 +00:00
..
android Bug 1932513 - Fix crashing redesigned toolbar related UI tests r=ohorvath,aaronmt 2024-11-21 13:03:34 +00:00
ios Bug 1921333 - Part 1: Add MOZ_GECKOVIEW define, and "iOS" platform, r=glandium,geckoview-reviewers,owlish 2024-11-01 21:19:20 +00:00
locales no bug - Bumping Mobile l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE 2024-11-21 07:05:18 +00:00
shared Bug 1929002 - Correct extension-specific globals in eslintrc r=geckoview-reviewers,frontend-codestyle-reviewers,Standard8 2024-11-07 18:34:00 +00:00