aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-02-03 13:55:00 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2016-02-03 14:08:19 +0200
commit607e17afe508e6da32086e513c863b192d4e2baa (patch)
treebeaa3d58f8aede29b905c0c1fe8c4c4342dafef3 /uitest/src/com
parent84d9b40c7b80283095a242972fbbdb4b6b5552df (diff)
downloadvaadin-framework-607e17afe508e6da32086e513c863b192d4e2baa.tar.gz
vaadin-framework-607e17afe508e6da32086e513c863b192d4e2baa.zip
Fix SimpleDataProvider clean up and client-side data tracking on edit
Change-Id: I9807717df9cbae47c6532e43a58dd6bb693eaa85
Diffstat (limited to 'uitest/src/com')
-rw-r--r--uitest/src/com/vaadin/tests/dataprovider/DummyDataProviderTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/dataprovider/DummyDataProviderTest.java b/uitest/src/com/vaadin/tests/dataprovider/DummyDataProviderTest.java
index 2a92743215..3821428ab2 100644
--- a/uitest/src/com/vaadin/tests/dataprovider/DummyDataProviderTest.java
+++ b/uitest/src/com/vaadin/tests/dataprovider/DummyDataProviderTest.java
@@ -181,5 +181,13 @@ public class DummyDataProviderTest extends SingleBrowserTest {
text = findElements(By.className("v-label")).get(1).getText();
assertEquals("Modified data did not match", json, text);
+
+ $(ButtonElement.class).id("edit").click();
+
+ text = findElements(By.className("v-label")).get(1).getText();
+ assertEquals("Running edit again shouldn't change anything", json, text);
+
+ assertNoErrorNotifications();
+
}
}