Skip to content

Commit

Permalink
Update admin test to switch to user permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
wcgunter committed Nov 20, 2023
1 parent a909911 commit 29c3909
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static org.junit.Assert.assertTrue;

import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -85,6 +86,8 @@ public void runGroupsTest() {
createAuthorizationButton.click();
sleep(1000);

WebElement groupOrUserToggle = driver.findElement(By.cssSelector(".input-group-addon"));
groupOrUserToggle.click();
WebElement userIdField = findElByXPath("//input[@type='text']");
userIdField.sendKeys(USERNAME);
sleep(1000);
Expand Down

0 comments on commit 29c3909

Please sign in to comment.