-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Igor Vlasiuk
committed
Nov 30, 2023
1 parent
56d22a0
commit 05f1218
Showing
3 changed files
with
96 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
jdi-light-angular-tests/src/main/java/io/github/com/pages/DividerPage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
package io.github.com.pages; | ||
|
||
import com.epam.jdi.light.angular.elements.common.Divider; | ||
import com.epam.jdi.light.elements.common.UIElement; | ||
import com.epam.jdi.light.elements.complex.JList; | ||
import com.epam.jdi.light.elements.pageobjects.annotations.locators.UI; | ||
|
||
public class DividerPage extends NewAngularPage { | ||
|
||
@UI("/descendant::h3[1]") | ||
public static UIElement textWithDefaultDividers; | ||
|
||
@UI("#divider-list:first-of-type > mat-list-item") | ||
public static JList<Divider> defaultDividersList; | ||
|
||
@UI("#divider-list:first-of-type > mat-divider[role=\"separator\"]") | ||
public static JList<UIElement> defaultDividersSeparators; | ||
|
||
@UI("#divider-list:first-of-type > mat-list-item:nth-of-type(1)") | ||
public static UIElement elementDefaultItemOneDivider; | ||
|
||
@UI("#divider-list:first-of-type > mat-list-item:nth-of-type(2)") | ||
public static UIElement elementDefaultItemTwoDivider; | ||
|
||
@UI("#divider-list:first-of-type > mat-list-item:nth-of-type(3)") | ||
public static UIElement elementDefaultItemThreeDivider; | ||
|
||
@UI("/descendant::h3[2]") | ||
public static UIElement textInsetDividers; | ||
|
||
@UI("#divider-list:nth-of-type(2) > mat-list-item") | ||
public static JList<Divider> insetDividersList; | ||
|
||
@UI("#divider-list:nth-of-type(2) > mat-divider[role=\"separator\"]") | ||
public static JList<UIElement> insetDividerSeparators; | ||
|
||
@UI("#divider-list:nth-of-type(2) > mat-list-item:nth-of-type(1)") | ||
public static UIElement elementInsetItemOneDivider; | ||
|
||
@UI("#divider-list:nth-of-type(2) > mat-list-item:nth-of-type(2)") | ||
public static UIElement elementInsetItemTwoDivider; | ||
|
||
@UI("#divider-list:nth-of-type(2) > mat-list-item:nth-of-type(3)") | ||
public static UIElement elementInsetItemThreeDivider; | ||
|
||
@UI("/descendant::h3[3]") | ||
public static UIElement textVerticalDividers; | ||
|
||
@UI(".vertical-dividers > mat-list-item") | ||
public static JList<Divider> verticalDividersList; | ||
|
||
@UI(".vertical-dividers > mat-divider[role=\"separator\"]") | ||
public static JList<UIElement> verticalDividerSeparators; | ||
|
||
@UI(".vertical-dividers > mat-list-item:nth-of-type(1)") | ||
public static UIElement elementVerticalItemOneDivider; | ||
|
||
@UI(".vertical-dividers > mat-list-item:nth-of-type(2)") | ||
public static UIElement elementVerticalItemTwoDivider; | ||
|
||
@UI(".vertical-dividers > mat-list-item:nth-of-type(3)") | ||
public static UIElement elementVerticalItemThreeDivider; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters