aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorsergey-vaadin <sergey@vaadin.com>2018-10-17 10:14:55 +0300
committerOlli Tietäväinen <ollit@vaadin.com>2018-10-17 10:14:55 +0300
commit218d12b5b2bdc36444cf0d6a491526d36cfca20c (patch)
treeeacf009c9f7861ad8c9e6d5bff29114064dc03bc /uitest
parenta35848208ab871232f0f25ac036a4b61f0c14f84 (diff)
downloadvaadin-framework-218d12b5b2bdc36444cf0d6a491526d36cfca20c.tar.gz
vaadin-framework-218d12b5b2bdc36444cf0d6a491526d36cfca20c.zip
test fix (missing and wrong screenshots) (#11251)
Diffstat (limited to 'uitest')
-rwxr-xr-xuitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_ANY_Chrome__valo_systemnotification.pngbin31114 -> 13968 bytes
-rwxr-xr-xuitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__runo_systemnotification.pngbin27629 -> 6444 bytes
-rw-r--r--uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__valo_systemnotification.pngbin0 -> 9159 bytes
-rw-r--r--uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java2
4 files changed, 1 insertions, 1 deletions
diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_ANY_Chrome__valo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_ANY_Chrome__valo_systemnotification.png
index 50d218f666..c86b8cfd92 100755
--- a/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_ANY_Chrome__valo_systemnotification.png
+++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_ANY_Chrome__valo_systemnotification.png
Binary files differ
diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__runo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__runo_systemnotification.png
index 962d79fbf5..32c80110c8 100755
--- a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__runo_systemnotification.png
+++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__runo_systemnotification.png
Binary files differ
diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__valo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__valo_systemnotification.png
new file mode 100644
index 0000000000..e77057e37f
--- /dev/null
+++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_ANY_Chrome__valo_systemnotification.png
Binary files differ
diff --git a/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java b/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java
index 0f43a4e189..aa590f2728 100644
--- a/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java
@@ -64,7 +64,7 @@ public class CriticalNotificationsTest extends MultiBrowserThemeTest {
testBench().disableWaitForVaadin();
// Give the notification some time to animate
- sleep(2000);
+ sleep(1000);
compareScreen($(NotificationElement.class).first(),
"systemnotification");
}