Bug 1189464 - Add test coverage to make sure theme-fg-contrast class is removed on edit outer html;r=me

This commit is contained in:
Brian Grinstead 2015-10-13 07:20:05 -07:00
parent 51451321a3
commit 13401e0dbd

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