Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lkwg82 committed Sep 29, 2024
1 parent 8c053d6 commit d6d0138
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import de.lgohlke.homebanking.institutes.InstitutePage;
import org.junit.jupiter.api.Test;

import java.util.List;

import static org.assertj.core.api.Assertions.assertThat;

class TradeRepublicPageIT {
Expand All @@ -28,7 +30,10 @@ void test_login_Page() {
Page page = iPage.getPage();
String headline = page.locator(".loginPhoneNumber h2").textContent();

assertThat(headline).isEqualTo("Gib deine Telefonnummer ein");
assertThat(headline).isIn(List.of(
"Gib deine Telefonnummer ein", // deutsch
"Log in with your phone number" // english
));
}
}
}
Expand Down

0 comments on commit d6d0138

Please sign in to comment.