Skip to content
Snippets Groups Projects
Commit 4fb8f14a authored by Simon Urli's avatar Simon Urli
Browse files

XWIKI-21452: Macros info, success, warning and error are only distinguished by colors

  * Ensure to properly scroll for reaching the delete button
parent facbaa3a
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,7 @@ public void removeLiveTableColumn(String columnLabel) ...@@ -170,7 +170,7 @@ public void removeLiveTableColumn(String columnLabel)
// FIXME: This doesn't trigger the :hover CSS pseudo class. The click still works because the delete X (text) is // FIXME: This doesn't trigger the :hover CSS pseudo class. The click still works because the delete X (text) is
// not really hidden: it is displayed with white color (the page background-color). // not really hidden: it is displayed with white color (the page background-color).
new Actions(getDriver().getWrappedDriver()).moveToElement(column).perform(); new Actions(getDriver().getWrappedDriver()).moveToElement(column).perform();
column.findElement(By.className("delete")).click(); getDriver().scrollTo(column.findElement(By.className("delete"))).click();
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment