From c978ad89cb27a4608c7adcda4ee606442b8c7773 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pekka=20Hyv=C3=B6nen?= Date: Fri, 11 Oct 2013 15:55:50 +0300 Subject: [PATCH] Converted test to use screenshots due to IE8 issues with TB dnd commands (#12714) Basically the screenshot for IE8 after the drag + drop commands shows that the column header drag element is not removed from DOM for some reason. In real life, column header drag and drop works for IE8. Change-Id: Ia31054e496064695708ed2392e83aa53056d2b5b --- .../TableDragColumnFloatingElementStyles.html | 84 ++++++++----------- 1 file changed, 36 insertions(+), 48 deletions(-) diff --git a/uitest/src/com/vaadin/tests/components/table/TableDragColumnFloatingElementStyles.html b/uitest/src/com/vaadin/tests/components/table/TableDragColumnFloatingElementStyles.html index e4bd02d620..e225091b5f 100644 --- a/uitest/src/com/vaadin/tests/components/table/TableDragColumnFloatingElementStyles.html +++ b/uitest/src/com/vaadin/tests/components/table/TableDragColumnFloatingElementStyles.html @@ -16,26 +16,25 @@ /run/com.vaadin.tests.components.table.Tables?restartApplication - drag vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2] 51,6 - assertElementPresent - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - + mouseMoveAt + vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[3] + 70,10 - assertCSSClass - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - v-table-header-drag + screenCapture + + 1 basic ghost element drop - vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[2] - 70,10 + vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2] + 10,10 @@ -61,75 +60,64 @@ drag - vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2] + vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0] 51,6 - assertElementPresent - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - - - - assertCSSClass - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - v-table-header-drag + mouseMoveAt + vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[3] + 70,10 - assertCSSClass - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - border-red-1px + screenCapture + + 2 themed ghost element should have red borders drop - vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[2] - 70,10 + vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2] + 10,10 - + mouseClick vaadin=runcomvaadintestscomponentstableTables::PID_Smenu#item0 - 32,8 + 24,7 + + + mouseClick + vaadin=runcomvaadintestscomponentstableTables::Root/VOverlay[0]/VMenuBar[0]#item1 + 18,10 mouseClick - vaadin=runcomvaadintestscomponentstableTables::Root/VOverlay[0]/VMenuBar[0]#item0 - 18,12 + vaadin=runcomvaadintestscomponentstableTables::Root/VOverlay[1]/VMenuBar[0]#item4 + 19,8 mouseClick - vaadin=runcomvaadintestscomponentstableTables::Root/VOverlay[1]/VMenuBar[0]#item2 - 42,13 + vaadin=runcomvaadintestscomponentstableTables::Root/VOverlay[2]/VMenuBar[0]#item3 + 164,10 - drag vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2] 51,6 - assertElementPresent - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - - - - assertCSSClass - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - v-table-header-drag - - - assertCSSClass - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - border-red-1px + mouseMoveAt + vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[3] + 70,10 - assertCSSClass - //div[@id='runcomvaadintestscomponentstableTables-1125197179-overlays']/div - v-readonly + screenCapture + + 3 themed ghost element should have 2px blue borders drop - vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[2] - 70,10 + vaadin=runcomvaadintestscomponentstableTables::PID_StestComponent/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2] + 10,10 -- 2.39.5