mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 1189464 - Add test coverage to make sure theme-fg-contrast class is removed on edit outer html;r=me
--HG-- extra : commitid : CvgS76dH3Al
This commit is contained in:
parent
87925d2d5f
commit
8f12b46988
@ -67,4 +67,9 @@ function* runEditOuterHTMLTest(test, inspector) {
|
||||
// Wait for the inspector to be fully updated to avoid causing errors by
|
||||
// abruptly closing hanging requests when the test ends
|
||||
yield onUpdated;
|
||||
|
||||
let closeTagLine = inspector.markup.getContainer(pageNodeFront).closeTagLine;
|
||||
if (closeTagLine) {
|
||||
is(closeTagLine.querySelectorAll(".theme-fg-contrast").length, 0, "No contrast class");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user