Without this fix, a mismatch in screenshots causes a non-screenshot
test failure.
Change-Id: Ib211f6f436d9d414642bf40f6a1b55dcf03c7b85
click($(CheckBoxElement.class).caption("Include details").first());
}
$(ButtonElement.class).caption(buttonCaption).first().click();
+
+ // some critical notifications invalidate the session, and if a
+ // screenshot does not match, waitForVaadin would cause the screenshot
+ // comparison to crash because of a missing session
+ testBench().disableWaitForVaadin();
+
// Give the notification some time to animate
sleep(1000);
compareScreen($(NotificationElement.class).first(),