81206f1eef
* feat: upgrade widget * test: swap widget integration tests * test: handle conditional token safety warning * fix: yarn dedup * fix: try reformatting cy commands * test: try waiting for page to load * fix: update test * fix: update test * fix: test
6 lines
272 B
TypeScript
6 lines
272 B
TypeScript
export const getTestSelector = (selectorId: string) => `[data-testid=${selectorId}]`
|
|
|
|
export const getTestSelectorStartsWith = (selectorId: string) => `[data-testid^=${selectorId}]`
|
|
|
|
export const getClassContainsSelector = (selectorId: string) => `[class*=${selectorId}]`
|