Skip to content

Commit

Permalink
chore(deps): update dependency com.github.dasniko:testcontainers-keyc…
Browse files Browse the repository at this point in the history
…loak to v3.2.0 (#187)

* chore(deps): update dependency com.github.dasniko:testcontainers-keycloak to v3.2.0

* fix: use strict getByLabel

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dominique Arnou <dominique.arnou@gmail.com>
  • Loading branch information
renovate[bot] and arnou authored Nov 23, 2023
1 parent 5352af7 commit 77b1c63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<compiler-maven-plugin.version>3.11.0</compiler-maven-plugin.version>
<testcontainers-keycloak.version>3.1.0</testcontainers-keycloak.version>
<testcontainers-keycloak.version>3.2.0</testcontainers-keycloak.version>
<rest-assured.version>5.3.2</rest-assured.version>
<slf4j-simple.version>2.0.9</slf4j-simple.version>
<playwright.version>1.40.0</playwright.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void test_should_identify_jane_with_Login_name() {
page.navigate(KEYCLOAK_CONTAINER.getAuthServerUrl() + "/realms/testloginattribute/account");
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Sign in")).click();
page.getByLabel("Username").fill(username);
page.getByLabel("Password").fill(password);
page.getByLabel("Password", new Page.GetByLabelOptions().setExact(true)).fill(password);
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Sign In")).click();
// Then
assertThat(page.locator("#landingLoggedInUser")).hasText(expected);
Expand All @@ -71,7 +71,7 @@ void test_should_identify_john_with_attribute() {
page.navigate(KEYCLOAK_CONTAINER.getAuthServerUrl() + "/realms/testloginattribute/account");
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Sign in")).click();
page.getByLabel("Username").fill(attributeValueOfJohnDoe);
page.getByLabel("Password").fill(password);
page.getByLabel("Password", new Page.GetByLabelOptions().setExact(true)).fill(password);
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Sign In")).click();
// Then
assertThat(page.locator("#landingLoggedInUser")).hasText(expected);
Expand All @@ -87,7 +87,7 @@ void test_should_not_identify_jane_with_attribute() {
page.navigate(KEYCLOAK_CONTAINER.getAuthServerUrl() + "/realms/testloginattribute/account");
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Sign in")).click();
page.getByLabel("Username").fill(attributeValueOfJaneDoe);
page.getByLabel("Password").fill(password);
page.getByLabel("Password", new Page.GetByLabelOptions().setExact(true)).fill(password);
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Sign In")).click();
// Then
assertThat(page.getByText(expected)).isVisible();
Expand Down Expand Up @@ -137,4 +137,4 @@ void test_should_not_reset_jane_with_attribute() {
// Then
assertThat(page.getByText(expected)).isVisible();
}
}
}

0 comments on commit 77b1c63

Please sign in to comment.