mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-31 21:21:08 +00:00
Bug 1066086 - Attempt to fix intermittent browser_timeline_waterfall-generic.js by checking if marker sidebar or waterfall nodes aren't spacers. r=vporof
This commit is contained in:
parent
cc17d5b170
commit
c33b635061
@ -51,16 +51,16 @@ let test = Task.async(function*() {
|
||||
|
||||
ok($$(".timeline-marker-sidebar").length,
|
||||
"Some marker sidebar nodes should have been created.");
|
||||
ok($$(".timeline-marker-sidebar > .timeline-marker-bullet").length,
|
||||
ok($$(".timeline-marker-sidebar:not(spacer) > .timeline-marker-bullet").length,
|
||||
"Some marker color bullets should have been created inside the sidebar.");
|
||||
ok($$(".timeline-marker-sidebar > .timeline-marker-name").length,
|
||||
ok($$(".timeline-marker-sidebar:not(spacer) > .timeline-marker-name").length,
|
||||
"Some marker name labels should have been created inside the sidebar.");
|
||||
|
||||
// Test the markers waterfall (right).
|
||||
|
||||
ok($$(".timeline-marker-waterfall").length,
|
||||
"Some marker waterfall nodes should have been created.");
|
||||
ok($$(".timeline-marker-waterfall > .timeline-marker-bar").length,
|
||||
ok($$(".timeline-marker-waterfall:not(spacer) > .timeline-marker-bar").length,
|
||||
"Some marker color bars should have been created inside the waterfall.");
|
||||
|
||||
yield teardown(panel);
|
||||
|
Loading…
Reference in New Issue
Block a user