Skip to content

Commit

Permalink
fix: Fixes broken e2e test (#50)
Browse files Browse the repository at this point in the history
* fix: fixes broken e2e test

* chore: bumps version
  • Loading branch information
morgannewman committed Apr 19, 2019
1 parent bae47dd commit 9692671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
@@ -1,6 +1,6 @@
libGroup=com.smartcar.sdk
libName=java-sdk
libVersion=2.0.1
libVersion=2.0.2
libDescription=The Smartcar Java SDK
libUrl=https://github.com/smartcar/java-sdk

Expand Down
2 changes: 1 addition & 1 deletion src/integration/java/com/smartcar/sdk/IntegrationTest.java
Expand Up @@ -103,7 +103,7 @@ private String getAuthCode(String connectAuthUrl, String oemUsername, String oem
// 3 -- Enter OEM user credentials and submit the form.
this.driver.findElement(By.cssSelector("input#username")).sendKeys(oemUsername);
this.driver.findElement(By.cssSelector("input#password")).sendKeys(oemPassword);
this.driver.findElement(By.cssSelector("#approval-button")).submit();
this.driver.findElement(By.cssSelector("#sign-in-button")).submit();

// 4 -- Approve/grant access to the checked vehicles bu submitting the next form.
this.wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector(".review-permissions")));
Expand Down

0 comments on commit 9692671

Please sign in to comment.