mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
7fe2127ac2
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 |
||
---|---|---|
.. | ||
android | ||
ios | ||
locales | ||
shared |