diff --git a/packages/calcite-components/src/components/list/list.e2e.ts b/packages/calcite-components/src/components/list/list.e2e.ts index 7eb67190a77..428149deeee 100755 --- a/packages/calcite-components/src/components/list/list.e2e.ts +++ b/packages/calcite-components/src/components/list/list.e2e.ts @@ -1933,6 +1933,7 @@ describe("calcite-list", () => { await page.keyboard.type("Bui"); await page.waitForChanges(); await page.waitForTimeout(DEBOUNCE.filter); + await page.waitForChanges(); expect(await list.getProperty("filterText")).toBe("Bui"); expect(await list.getProperty("filteredItems")).toHaveLength(2); @@ -1948,6 +1949,7 @@ describe("calcite-list", () => { await page.keyboard.press("Escape"); await page.waitForChanges(); await page.waitForTimeout(DEBOUNCE.filter); + await page.waitForChanges(); expect(await list.getProperty("filterText")).toBe(""); expect(await list.getProperty("filteredItems")).toHaveLength(8); @@ -1963,6 +1965,7 @@ describe("calcite-list", () => { await page.keyboard.type("Bea"); await page.waitForChanges(); await page.waitForTimeout(DEBOUNCE.filter); + await page.waitForChanges(); expect(await list.getProperty("filterText")).toBe("Bea"); expect(await list.getProperty("filteredItems")).toHaveLength(4); @@ -1978,6 +1981,7 @@ describe("calcite-list", () => { await page.keyboard.press("Backspace"); await page.waitForChanges(); await page.waitForTimeout(DEBOUNCE.filter); + await page.waitForChanges(); expect(await list.getProperty("filterText")).toBe("Be"); expect(await list.getProperty("filteredItems")).toHaveLength(4); });