Skip to content

Commit

Permalink
change the method of getting the value of an element for fix issue605 #…
Browse files Browse the repository at this point in the history
…605

(cherry picked from commit 736a92a)
  • Loading branch information
btyanagawamg committed Jun 12, 2017
1 parent 89fc0a5 commit 0177ac5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void test01_01_createDefaultXTrackMDC() {

// cut x-Track MDC
String targetMdc = driver.findElement(By.id("xTrackMDC")).getText();
String footerMdc = driver.findElement(By.cssSelector("p")).getText();
String footerMdc = driver.findElement(By.id("xtrack")).getText();
footerMdc = footerMdc.substring(footerMdc.indexOf(":") + 1, footerMdc
.indexOf(":") + 33);
// check default x-Track MDC
Expand All @@ -67,7 +67,7 @@ public void test01_02_createCustomXTrackMDC() {

// cut x-Track MDC
String targetMdc = driver.findElement(By.id("xTrackMDC")).getText();
String footerMdc = driver.findElement(By.cssSelector("p")).getText();
String footerMdc = driver.findElement(By.id("xtrack")).getText();
footerMdc = footerMdc.substring(footerMdc.indexOf(":") + 1, footerMdc
.indexOf(":") + 33);
// check custom x-Track MDC
Expand Down

0 comments on commit 0177ac5

Please sign in to comment.