Closed
Bug 2034507
Opened 1 month ago
Closed 25 days ago
Simplify search mode switcher item activation in tests
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
RESOLVED
FIXED
152 Branch
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: mbeier, Assigned: mbeier)
References
Details
(Whiteboard: [sng])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 2034507 - Part 1: Wait for addon page options to become active before clicking in tests. r?robwu
48 bytes,
text/x-phabricator-request
|
Details | Review |
There are many cases similar to
let popup = await UrlbarTestUtils.openSearchModeSwitcher(window);
let popupHidden = UrlbarTestUtils.searchModeSwitcherPopupClosed(window);
popup.querySelector("panel-item[data-engine-id=engine1]").button.click();
await popupHidden;
throughout the urlbar test code. We could make it possible to use .click() instead of .button.click() and introduce a helper that can do those 4 lines in one call to simplify the code a bit.
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
| Assignee | ||
Comment 2•1 month ago
|
||
Updated•1 month ago
|
Attachment #9573045 -
Attachment description: Bug 2034507 - Simplify search mode switcher item activation in tests. r?#urlbar-reviewers → Bug 2034507 - Part 2: Simplify search mode switcher item activation in tests. r?#urlbar-reviewers
Pushed by mbeier@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/2e879bffb415
https://hg.mozilla.org/integration/autoland/rev/c8dcd33eb5eb
Part 1: Wait for addon page options to become active before clicking in tests. r=robwu
https://github.com/mozilla-firefox/firefox/commit/cb5e8e8f09a2
https://hg.mozilla.org/integration/autoland/rev/0a105ae0e10e
Part 2: Simplify search mode switcher item activation in tests. r=urlbar-reviewers,extension-reviewers,akulyk,dao,robwu
https://hg.mozilla.org/mozilla-central/rev/c8dcd33eb5eb
https://hg.mozilla.org/mozilla-central/rev/0a105ae0e10e
Status: ASSIGNED → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Updated•24 days ago
|
QA Whiteboard: [search][qa-triage-done-c152/b151]
You need to log in
before you can comment on or make changes to this bug.
Description
•