Skip to content

Commit

Permalink
add good driver validation function. fix safari issue (#3375)
Browse files Browse the repository at this point in the history
* add good driver validation function. fix safari issue

* add path safaridriver
  • Loading branch information
RomanIovlev authored Oct 6, 2021
1 parent fbe85c3 commit 18a15dd
Show file tree
Hide file tree
Showing 41 changed files with 79 additions and 71 deletions.
4 changes: 2 additions & 2 deletions jdi-bdd-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.epam.jdi</groupId>
<artifactId>jdi-bdd-tests</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
<name>Tests: JDI BDD</name>

<properties>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-bdd</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
Expand Down
4 changes: 2 additions & 2 deletions jdi-bdd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.epam.jdi</groupId>
<artifactId>jdi-bdd</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
<name>JDI BDD</name>

<properties>
Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-html</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
Expand Down
6 changes: 3 additions & 3 deletions jdi-eyes-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.epam.jdi</groupId>
<artifactId>jdi-eyes-demo</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
<name>Selenium to JDI Example with Eyes</name>
<packaging>jar</packaging>

Expand All @@ -23,12 +23,12 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-eyes</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-html</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions jdi-light-angular-tests-with-mocks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<artifactId>jdi-light-angular-tests-with-mocks</artifactId>
<name>Tests: JDI Angular unit tests with mocks</name>
<version>1.3.16</version>
<version>1.3.17</version>
<groupId>com.epam.jdi</groupId>

<properties>
Expand All @@ -28,7 +28,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-angular</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions jdi-light-angular-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<artifactId>jdi-light-angular-tests</artifactId>
<name>Tests: JDI Angular</name>
<version>1.3.16</version>
<version>1.3.17</version>
<groupId>com.epam.jdi</groupId>

<properties>
Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-angular</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import static io.github.com.StaticSite.angularPage;
import static io.github.com.pages.sections.RadioButtonSection.*;
import static io.github.epam.site.steps.States.shouldBeLoggedIn;
import static com.jdiai.tools.StringUtils.format;

public class RadioButtonTests extends TestsInit {
private static final String SPRING = "Spring";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import static com.jdiai.tools.StringUtils.format;
import static io.github.com.pages.AngularPage.tabsSection;
import static com.jdiai.tools.StringUtils.format;

public class TabsBasicTests extends TestsTabGroupBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import static com.jdiai.tools.StringUtils.format;
import static io.github.com.pages.AngularPage.tabsSection;
import static com.jdiai.tools.StringUtils.format;

public class TabsWIthAsyncLoadingContentTests extends TestsTabGroupBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import static com.epam.jdi.light.elements.composite.WebPage.refresh;
import static com.jdiai.tools.StringUtils.format;
import static io.github.com.pages.AngularPage.tabsSection;
import static com.jdiai.tools.StringUtils.format;

public class TabsWihLazilyLoadedContentTests extends TestsTabGroupBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import static com.jdiai.tools.StringUtils.format;
import static io.github.com.pages.AngularPage.tabsSection;
import static com.jdiai.tools.StringUtils.format;

public class TabsWithCustomLabelTemplateTests extends TestsTabGroupBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import static com.jdiai.tools.StringUtils.format;
import static io.github.com.pages.AngularPage.tabsSection;
import static com.jdiai.tools.StringUtils.format;

public class TabsWithCustomizingThemesTests extends TestsTabGroupBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import static com.jdiai.tools.StringUtils.format;
import static io.github.com.pages.AngularPage.tabsSection;
import static com.jdiai.tools.StringUtils.format;

public class TabsWithDynamicallyChangingTabsTests extends TestsTabGroupBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import static com.jdiai.tools.StringUtils.format;
import static io.github.com.pages.AngularPage.tabsSection;
import static com.jdiai.tools.StringUtils.format;

public class TabsWithHeadersOnTheBottomTests extends TestsTabGroupBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import static com.jdiai.tools.StringUtils.format;
import static io.github.com.pages.AngularPage.tabsSection;
import static com.jdiai.tools.StringUtils.format;

public class TabsWithNavBarTests extends TestsTabGroupBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import static io.github.epam.site.steps.States.shouldBeLoggedIn;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import static com.jdiai.tools.StringUtils.format;

public class DatepickerContainerUnitTests extends TestsInit {
private DatepickerContainer container;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import static io.github.epam.site.steps.States.shouldBeLoggedIn;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import static com.jdiai.tools.StringUtils.format;

public class DatepickerUnitTests extends TestsInit {
@BeforeMethod(alwaysRun = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import static io.github.com.pages.sections.PaginatorSection.*;
import static io.github.epam.site.steps.States.shouldBeLoggedIn;
import static org.testng.Assert.*;
import static com.jdiai.tools.StringUtils.format;

public class PaginatorUnitTests extends TestsInit {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import static io.github.com.pages.AngularPage.tabsSection;
import static io.github.epam.site.steps.States.shouldBeLoggedIn;
import static org.testng.Assert.assertTrue;
import static com.jdiai.tools.StringUtils.format;

public class TabGroupUnitTests extends TestsInit {

Expand Down
4 changes: 2 additions & 2 deletions jdi-light-angular/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<artifactId>jdi-light-angular</artifactId>
<packaging>jar</packaging>
<name>JDI Angular</name>
<version>1.3.16</version>
<version>1.3.17</version>
<groupId>com.epam.jdi</groupId>

<properties>
Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-html</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
</dependencies>

Expand Down
6 changes: 3 additions & 3 deletions jdi-light-applitools-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<artifactId>jdi-light-applitools-tests</artifactId>
<name>Tests: JDI Light Applitools Eyes</name>
<packaging>jar</packaging>
<version>1.3.16</version>
<version>1.3.17</version>
<groupId>com.epam.jdi</groupId>

<properties>
Expand All @@ -26,12 +26,12 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-html</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-eyes</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
Expand Down
4 changes: 2 additions & 2 deletions jdi-light-bootstrap-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<version>1.3.16</version>
<version>1.3.17</version>
<artifactId>jdi-light-bootstrap-tests</artifactId>
<name>Tests: JDI Bootstrap</name>
<groupId>com.epam.jdi</groupId>
Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-bootstrap</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>

<!--Allure config in parent-->
Expand Down
4 changes: 2 additions & 2 deletions jdi-light-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<artifactId>jdi-light-bootstrap</artifactId>
<name>JDI Light Bootstrap Elements</name>
<packaging>jar</packaging>
<version>1.3.16</version>
<version>1.3.17</version>
<groupId>com.epam.jdi</groupId>

<properties>
Expand All @@ -20,7 +20,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-html</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions jdi-light-eyes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<artifactId>jdi-light-eyes</artifactId>
<name>JDI Light Applitools Eyes</name>
<packaging>jar</packaging>
<version>1.3.16</version>
<version>1.3.17</version>
<groupId>com.epam.jdi</groupId>

<properties>
Expand All @@ -19,7 +19,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>

<!-- Applitools SDK -->
Expand Down
4 changes: 2 additions & 2 deletions jdi-light-html-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<version>1.3.16</version>
<version>1.3.17</version>
<artifactId>jdi-light-html-tests</artifactId>
<name>Tests: JDI Html</name>
<groupId>com.epam.jdi</groupId>
Expand All @@ -26,7 +26,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-html</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>

<!--Allure config in parent-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ public static void shouldBeLoggedIn() {
}
@Step
public static void moveToHomePage() {
if (!verifyUrl("https://jdi-testing.github.io/jdi-light/") || epamLogo.isNotExist())
if (!verifyUrl("https://jdi-testing.github.io/jdi-light/") || epamLogo.isNotExist()) {
homePage.open();
}
}
@Step
public static void login() {
if (loginForm.isHidden())
if (loginForm.isHidden()) {
userIcon.click();
}
loginForm.is().displayed();
loginForm.submit(DEFAULT_USER);
userName.has().text("ROMAN IOVLEV");
Expand Down
4 changes: 2 additions & 2 deletions jdi-light-html/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<artifactId>jdi-light-html</artifactId>
<name>JDI Light Html Elements</name>
<packaging>jar</packaging>
<version>1.3.16</version>
<version>1.3.17</version>
<groupId>com.epam.jdi</groupId>

<properties>
Expand All @@ -20,7 +20,7 @@
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light</artifactId>
<version>1.3.16</version>
<version>1.3.17</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions jdi-light-mobile-bootstrap-web-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<version>1.3.16</version>
<version>1.3.17</version>
<artifactId>jdi-light-mobile-bootstrap-web-tests</artifactId>
<name>Tests: JDI Mobile Bootstrap Web tests</name>
<groupId>com.epam.jdi</groupId>
Expand All @@ -17,7 +17,7 @@
<allure.maven>2.10.0</allure.maven>
<jetty.version>9.4.12.RC2</jetty.version>
<aspectj.version>1.9.7</aspectj.version>
<jdi.version>1.3.16</jdi.version>
<jdi.version>1.3.17</jdi.version>
<suite.xml.file>src/test/resources/demoRun.xml</suite.xml.file>
<suite.xml.file>src/test/resources/general.xml</suite.xml.file>
</properties>
Expand Down
4 changes: 2 additions & 2 deletions jdi-light-mobile-html-web-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<version>1.3.16</version>
<version>1.3.17</version>
<artifactId>jdi-light-mobile-html-web-tests</artifactId>
<name>Tests: JDI Mobile HTML Web</name>
<groupId>com.epam.jdi</groupId>
Expand All @@ -17,7 +17,7 @@
<allure.maven>2.10.0</allure.maven>
<jetty.version>9.4.12.RC2</jetty.version>
<aspectj.version>1.9.7</aspectj.version>
<jdi.version>1.3.16</jdi.version>
<jdi.version>1.3.17</jdi.version>
<suite.xml.file>src/test/resources/demoRun.xml</suite.xml.file>
<suite.xml.file>src/test/resources/general.xml</suite.xml.file>
</properties>
Expand Down
Loading

0 comments on commit 18a15dd

Please sign in to comment.