Skip to content
Snippets Groups Projects
Commit 7b6c0f80 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#563 - fixed selenium test

parent 394a7084
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ public class NewTransactionFromTemplateTest ...@@ -99,7 +99,7 @@ public class NewTransactionFromTemplateTest
wait.until(ExpectedConditions.textToBePresentInElementLocated(By.cssSelector(".headline"), "New Transaction")); wait.until(ExpectedConditions.textToBePresentInElementLocated(By.cssSelector(".headline"), "New Transaction"));
// assert // assert
assertThat(driver.findElement(By.className("buttonExpenditure")).getAttribute("class")).contains(background); assertThat(driver.findElement(By.className("buttonExpenditure")).getAttribute("class")).contains("background-red");
assertThat(driver.findElement(By.id("transaction-name")).getAttribute("value")).isEqualTo("NameFromTemplate"); assertThat(driver.findElement(By.id("transaction-name")).getAttribute("value")).isEqualTo("NameFromTemplate");
assertThat(driver.findElement(By.id("transaction-amount")).getAttribute("value")).isEqualTo("15.00"); assertThat(driver.findElement(By.id("transaction-amount")).getAttribute("value")).isEqualTo("15.00");
assertThat(driver.findElement(By.id("transaction-description")).getAttribute("value")).isEqualTo("DescriptionFromTemplate"); assertThat(driver.findElement(By.id("transaction-description")).getAttribute("value")).isEqualTo("DescriptionFromTemplate");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment