Skip to content

Commit

Permalink
chore(*): add missing toLowerCase
Browse files Browse the repository at this point in the history
  • Loading branch information
mddragnev committed Dec 13, 2024
1 parent 41e23d4 commit 53a39d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ export class GridFunctions {
public static clickCancelExcelStyleFiltering(fix: ComponentFixture<any>, menu = null) {
const excelMenu = menu ? menu : GridFunctions.getExcelStyleFilteringComponent(fix);
const flatButtons = Array.from(excelMenu.querySelectorAll('.igx-button--flat'));
const cancelButton: any = flatButtons.find((rb: any) => rb.innerText === 'cancel');
const cancelButton: any = flatButtons.find((rb: any) => rb.innerText.toLowerCase() === 'cancel');
cancelButton.click();
}

Expand Down

0 comments on commit 53a39d6

Please sign in to comment.