SimpleTree
open /run/com.vaadin.tests.components.tree.SimpleTree?restartApplication
verifyElementPresent vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VTree[0]
storeAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[0]@id captionid
assertAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]@aria-labelledby ${captionid}
storeAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]@id treeid
assertAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[0]@for ${treeid}
verifyElementPresent xpath=/html/body/div/div/div[2]/div/div[2]/div/div/div/div[@aria-multiselectable='false']
assertElementPresent xpath=/html/body/div/div/div[2]/div/div[2]/div/div/div/div[2]/div[@role='tree']
storeAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]/domChild[0]@id captionid
assertAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]@aria-labelledby ${captionid}
storeAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]@id treeitem10id
assertAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]/domChild[0]@for ${treeitem10id}
assertAttribute ${treeitem10id}@aria-level 1
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]@role group
storeAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[1]@id treeitem11id
assertAttribute ${treeitem11id}@role treeitem
assertAttribute ${treeitem11id}@aria-level 2
assertAttribute ${treeitem10id}@aria-expanded true
mouseClick xpath=//div[@id='${treeitem10id}'] 5,5
assertAttribute ${treeitem10id}@aria-expanded false
mouseClick xpath=//div[@id='${treeitem10id}'] 5,5
assertAttribute ${treeitem10id}@aria-expanded true
assertAttribute ${treeitem10id}@aria-selected false
mouseClick xpath=//div[@id='${treeitem10id}']/div[1]/div[1]/span[1]
storeAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]@id treeitem10id
assertAttribute ${treeitem10id}@aria-selected true
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[1]@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[2]@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[3]@aria-selected false
mouseClick xpath=//div[@id='${treeitem10id}']/div[2]/div[1]/div[1]/div[1]/span[1]
storeAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]@id treeitem10id
assertAttribute ${treeitem10id}@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[1]@aria-selected true
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[2]@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[3]@aria-selected false
mouseClick xpath=//div[@id='${treeitem10id}']/div[2]/div[3]/div[1]/div[1]/span[1]
storeAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]@id treeitem10id
assertAttribute ${treeitem10id}@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[1]@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[2]@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[3]@aria-selected true
assertAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[1]@aria-selected false
mouseClick vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]
assertAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[1]@aria-selected true
storeAttribute vaadin=runcomvaadintestscomponentstreeSimpleTree::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/domChild[0]/domChild[1]/domChild[0]/domChild[0]@id treeitem10id
assertAttribute ${treeitem10id}@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[1]@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[2]@aria-selected false
assertAttribute xpath=//div[@id='${treeitem10id}']/div[2]/div[3]@aria-selected false