summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2014-06-27 09:39:04 +0300
committerVaadin Code Review <review@vaadin.com>2014-06-27 07:04:27 +0000
commit2f18ad6f186051f9540cf13784c0936683b11bae (patch)
treec673e7a13227f789b046c45d2f02fac01c9b5b41 /uitest
parentf51cba3348899d5c2e01b8ee23efa361d80e0f6b (diff)
downloadvaadin-framework-2f18ad6f186051f9540cf13784c0936683b11bae.tar.gz
vaadin-framework-2f18ad6f186051f9540cf13784c0936683b11bae.zip
Change DateFieldReadOnlyTest to use a initial reference instead of reusing readonly reference.
Reusing the readonly reference causes weird test results when the first comparison fails and the second one succeeds: the build will fail but errors shots have been deleted because the second comparison succeeded. Change-Id: I3484f2d7bdaa604136d8cf917eefc80b389c6722
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/datefield/DateFieldReadOnlyTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/datefield/DateFieldReadOnlyTest.java b/uitest/src/com/vaadin/tests/components/datefield/DateFieldReadOnlyTest.java
index 96e17344ec..289a5988ee 100644
--- a/uitest/src/com/vaadin/tests/components/datefield/DateFieldReadOnlyTest.java
+++ b/uitest/src/com/vaadin/tests/components/datefield/DateFieldReadOnlyTest.java
@@ -17,7 +17,7 @@ public class DateFieldReadOnlyTest extends MultiBrowserTest {
public void readOnlyDateFieldPopupShouldNotOpen() throws IOException, InterruptedException {
openTestURL();
- compareScreen("readonly");
+ compareScreen("initial");
toggleReadOnly();
openPopup();