From 8ba41172216a98a45f82319d9a98d04a26efa52a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Wed, 7 Aug 2013 11:22:09 +0300 Subject: [PATCH] Split UiAccess test (#12332) Change-Id: I231e84d84adca79549d00a88dd4ae613ff291dbc --- .../vaadin/tests/components/ui/UiAccess.html | 26 ------------ .../tests/components/ui/UiAccessPush.html | 41 +++++++++++++++++++ 2 files changed, 41 insertions(+), 26 deletions(-) create mode 100644 uitest/src/com/vaadin/tests/components/ui/UiAccessPush.html diff --git a/uitest/src/com/vaadin/tests/components/ui/UiAccess.html b/uitest/src/com/vaadin/tests/components/ui/UiAccess.html index 734b95952a..613691623c 100644 --- a/uitest/src/com/vaadin/tests/components/ui/UiAccess.html +++ b/uitest/src/com/vaadin/tests/components/ui/UiAccess.html @@ -161,32 +161,6 @@ vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0 3. Test value after access: Set before run pending - - - open - /run/com.vaadin.tests.components.ui.UiAccess?restartApplication&transport=websocket - - - - click - vaadin=runcomvaadintestscomponentsuiUiAccess::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[7]/VButton[0]/domChild[0]/domChild[0] - - - - waitForNotText - vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0 - - - - assertText - vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0 - exact:1. Current session matches in beforeResponse? true - - - assertText - vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_1 - exact:0. Current UI matches in beforeResponse? true - diff --git a/uitest/src/com/vaadin/tests/components/ui/UiAccessPush.html b/uitest/src/com/vaadin/tests/components/ui/UiAccessPush.html new file mode 100644 index 0000000000..bc29534ee4 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/ui/UiAccessPush.html @@ -0,0 +1,41 @@ + + + + + + +New Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
New Test
open/run/com.vaadin.tests.components.ui.UiAccess?restartApplication&transport=websocket
clickvaadin=runcomvaadintestscomponentsuiUiAccess::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[7]/VButton[0]/domChild[0]/domChild[0]
waitForNotTextvaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0
assertTextvaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0exact:1. Current session matches in beforeResponse? true
assertTextvaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_1exact:0. Current UI matches in beforeResponse? true
+ + -- 2.39.5