mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
3daf92c702
The RuleView calls `onSelected` from its constructor, which might call `CssRuleView#selectElement`, which returns a Promise that is resolved when the view gets populated. So far tests weren't waiting for this specific Promise, which could lead to failures as test would query the DOM for the CssRuleView (which might not exist yet). In order to fix this, we expose a `readyPromise` on the RuleView panel and await on it in the `openRuleView` test helper. Differential Revision: https://phabricator.services.mozilla.com/D132930 |
||
---|---|---|
.. | ||
client | ||
docs | ||
perfdocs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild | ||
tsconfig.json |