Skip to content

Commit

Permalink
#5339 fix locator
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Apr 26, 2024
1 parent 01cb8c3 commit a6c4855
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ public class IconsPage extends WebPage {
@UI(".MuiGrid-grid-xs-8 > svg")
public static List<Icon> simpleIcons;

// @todo #5297 Fix locator to be more stable against div
@UI("//p[@id='colorLastClick']/..//div/*")
@UI("//h2[text()='Color']/following::div[1]//*[contains(@class, 'MuiSvgIcon-root')]")
public static List<Icon> colorIcons;

@UI("//p[@id='sizeLastClick']/..//div/*")
@UI("//h2[text()='Size']/following::div[1]//*[contains(@class, 'MuiSvgIcon-root')]")
public static List<Icon> differentSizesIcons;

@UI("#simpleLastClick")
Expand Down

0 comments on commit a6c4855

Please sign in to comment.