We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f2887 commit 93cead3Copy full SHA for 93cead3
tests/govtool-frontend/playwright/lib/pages/proposalDiscussionPage.ts
@@ -92,10 +92,11 @@ export default class ProposalDiscussionPage {
92
filters: string[],
93
validateFunction: (proposalCard: any, filters: string[]) => Promise<boolean>
94
) {
95
+ await this.page.waitForTimeout(4_000); // wait for the proposals to load
96
// single filter
97
for (const filter of filters) {
98
await this.filterProposalByNames([filter]);
- await this.validateFilters(filters, validateFunction);
99
+ await this.validateFilters([filter], validateFunction);
100
await this.unFilterProposalByNames([filter]);
101
}
102
0 commit comments