Skip to content

Commit

Permalink
Backporting various fixes from develop. (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-danield authored Jul 24, 2023
1 parent ab9eefd commit ef19cf2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import org.jetbrains.annotations.Nullable;
import org.labkey.test.Locator;
import org.labkey.test.components.react.ReactSelect;
import org.labkey.test.WebDriverWrapper;
import org.labkey.test.components.html.Input;
import org.labkey.test.components.react.ReactSelect;
import org.labkey.test.components.ui.domainproperties.EntityTypeDesigner;
import org.openqa.selenium.NotFoundException;
import org.openqa.selenium.WebDriver;
Expand Down Expand Up @@ -47,6 +48,10 @@ public T addParentAlias(String alias)
public T addParentAlias(String alias, @Nullable String optionDisplayText)
{
expandPropertiesPanel();

WebDriverWrapper.waitFor(elementCache().addAliasButton::isDisplayed,
"'Add Parent Alias' button is not visible.", 2_500);

elementCache().addAliasButton.click();
int initialCount = findEmptyAlias();
if (optionDisplayText == null)
Expand Down

0 comments on commit ef19cf2

Please sign in to comment.