зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1074836 - 6 - Fix the inspector search field test with e10s; r=jwalker
This commit is contained in:
Родитель
306859f127
Коммит
155f70201e
|
@ -70,10 +70,12 @@ add_task(function* () {
|
||||||
info("Got " + event + " event. Waiting for search query to complete");
|
info("Got " + event + " event. Waiting for search query to complete");
|
||||||
yield inspector.searchSuggestions._lastQuery;
|
yield inspector.searchSuggestions._lastQuery;
|
||||||
|
|
||||||
info(inspector.selection.node.id + " is selected with text " +
|
info(inspector.selection.nodeFront.id + " is selected with text " +
|
||||||
searchBox.value);
|
searchBox.value);
|
||||||
is(inspector.selection.node, content.document.getElementById(id),
|
let nodeFront = yield getNodeFront("#" + id, inspector);
|
||||||
|
is(inspector.selection.nodeFront, nodeFront,
|
||||||
"Correct node is selected for state " + index);
|
"Correct node is selected for state " + index);
|
||||||
|
|
||||||
is(!searchBox.classList.contains("devtools-no-search-result"), isValid,
|
is(!searchBox.classList.contains("devtools-no-search-result"), isValid,
|
||||||
"Correct searchbox result state for state " + index);
|
"Correct searchbox result state for state " + index);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче