Skip to content

Commit

Permalink
Use loginForm.getButtonByName("login") after bump to Keycloak 26
Browse files Browse the repository at this point in the history
Related to quarkusio#44449 changes
  • Loading branch information
rsvoboda committed Jan 3, 2025
1 parent 977cd86 commit f9945d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ public class CodeFlowTest {
loginForm.getInputByName("username").setValueAttribute("alice");
loginForm.getInputByName("password").setValueAttribute("alice");
page = loginForm.getInputByName("login").click();
page = loginForm.getButtonByName("login").click();
assertTrue(page.asText().contains("tenant"));
}
Expand All @@ -519,7 +519,7 @@ public class CodeFlowTest {
loginForm.getInputByName("username").setValueAttribute("alice");
loginForm.getInputByName("password").setValueAttribute("alice");
page = loginForm.getInputByName("login").click();
page = loginForm.getButtonByName("login").click();
assertTrue(page.asText().contains("alice@tenant-a.org"));
}
Expand Down

0 comments on commit f9945d7

Please sign in to comment.