Closed Bug 1577213 Opened 7 years ago Closed 7 years ago

Change simulation menu tests to force enable WebRender instead of checking if it is pre-enabled

Categories

(DevTools :: Accessibility Tools, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

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.

Summary: Change simulation menu tests to force enable WebRender instead of checking if it is enabled → Change simulation menu tests to force enable WebRender instead of checking if it is pre-enabled

It's not possible to enable WebRender for a given mochitest. Enabling WebRender requires browser restart which the current testing infrastructure doesn't support.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.