Skip to content

Commit

Permalink
Bug 1871385: Set pref to enable popover in related a11y test. r=ayeddi
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsteh committed Dec 22, 2023
1 parent 660b2bf commit a09e359
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions accessible/tests/browser/e10s/browser_caching_states.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,10 @@ addAccessibleTask(
<div id="mypopover" popover>Popover content</div>
`,
async function (browser, docAcc) {
await SpecialPowers.pushPrefEnv({
set: [["dom.element.popover.enabled", true]],
});

const show = findAccessibleChildByID(docAcc, "show-popover-btn");
const hide = findAccessibleChildByID(docAcc, "hide-popover-btn");
testStates(show, STATE_COLLAPSED, 0);
Expand Down

0 comments on commit a09e359

Please sign in to comment.