Skip to content

Commit

Permalink
fix(test): add delay after registered individuals deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendiot42 committed Sep 13, 2024
1 parent 00b9e1c commit 247fdb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests_UI/test-1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -695,8 +695,10 @@ async function registerIndividuals(
for (let ind of ind_list) {
await page.getByRole("cell", { name: ind }).click();
}
await expect(page.getByRole("button", { name: "Delete" })).toBeVisible();
await page.getByRole("button", { name: "Delete" }).click();
}
await page.waitForTimeout(500);

// add specified inds
await page.locator(".tab-pane .active").locator(".selectize-input").click();
Expand Down

0 comments on commit 247fdb7

Please sign in to comment.