summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorTest.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorTest.java
index 2d9d4018e6..5f42bd66d3 100644
--- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorTest.java
@@ -298,8 +298,16 @@ public class GridEditorTest extends GridBasicFeaturesTest {
selectMenuPath(EDIT_ITEM_5);
assertEditorOpen();
+ GridEditorElement editor = getGridElement().getEditor();
assertFalse("Uneditable column should not have an editor widget",
- getGridElement().getEditor().isEditable(3));
+ editor.isEditable(3));
+ assertEquals(
+ "Not editable cell did not contain correct classname",
+ "not-editable",
+ editor.findElement(By.className("v-grid-editor-cells"))
+ .findElements(By.xpath("./div")).get(3)
+ .getAttribute("class"));
+
}
private WebElement getSaveButton() {