Skip to content

Commit 27838d8

Browse files
committed
Add tasks for refactoring vue test pages
1 parent 1b2bb8e commit 27838d8

16 files changed

+19
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package io.github.com.pages;
22

33
public class ApplicationPage extends VuetifyPage {
4-
4+
// @todo #5291 Fill in the page or delete it
55
}

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/AutocompletesPage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
public class AutocompletesPage extends VuetifyPage {
1111

12+
// @todo #5298 Fix locators, they are not stable
1213
@UI("//div[@id='style']/div[2]//div[2]/div[contains(@class, 'v-autocomplete')]")
1314
public static Autocomplete lightDenseShapedOutlinedAutocomplete;
1415

@@ -48,6 +49,7 @@ public class AutocompletesPage extends VuetifyPage {
4849
@UI("#api .v-autocomplete")
4950
public static Autocomplete publicApiAutocomplete;
5051

52+
// @todo #5298 List item should be located
5153
@UI("#api .v-list-item__title")
5254
public static Text selectedApiName;
5355

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/BadgesPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import java.util.List;
99

1010
public class BadgesPage extends VuetifyPage {
11-
11+
// @todo #5298 Locator to the Badge should be .v-bage, not icons, dots and avatar
1212
@UI("#simpleBadges .v-badge")
1313
public static List<Badge> simpleBadges;
1414

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/BannersPage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public class BannersPage extends VuetifyPage {
1010
@UI("#SingleBanner .v-banner")
1111
public static Banner singleBanner;
1212

13+
// @todo #5298 Locator is to input, not for the switch
1314
@UI("#SingleBanner .v-input--selection-controls__input")
1415
public static Switch singleBannerSwitch;
1516

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/BreadcrumbsPage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
public class BreadcrumbsPage extends VuetifyPage {
77

8+
// @todo #5298 locator should use .v-breadcrumbs, not ul tag
89
@UI("#differentDividersBreadcrumbs > ul:nth-child(1)")
910
public static Breadcrumbs dashedBreadcrumbs;
1011

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/CardsPage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
public class CardsPage extends VuetifyPage {
1515

16+
// @todo #5298 Localors should use .v-card class
1617
@UI("//div[@class='container' and .//h2[contains(text(), 'Information Cards')]]/div")
1718
public static InformationCard informationCard;
1819

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/ColorPickersPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import com.epam.jdi.light.vuetify.elements.complex.ColorPicker;
88

99
public class ColorPickersPage extends VuetifyPage {
10-
10+
// @todo #5298 Locators should use .v-color-picker class
1111
@UI("#CanvasColorPicker > div:first-child")
1212
public static ColorPicker noCanvasColorPicker;
1313

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/DatePickersMonthPage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
import com.epam.jdi.light.vuetify.elements.complex.DatePickerMonth;
88

99
public class DatePickersMonthPage extends VuetifyPage {
10+
11+
// @todo #5298 Locators should use .v-picker class
1012
@JDatePickerMonth(
1113
root = "#AllowedMonthPicker > div")
1214
public static DatePickerMonth allowedMonthPicker;

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/DatePickersPage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
import java.util.List;
1313

1414
public class DatePickersPage extends VuetifyPage {
15+
16+
// @todo #5298 Locators should use .v-picker class
1517
@JDatePicker(
1618
root = "#AllowedDatesDatePicker > div")
1719
public static DatePicker allowedDatePicker;

jdi-light-vuetify-tests/src/main/java/io/github/com/pages/FileInputsPage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public class FileInputsPage extends VuetifyPage {
1919
@JDIFileInput(root = "#MultipleFileInput.v-file-input")
2020
public static FileInput multipleFileInput;
2121

22+
// @todo #5298 Locators should use .v-file-input class
2223
@JDIFileInput(root = "//*[@id='AppendPrependIconFileInput']/div[1]")
2324
public static FileInput prependIconFileInput;
2425

0 commit comments

Comments
 (0)