Skip to content

Commit

Permalink
#1780 fix flaky test
Browse files Browse the repository at this point in the history
* "#text-area" is automatically filled by JS at the same time
* it's better to use another text area which is always empty.
  • Loading branch information
asolntsev committed Aug 3, 2022
1 parent 4d860fe commit 3f4b38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions statics/src/test/java/integration/GetSetValueTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ void valueCheckIgnoresDifferenceInInvisibleCharacters() {
$(By.name("password")).setValue("john \u00a0 Malkovich");
$(By.name("password")).shouldHave(value("john Malkovich"));

$("#text-area").setValue("john \u00a0 \r\nMalkovich\n");
$("#text-area").shouldHave(value("john Malkovich"));
$("#empty-text-area").setValue("john \u00a0 \r\nMalkovich\n");
$("#empty-text-area").shouldHave(value("john Malkovich"));
}

@Test
Expand Down

0 comments on commit 3f4b38d

Please sign in to comment.