We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8bf405 commit ff17a53Copy full SHA for ff17a53
1 file changed
e2e/utils.ts
@@ -8,7 +8,7 @@ export function formControlName(name: string): string {
8
}
9
10
export function buttonLabel(label: string): string {
11
- return `//*[@matButton and contains(., '${label}')]`;
+ return `//button[contains(., '${label}')] | //*[@matButton and contains(., '${label}')]`;
12
13
14
export async function naturalSelect(page: Page, selector: string, value: string): Promise<unknown> {
0 commit comments