diff --git a/jdi-light-vuetify-tests/src/main/java/io/github/com/pages/TreeviewPage.java b/jdi-light-vuetify-tests/src/main/java/io/github/com/pages/TreeviewPage.java index c0e85175d1..e9fdd37eba 100644 --- a/jdi-light-vuetify-tests/src/main/java/io/github/com/pages/TreeviewPage.java +++ b/jdi-light-vuetify-tests/src/main/java/io/github/com/pages/TreeviewPage.java @@ -58,9 +58,9 @@ public class TreeviewPage extends VuetifyPage { public static VueCheckbox caseSensitiveSearchCheckbox; @JDITreeView( - core = "#SelectableIconsTreeview .v-treeview", - full = "mdi-bookmark", - not = "mdi-bookmark-outline" + core = "#SelectableIconsTreeview .v-treeview", + full = "mdi-bookmark", + not = "mdi-bookmark-outline" ) public static TreeView selectableIconsTreeView; diff --git a/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/annotations/JDITreeView.java b/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/annotations/JDITreeView.java index 6a82ab5f12..522092f95c 100644 --- a/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/annotations/JDITreeView.java +++ b/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/annotations/JDITreeView.java @@ -9,6 +9,7 @@ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.FIELD}) +// @todo #5401 Check requirements and usage public @interface JDITreeView { @MarkupLocator String core() default ""; @MarkupLocator String coreNodes() default ""; diff --git a/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex/TreeViewNode.java b/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex/TreeViewNode.java index 893cbb20f1..41526e0d69 100644 --- a/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex/TreeViewNode.java +++ b/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex/TreeViewNode.java @@ -372,7 +372,9 @@ public void clear() { } protected TreeViewNode create(UIElement base) { - TreeViewNode created = new TreeViewNode().setCore(TreeViewNode.class, base); + TreeViewNode created = new + TreeViewNode(this.checkboxFullyMarkedClass, this.checkboxNotMarkedClass, this.nodesInNodeLocator) + .setCore(TreeViewNode.class, base); created.setName(String.format("TreeView %s", created.getValue())); return created; }