Skip to content

Commit e305eb0

Browse files
committed
Update expected class name for the API key display field
1 parent c4fb833 commit e305eb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/org/labkey/test/components/core/ApiKeyDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ protected class ElementCache extends ModalDialog.ElementCache
182182
OptionSelect<OptionSelect.SelectOption> restrictionRoleSelect = new OptionSelect<>(Locator.tagWithId("select", "keyRole")
183183
.findWhenNeeded(this).withTimeout(2000));
184184
WebElement generateApiKeyButton = Locator.tagWithText("button", "Generate API Key").findWhenNeeded(this);
185-
Input inputField = Input.Input(Locator.tagWithClass("input", "api-key__input"), getDriver()).findWhenNeeded(this);
185+
Input inputField = Input.Input(Locator.tagWithClass("input", "api-key__display"), getDriver()).findWhenNeeded(this);
186186
WebElement copyKeyButton = Locator.tagWithName("button", "copy_apikey_token").findWhenNeeded(this);
187187
WebElement doneButton = Locator.tagWithText("button", "Done").findWhenNeeded(this);
188188
}

0 commit comments

Comments
 (0)