Closed
Bug 1786927
Opened 2 years ago
Closed 2 years ago
Consolidate the way we trigger autocomplete popup in tests
Categories
(Toolkit :: Form Manager, task, P3)
Toolkit
Form Manager
Tracking
()
RESOLVED
FIXED
106 Branch
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: issammani, Assigned: issammani)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
In D155251 we tackled removing redundant definitions of essentially the same function for showing the autocomplete popup. We then noticed a common pattern in both form history and password manager tests:
input.focus() // optional
const promisePopupShown = promiseACShown();
synthesizeKey("KEY_ArrowDown");
await promisePopupShown; // optionally retrieve the return value
This behavior should ideally live inside a function and be used throughout our test cases in form history and password manager.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → imani
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Attachment #9293264 -
Attachment description: WIP: Bug 1786927 - Consolidate the way we trigger autocomplete popup in tests. r=#credential-management-reviewers → Bug 1786927 - Consolidate the way we trigger autocomplete popup in tests. r=#credential-management-reviewers
Pushed by imani@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6edb3eb1b48f
Consolidate the way we trigger autocomplete popup in tests. r=credential-management-reviewers,sgalich
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox106:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•