Skip to content

Commit

Permalink
improve funciton wth wait for page load
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchudy committed Sep 7, 2024
1 parent 54be57c commit 4f42152
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/utils/recordset-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,8 @@ export async function testBulkEditLink(page: Page, url: string, count: number) {
await test.step(`clicking edit will show ${count} forms.`, async () => {
await expect.soft(RecordsetLocators.getRows(page)).toHaveCount(count);
await RecordsetLocators.getBulkEditLink(page).click();

await RecordeditLocators.waitForRecordeditPageReady(page);
await expect.soft(RecordeditLocators.getRecordeditForms(page)).toHaveCount(count);
});
}

0 comments on commit 4f42152

Please sign in to comment.