Skip to content

Commit

Permalink
fix commerce query summary
Browse files Browse the repository at this point in the history
  • Loading branch information
alexprudhomme committed Jul 30, 2024
1 parent 2488ae8 commit ce386cc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export class QuerySummaryPageObject extends BasePageObject<'atomic-commerce-quer
}

text(summaryRegex: RegExp) {
return this.page.getByText(summaryRegex);
return this.page
.locator(':not([role="status"])')
.filter({hasText: summaryRegex});
}

get container() {
Expand Down

0 comments on commit ce386cc

Please sign in to comment.