mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
PL-5210 UI testing - cuba-id implementation for Table columns - use prefixed cuba-id
This commit is contained in:
parent
136385cd18
commit
a9158d2de8
@ -385,7 +385,7 @@ public class CubaScrollTableWidget extends VScrollTable implements TableWidget {
|
||||
if (headerCell != null) {
|
||||
String cubaId = headerCell.getElement().getAttribute("cuba-id");
|
||||
if (cubaId != null) {
|
||||
return "cuba-id=\"cc-" + cubaId + "\"";
|
||||
return "cuba-id=\"cc_" + cubaId + "\"";
|
||||
}
|
||||
}
|
||||
|
||||
@ -853,7 +853,7 @@ public class CubaScrollTableWidget extends VScrollTable implements TableWidget {
|
||||
HeaderCell headerCell = headerCellMap.get(key);
|
||||
|
||||
if (headerCell != null) {
|
||||
headerCell.getElement().setAttribute("cuba-id", colcubaids[i]);
|
||||
headerCell.getElement().setAttribute("cuba-id", "column_" + colcubaids[i]);
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
@ -369,7 +369,7 @@ public class CubaTreeTableWidget extends VTreeTable implements TableWidget {
|
||||
if (headerCell != null) {
|
||||
String cubaId = headerCell.getElement().getAttribute("cuba-id");
|
||||
if (cubaId != null) {
|
||||
return "cuba-id=\"cc-" + cubaId + "\"";
|
||||
return "cuba-id=\"cc_" + cubaId + "\"";
|
||||
}
|
||||
}
|
||||
|
||||
@ -813,7 +813,7 @@ public class CubaTreeTableWidget extends VTreeTable implements TableWidget {
|
||||
HeaderCell headerCell = headerCellMap.get(key);
|
||||
|
||||
if (headerCell != null) {
|
||||
headerCell.getElement().setAttribute("cuba-id", colcubaids[i]);
|
||||
headerCell.getElement().setAttribute("cuba-id", "column_" + colcubaids[i]);
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user