Skip to content

Commit

Permalink
Fix selectors for file upload elements
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-alan committed Dec 20, 2024
1 parent 2ffa63c commit 4fc2366
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected class ElementCache extends Component<?>.ElementCache
// Elements for new attachment
WebElement tempFileLoc = Locator.tagWithClass("div", "attached-file__inline-container")
.refindWhenNeeded(this);
WebElement removeBtn = Locator.tagWithClass("span", "file-upload__remove--icon")
WebElement removeBtn = Locator.tagWithClass("span", "attached-file__remove-icon")
.refindWhenNeeded(this);

// Component for existing attachment
Expand Down

0 comments on commit 4fc2366

Please sign in to comment.