Skip to content

Commit 93cead3

Browse files
committed
fix: check on current category only instead of all
1 parent 55f2887 commit 93cead3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/govtool-frontend/playwright/lib/pages/proposalDiscussionPage.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@ export default class ProposalDiscussionPage {
9292
filters: string[],
9393
validateFunction: (proposalCard: any, filters: string[]) => Promise<boolean>
9494
) {
95+
await this.page.waitForTimeout(4_000); // wait for the proposals to load
9596
// single filter
9697
for (const filter of filters) {
9798
await this.filterProposalByNames([filter]);
98-
await this.validateFilters(filters, validateFunction);
99+
await this.validateFilters([filter], validateFunction);
99100
await this.unFilterProposalByNames([filter]);
100101
}
101102

0 commit comments

Comments
 (0)