diff --git a/jdi-light-angular-tests/src/test/java/io/github/epam/angular/tests/elements/complex/SnackbarTests.java b/jdi-light-angular-tests/src/test/java/io/github/epam/angular/tests/elements/complex/SnackbarTests.java index b1da863f6a..52e3e3fa4a 100644 --- a/jdi-light-angular-tests/src/test/java/io/github/epam/angular/tests/elements/complex/SnackbarTests.java +++ b/jdi-light-angular-tests/src/test/java/io/github/epam/angular/tests/elements/complex/SnackbarTests.java @@ -6,11 +6,12 @@ import org.testng.annotations.DataProvider; import org.testng.annotations.Test; -import static com.epam.jdi.light.angular.elements.enums.Position.BOTTOM; -import static com.epam.jdi.light.angular.elements.enums.Position.CENTER; -import static com.epam.jdi.light.angular.elements.enums.Position.LEFT; -import static com.epam.jdi.light.angular.elements.enums.Position.RIGHT; -import static com.epam.jdi.light.angular.elements.enums.Position.TOP; +import static com.epam.jdi.light.angular.elements.enums.Position.CENTER_BOTTOM; +import static com.epam.jdi.light.angular.elements.enums.Position.CENTER_TOP; +import static com.epam.jdi.light.angular.elements.enums.Position.LEFT_BOTTOM; +import static com.epam.jdi.light.angular.elements.enums.Position.LEFT_TOP; +import static com.epam.jdi.light.angular.elements.enums.Position.RIGHT_BOTTOM; +import static com.epam.jdi.light.angular.elements.enums.Position.RIGHT_TOP; import static com.epam.jdi.light.elements.base.Conditions.hidden; import static com.epam.jdi.light.elements.base.Conditions.visible; import static com.jdiai.tools.Timer.waitCondition; @@ -105,16 +106,16 @@ public void snackbarPositionTest(String horizontal,Position horizontalPosition, @DataProvider(name = "positionProvider") public Object[][] providePositions() { return new Object[][]{ - {"Start",LEFT, "Top", TOP}, - {"Center", CENTER, "Top", TOP}, - {"End", RIGHT, "Top", TOP}, - {"Left",LEFT, "Top", TOP}, - {"Right",RIGHT, "Top", TOP}, - - {"Start",LEFT, "Bottom", BOTTOM}, - {"Center", CENTER, "Bottom", BOTTOM}, - {"End", RIGHT,"Bottom", BOTTOM}, - {"Left",LEFT, "Bottom", BOTTOM}, - {"Right",RIGHT, "Bottom", BOTTOM}}; + {"Start", "Top", LEFT_TOP}, + {"Center", "Top", CENTER_TOP}, + {"End", "Top", RIGHT_TOP}, + {"Left", "Top", LEFT_TOP}, + {"Right", "Top", RIGHT_TOP}, + + {"Start", "Bottom", LEFT_BOTTOM}, + {"Center", "Bottom", CENTER_BOTTOM}, + {"End", "Bottom", RIGHT_BOTTOM}, + {"Left", "Bottom", LEFT_BOTTOM}, + {"Right", "Bottom", RIGHT_BOTTOM}}; } } \ No newline at end of file