Skip to content

Commit

Permalink
- Updated to Selenium 3.0.0
Browse files Browse the repository at this point in the history
- Updated all other deps
  • Loading branch information
ham1 committed Oct 14, 2016
1 parent a57ee21 commit c4031b4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ env:
- SUT_NAME="frameworkium-core"
- SUT_VERSION=$TRAVIS_BRANCH
- THREAD_COUNT=2
- SELENIUM_MAJ_VER=2.53
- SELENIUM_VER=$SELENIUM_MAJ_VER.1
- SELENIUM_MAJ_VER=3.0
- SELENIUM_VER=$SELENIUM_MAJ_VER.0

before_script:
- export DISPLAY=:99.0
Expand Down
28 changes: 14 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.53.1</version>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>com.codeborne</groupId>
Expand All @@ -60,12 +60,12 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<version>6.9.13.6</version>
</dependency>
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-testng-adaptor</artifactId>
<!-- version 1.5.x hasn't been updated since Jan. -->
<!-- version 1.5.0.RC2 hasn't been updated since Jan. -->
<version>1.4.24.RC3</version>
</dependency>
<dependency>
Expand All @@ -76,7 +76,7 @@
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>4.1.0</version>
<version>4.1.2</version>
</dependency>
<dependency>
<groupId>com.saucelabs</groupId>
Expand All @@ -86,22 +86,22 @@
<dependency>
<groupId>com.saucelabs</groupId>
<artifactId>saucerest</artifactId>
<version>1.0.33</version>
<version>1.0.35</version>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>0.28</version>
<version>0.30</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.6.2</version>
<version>2.7</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.6.2</version>
<version>2.7</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand All @@ -111,7 +111,7 @@
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.0.0</version>
<version>3.0.1</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.groovy</groupId>
Expand Down Expand Up @@ -149,12 +149,12 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20160212</version>
<version>20160810</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.8.1</version>
<version>2.8.4</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
Expand All @@ -166,7 +166,7 @@
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>1.1-groovy-2.4-rc-1</version>
<version>1.1-groovy-2.4-rc-2</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -180,13 +180,13 @@
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.2.4</version>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-testng</artifactId>
<version>1.2.4</version>
<version>1.2.5</version>
</dependency>

</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void beforeClickOn(WebElement element, WebDriver driver) {
}

@Override
public void afterChangeValueOf(WebElement element, WebDriver driver) {
public void afterChangeValueOf(WebElement element, WebDriver driver, CharSequence[] chars) {
takeScreenshotAndSend("change", driver);
}

Expand Down Expand Up @@ -119,7 +119,7 @@ public void onException(Throwable thrw, WebDriver driver) {}
public void afterClickOn(WebElement element, WebDriver driver) {}

@Override
public void beforeChangeValueOf(WebElement element, WebDriver driver) {}
public void beforeChangeValueOf(WebElement webElement, WebDriver webDriver, CharSequence[] charSequences) {}

@Override
public void afterFindBy(By by, WebElement arg1, WebDriver arg2) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class EventListener implements WebDriverEventListener {
private static final Logger logger = LogManager.getLogger();

@Override
public void afterChangeValueOf(WebElement element, WebDriver driver) {
public void afterChangeValueOf(WebElement element, WebDriver driver, CharSequence[] charSequences) {
logger.debug("changed value of element with " + getLocatorFromElement(element));
}

Expand Down Expand Up @@ -61,7 +61,7 @@ public void afterScript(String script, WebDriver driver) {
}

@Override
public void beforeChangeValueOf(WebElement element, WebDriver driver) {
public void beforeChangeValueOf(WebElement element, WebDriver driver, CharSequence[] charSequences) {
logger.debug("change value of element with " + getLocatorFromElement(element));
}

Expand Down

0 comments on commit c4031b4

Please sign in to comment.