diff --git a/packages/calcite-components/src/components/combobox/combobox.e2e.ts b/packages/calcite-components/src/components/combobox/combobox.e2e.ts index e07a1427da7..29db651fd1f 100644 --- a/packages/calcite-components/src/components/combobox/combobox.e2e.ts +++ b/packages/calcite-components/src/components/combobox/combobox.e2e.ts @@ -1191,25 +1191,20 @@ describe("calcite-combobox", () => { - - - + `); - const element = await page.find("#myCombobox"); await element.click(); const item1 = await page.find("calcite-combobox-item#one"); const item2 = await page.find("calcite-combobox-item#two"); - const item3 = await page.find("calcite-combobox-item:last-child"); await item1.click(); await item2.click(); - await item3.click(); await element.click(); - await element.press("Backspace"); - expect((await element.getProperty("selectedItems")).length).toBe(2); + await element.press("Delete"); + expect((await element.getProperty("selectedItems")).length).toBe(1); }); });