Change simulation menu tests to force enable WebRender instead of checking if it is pre-enabled
Categories
(DevTools :: Accessibility Tools, task)
Tracking
(Not tracked)
People
(Reporter: mislam, Unassigned)
Details
Tests for the simulation menu in the accessibility panel currently rely on WebRender to be pre-enabled before testing the feature (see devtools/client/accessibility/test/browser/browser_accessibility_simulation.js Line 27, phab revision where the file was added: https://phabricator.services.mozilla.com/D38885#change-sYe50CuUam70).
We would like to have 2 different tests: one where we disable WebRender and then test that the button isn't displayed, then another where we enable it, and test that the simulation button works as expected.
If we can't run the webrender test on all platform, we should add skip-if annotations in the browser.ini file when needed.
Note that there might not be a way currently to force enable WebRender for a given mochitest. Check with @nical or someone else for more information.
| Reporter | ||
Updated•7 years ago
|
| Reporter | ||
Comment 1•7 years ago
|
||
It's not possible to enable WebRender for a given mochitest. Enabling WebRender requires browser restart which the current testing infrastructure doesn't support.
Description
•