Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
- This test failed 1 times in the preceding 30 days. quicksearch this test
- Manifest: devtools/client/accessibility/test/browser/browser.toml
/* Any copyright is dedicated to the Public Domain.
"use strict";
/* global toggleMenuItem, TREE_FILTERS_MENU_ID */
addA11YPanelTask(
`Test that Accessibility panel "All issues" audit doesn't return erroneous results`,
async env => {
const { doc, toolbox } = env;
info("Reload to have a clean state");
await reloadBrowser();
info(`Select the "All issues" item to run all audits at once`);
await toggleMenuItem(doc, toolbox.doc, TREE_FILTERS_MENU_ID, 1);
info("Check that there's only 1 element in the tree");
await checkTreeState(doc, [
{
role: "canvas",
name: `""text label`,
badges: ["text label"],
level: 1,
selected: true,
},
]);
}
);