Skip to content

Commit

Permalink
Merge branch 'main' into junit5-support
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreding2010 authored Oct 31, 2023
2 parents e4e883a + 2c34cdd commit 663c84d
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 26 deletions.
17 changes: 9 additions & 8 deletions openmaqs-appium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<appiumjavaclient.version>8.3.0</appiumjavaclient.version>
<appiumjavaclient.version>8.6.0</appiumjavaclient.version>
<appium.selenium.version>4.13.0</appium.selenium.version>
</properties>

<dependencies>
Expand All @@ -29,12 +30,17 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
<version>${selenium.version}</version>
<version>${appium.selenium.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
<version>${selenium.version}</version>
<version>${appium.selenium.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${appium.selenium.version}</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
Expand All @@ -60,10 +66,5 @@
<version>1.7.32</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium.version}</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ public void testGetDeviceName() {
/**
* Test get mobile hub url string.
*/
// FIXME: Oct 31
@Ignore
@Test(groups = TestCategories.APPIUM)
public void testGetMobileHubUrlString() {
String mobileHubUrl = AppiumConfig.getMobileHubUrlString();
Assert.assertTrue(mobileHubUrl.contains("https://")
&& mobileHubUrl.contains("ondemand.us-west-1.saucelabs.com:443/wd/hub"));
Assert.assertEquals(mobileHubUrl, "http://ondemand.saucelabs.com:80/wd/hub");
}

/**
Expand Down
3 changes: 1 addition & 2 deletions openmaqs-cucumber/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<commonsio.version>2.6</commonsio.version>
<cucumber.version>7.2.1</cucumber.version>
<cucumber.version>7.14.0</cucumber.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion openmaqs-database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<properties>
<hibernate-core.version>5.6.3.Final</hibernate-core.version>
<sqlite-jdbc.version>3.36.0.3</sqlite-jdbc.version>
<sqlite-jdbc.version>3.41.2.2</sqlite-jdbc.version>
<mssql-jdbc.version>8.2.2.jre8</mssql-jdbc.version>
<javax.persistence.version>2.2.1</javax.persistence.version>
<commons-io.version>2.11.0</commons-io.version>
Expand Down
2 changes: 1 addition & 1 deletion openmaqs-playwright/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<version>${revision}</version>

<properties>
<playwright.version>1.29.0</playwright.version>
<playwright.version>1.39.0</playwright.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public void textContentTest() {
*/
@Test(groups = TestCategories.PLAYWRIGHT)
public void titleTest() {
Assert.assertEquals(this.getPageDriver().title(), "Automation - Magenic Automation Test Site");
Assert.assertEquals(this.getPageDriver().title(), "Automation - MAQS Test Site");
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public void getHeadlessChromeDriverTest() {
/**
* Tests getting the Fire Fox driver.
*/
// FIXME: 31-Oct-23
@Ignore
@Test(groups = TestCategories.SELENIUM)
public void getFirefoxDriverTest() {
Expand All @@ -146,6 +147,8 @@ public void getFirefoxDriverTest() {
/**
* Tests getting the Edge driver.
*/
// FIXME: 31-Oct-23
@Ignore
@Test(groups = TestCategories.SELENIUM)
public void getEdgeDriverTest() {
EdgeDriver driver = null;
Expand Down Expand Up @@ -179,9 +182,10 @@ public void getInternetExplorerDriverTest() {
/**
* Tests getting the Headless driver.
*/
@Test(groups = TestCategories.SELENIUM)
@Ignore
// FIXME: 31-Oct-23
// TODO: Remote driver not being instantiated.
@Ignore
@Test(groups = TestCategories.SELENIUM)
public void getRemoteDriverTest() {
RemoteWebDriver driver = null;
try {
Expand Down
4 changes: 2 additions & 2 deletions openmaqs-utilities/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<version>${revision}</version>

<properties>
<commons-io.version>2.11.0</commons-io.version>
<commons.io.version>2.11.0</commons.io.version>
<commons.configuration2.version>2.8.0</commons.configuration2.version>
<commons.bean-utils.version>1.9.4</commons.bean-utils.version>
<apache.commons-text.version>1.10.0</apache.commons-text.version>
Expand All @@ -27,7 +27,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version} </version>
<version>${commons.io.version} </version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
11 changes: 4 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,9 @@
<surefire.plugin.version>3.0.0-M6</surefire.plugin.version>

<jacoco.version>0.8.7</jacoco.version>
<testng.version>7.5</testng.version>
<selenium.version>4.8.0</selenium.version>

<chromedriver.version>108.0.5359.71</chromedriver.version>
<geckodriver.version>0.28.0</geckodriver.version>
<edgedriver.version>5.16299</edgedriver.version>
<testng.version>7.8.0</testng.version>
<selenium.version>4.14.1</selenium.version>
<webdrivermanager.version>5.6.0</webdrivermanager.version>

<release.plugin.profiles>release</release.plugin.profiles>
<release.plugin.goals>deploy</release.plugin.goals>
Expand All @@ -263,7 +260,7 @@
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.1.0</version>
<version>${webdrivermanager.version}</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
Expand Down

0 comments on commit 663c84d

Please sign in to comment.