Skip to content

Commit

Permalink
Fix CSS selectors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-alan committed Dec 10, 2024
1 parent b0d2ce9 commit 1075e7e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ protected ElementCache elementCache()

protected class ElementCache extends Component<?>.ElementCache
{
public Locator removeIconLoc = Locator.tagWithClass("span", "file-upload__remove--icon");
public Locator removeIconLoc = Locator.byClass("attached-file__remove-icon");
public WebElement removeIcon = removeIconLoc.findWhenNeeded(this);
public WebElement fileIcon = Locator.tagWithClass("span", "attached-file--icon").findWhenNeeded(this);
public WebElement fileIcon = Locator.byClass("attached-file__icon").findWhenNeeded(this);
}


Expand Down

0 comments on commit 1075e7e

Please sign in to comment.