Skip to content

Commit ff17a53

Browse files
committed
e2e: buttons might also be not matButton (but, eg, mat-raised-button) #11936
1 parent c8bf405 commit ff17a53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function formControlName(name: string): string {
88
}
99

1010
export function buttonLabel(label: string): string {
11-
return `//*[@matButton and contains(., '${label}')]`;
11+
return `//button[contains(., '${label}')] | //*[@matButton and contains(., '${label}')]`;
1212
}
1313

1414
export async function naturalSelect(page: Page, selector: string, value: string): Promise<unknown> {

0 commit comments

Comments
 (0)