зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1170105 - Log bars counts in the hopes of fixing some intermittent assertion failures, r=me
This commit is contained in:
Родитель
89ca26a1e4
Коммит
512484cf45
|
@ -24,6 +24,7 @@ function* spawnTest() {
|
|||
ok(true, "Recording has ended.");
|
||||
|
||||
let initialBarsCount = $$(".waterfall-marker-bar").length;
|
||||
info("Initial bars count: " + initialBarsCount);
|
||||
|
||||
// Select a portion of the overview.
|
||||
let timeline = OverviewView.graphs.get("timeline");
|
||||
|
@ -40,6 +41,7 @@ function* spawnTest() {
|
|||
WaterfallView._markersRoot.getChild(1).focus();
|
||||
|
||||
let beforeResizeBarsCount = $$(".waterfall-marker-bar").length;
|
||||
info("Before resize bars count: " + beforeResizeBarsCount);
|
||||
ok(beforeResizeBarsCount < initialBarsCount,
|
||||
"A subset of the total markers was selected.");
|
||||
|
||||
|
@ -53,6 +55,7 @@ function* spawnTest() {
|
|||
yield rerendered;
|
||||
|
||||
let afterResizeBarsCount = $$(".waterfall-marker-bar").length;
|
||||
info("After resize bars count: " + afterResizeBarsCount);
|
||||
is(afterResizeBarsCount, beforeResizeBarsCount,
|
||||
"The same subset of the total markers remained visible.");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче