Skip to content

Commit

Permalink
fix mui v5 button locator (#2044)
Browse files Browse the repository at this point in the history
  • Loading branch information
subhashkhileri authored Dec 3, 2024
1 parent a7ce1a9 commit dc832f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/playwright/support/pageObjects/global-obj.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const WAIT_OBJECTS = {

export const UI_HELPER_ELEMENTS = {
MuiButtonLabel:
'span[class^="MuiButton-label"],button[class~="MuiButton-root"]',
'span[class^="MuiButton-label"],button[class*="MuiButton-root"]',
MuiToggleButtonLabel: 'span[class^="MuiToggleButton-label"]',
MuiBoxLabel: 'div[class*="MuiBox-root"] label',
MuiTableHead: 'th[class*="MuiTableCell-root"]',
Expand Down

0 comments on commit dc832f5

Please # to comment.