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:
Brian Grinstead 2015-10-13 07:20:05 -07:00
parent 87925d2d5f
commit 8f12b46988

View File

@ -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");
}
}