Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 349be69

Browse files
1.12.6 and fix a couple tests
1 parent d205c75 commit 349be69

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

SeleniumGridExtras/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.groupon.selenium-grid-extras</groupId>
66
<artifactId>SeleniumGridExtras</artifactId>
7-
<version>1.12.15-SNAPSHOT</version>
7+
<version>1.12.16-SNAPSHOT</version>
88

99
<repositories>
1010
<repository>

SeleniumGridExtras/src/test/java/com/groupon/seleniumgridextras/downloader/GridExtrasDownloaderTest.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
public class GridExtrasDownloaderTest {
2222

23-
public static final String EXPECTED_VERSION = "1.3.3";
24-
public static final String EXPECTED_133_DOWNLOAD_URL = "https://github.com/groupon/Selenium-Grid-Extras/releases/download/v1.3.3/SeleniumGridExtras-1.3.3-SNAPSHOT-jar-with-dependencies.jar";
23+
public static final String EXPECTED_VERSION = "1.10.1";
24+
public static final String EXPECTED_1101_DOWNLOAD_URL = "https://github.com/groupon/Selenium-Grid-Extras/releases/download/1.10.1/SeleniumGridExtras-1.10.1-SNAPSHOT-jar-with-dependencies.jar";
2525
public static final String GRID_EXTRAS_RELEASE_API_URL = "https://api.github.com/repos/groupon/Selenium-Grid-Extras/releases";
2626
public static final String EXPECTED_171_URL = "https://github.com/groupon/Selenium-Grid-Extras/releases/download/v1.7.1/SeleniumGridExtras-1.7.1-SNAPSHOT-jar-with-dependencies.jar";
27-
public static final String EXPECTED_JAR_NAME = "SeleniumGridExtras-1.3.3-SNAPSHOT-jar-with-dependencies.jar";
27+
public static final String EXPECTED_JAR_NAME = "SeleniumGridExtras-1.10.1-SNAPSHOT-jar-with-dependencies.jar";
2828
public static final int GRID_EXTRAS_AUTO_UPDATE_CHECK_INTERVAL = 2000;
2929
private GridExtrasDownloader downloader;
3030
private File testDir = new File("grid_extras_downloader_test");
@@ -119,7 +119,7 @@ public void testGetVersion() throws Exception {
119119

120120
@Test
121121
public void testGetDownloadJarUrl() throws Exception {
122-
assertEquals(EXPECTED_133_DOWNLOAD_URL, downloader.getJarUrl());
122+
assertEquals(EXPECTED_1101_DOWNLOAD_URL, downloader.getJarUrl());
123123

124124
GridExtrasDownloader downloader2 = new GridExtrasDownloader();
125125

@@ -144,9 +144,8 @@ public void testDownload() throws Exception {
144144
assertEquals(true, downloader.download());
145145
assertEquals(true, expectedFile.exists());
146146

147-
assertTrue(expectedFile.length() > 4697835);
148-
assertTrue(expectedFile.length() < 8697835);
149-
147+
assertTrue("Expected File Length " + expectedFile.length() + " should be greater than 45610976", expectedFile.length() > 45610976);
148+
assertTrue("Expected File Length " + expectedFile.length() + " should be less than 65610976", expectedFile.length() < 65610976);
150149
}
151150

152151
@Test

0 commit comments

Comments
 (0)