Without this fix, a mismatch in screenshots causes a non-screenshot
test failure.
Change-Id: I6fb157a764ef1ec594836cbeceacd898820e7e11
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(),