# New Test

New Test
open | /run/com.vaadin.tests.application.DetachOldUIOnReload?restartApplication |
assertText | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[0]/VLabel[0] | This is UI 0
open | /run/com.vaadin.tests.application.DetachOldUIOnReload |
click | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[2]/VButton[0]/domChild[0]/domChild[0] |
assertText | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::PID_SLog_row_0 | 1. UI 0 has been detached
assertText | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[0]/VLabel[0] | This is UI 1
clickAndWait | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[1]/VButton[0]/domChild[0]/domChild[0] |
click | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[2]/VButton[0]/domChild[0]/domChild[0] |
assertText | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::PID_SLog_row_0 | 2. UI 1 has been detached
assertText | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[0]/VLabel[0] | This is UI 2
open | / |
open | /run/com.vaadin.tests.application.DetachOldUIOnReload |
click | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[2]/VButton[0]/domChild[0]/domChild[0] |
assertText | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::PID_SLog_row_0 | 3. UI 2 has been detached
assertText | vaadin=runcomvaadintestsapplicationDetachOldUIOnReload::/VVerticalLayout[0]/Slot[2]/VVerticalLayout[0]/Slot[0]/VLabel[0] | This is UI 3