Closed Bug 2057419 Opened 1 month ago Closed 1 month ago

Bug 2057419 - [efficiency] Convert expanded-toolbar main-menu/tab-tray smoke tests to ui/efficiency

Categories

(Firefox for Android :: UI Tests, task)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: jajohnson, Assigned: jajohnson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Ports two NavigationToolbarExpandedTest smoke tests into the efficiency ToolbarTest:

  • verifyTheExpandedToolbarMainMenuButtonTest: load a page, open the main menu, verify the
    browser-view main-menu items (browserViewMainMenuItems group). TestRail 3333215.
  • verifyTheExpandedToolbarTabTrayButtonTest: load a page, open the tab tray, verify the open tab.
    TestRail 3333214.
    Both green, non-flaky (pass on try #1).

Adds a BrowserPage -> TabDrawerPage navigation edge: the tab counter is on the browser toolbar too,
so this is generally reusable by any test that opens the tab tray from a loaded page. Uses the
UIAutomator tab-counter variant to avoid Compose-sync hangs while GeckoView is active.

Why: Ports two expanded-toolbar smoke tests and adds a reusable browser->tab-tray edge.

Context: part of the ui/efficiency UI-test modernization. This is a faithful port of an existing legacy ui/ smoke test onto the ui/efficiency framework — same coverage and assertions, but far less per-test code via a shared page-object / selector / navigation layer, which bends the UI-test maintenance cost curve. Smoke-conversion campaign (Program B), epic MTE-5504.

TestRail: 3333215, 3333214

Summary: [efficiency] Convert expanded-toolbar main-menu/tab-tray smoke tests to ui/efficiency → Bug 2057419 - [efficiency] Convert expanded-toolbar main-menu/tab-tray smoke tests to ui/efficiency
Assignee: nobody → jajohnson

Ports two NavigationToolbarExpandedTest smoke tests into the efficiency ToolbarTest:

  • verifyTheExpandedToolbarMainMenuButtonTest: load a page, open the main menu, verify the
    browser-view main-menu items (browserViewMainMenuItems group). TestRail 3333215.
  • verifyTheExpandedToolbarTabTrayButtonTest: load a page, open the tab tray, verify the open tab.
    TestRail 3333214.
    Both green, non-flaky (pass on try #1).

Adds a BrowserPage -> TabDrawerPage navigation edge: the tab counter is on the browser toolbar too,
so this is generally reusable by any test that opens the tab tray from a loaded page. Uses the
UIAutomator tab-counter variant to avoid Compose-sync hangs while GeckoView is active.

Blocks: 2030727
Pushed by jajohnson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/42c7e3fb4914 https://hg.mozilla.org/integration/autoland/rev/456dbcef3a2a [efficiency] Convert expanded-toolbar main-menu/tab-tray smoke tests to ui/efficiency r=aaronmt,isabel_rios
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: