Skip to content

Commit 6aaaa62

Browse files
test(datagrid-web): increase delay for better e2e test handling
1 parent cd97e61 commit 6aaaa62

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/pluggableWidgets/datagrid-web/e2e/filtering/DataGridFilteringMulti.spec.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ test.describe("datagrid-web filtering multi select", () => {
5353
await page.waitForLoadState("networkidle");
5454
await expect(await column(3).first()).toHaveText(expectedColumnText[0]);
5555
await roleSelect().click();
56-
await option("Economist").click({ delay: 10 });
56+
await option("Economist").click({ delay: 20 });
5757
await expect(await rows()).toHaveCount(6);
58-
await option("Public librarian").click({ delay: 50 });
58+
await option("Public librarian").click({ delay: 20 });
5959
await expect(await rows()).toHaveCount(10);
60-
await roleSelect().click({ delay: 1 });
60+
await roleSelect().click({ delay: 20 });
6161
await page.waitForTimeout(300);
6262
const columnTexts = await column(3).allTextContents();
6363
expectedColumnText.forEach((text, index) => {
@@ -79,12 +79,12 @@ test.describe("datagrid-web filtering multi select", () => {
7979
await expect(rowCount).toHaveCount(11);
8080
await expect(await column(4).first()).toHaveText("W.R. Berkley Corporation");
8181
await expect(await column(4).last()).toHaveText("PETsMART Inc");
82-
await companySelect().click({ delay: 1 });
83-
await option("FMC Corp").click({ delay: 10 });
82+
await companySelect().click({ delay: 20 });
83+
await option("FMC Corp").click({ delay: 20 });
8484
await expect(await rows()).toHaveCount(2);
85-
await option("ALLETE, Inc.").click({ delay: 50 });
85+
await option("ALLETE, Inc.").click({ delay: 20 });
8686
await expect(await rows()).toHaveCount(6);
87-
await page.getByRole("columnheader", { name: "Company" }).getByRole("combobox").click({ delay: 1 });
87+
await page.getByRole("columnheader", { name: "Company" }).getByRole("combobox").click({ delay: 20 });
8888
await page.waitForTimeout(300);
8989
const columnText = await column(4).allTextContents();
9090
expect(columnText).toEqual(

0 commit comments

Comments
 (0)