diff --git a/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options--open-selected.png b/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options--open-selected.png deleted file mode 100644 index 27915188e..000000000 Binary files a/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options--open-selected.png and /dev/null differ diff --git a/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options--open-unselected.png b/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options--open-unselected.png deleted file mode 100644 index baddcb5e4..000000000 Binary files a/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options--open-unselected.png and /dev/null differ diff --git a/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options-Non-selected--open.png b/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options-Non-selected--open.png new file mode 100644 index 000000000..17d1f1e1c Binary files /dev/null and b/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options-Non-selected--open.png differ diff --git a/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options-Selected--open.png b/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options-Selected--open.png new file mode 100644 index 000000000..3effcaa1d Binary files /dev/null and b/e2e/tests/components/input-group/__screenshots__/chromium/Input-Group-List-Disabled-options-Selected--open.png differ diff --git a/e2e/tests/components/input-group/input-group-list-addon.e2e.spec.ts b/e2e/tests/components/input-group/input-group-list-addon.e2e.spec.ts index 1ae481b5b..427d55b62 100644 --- a/e2e/tests/components/input-group/input-group-list-addon.e2e.spec.ts +++ b/e2e/tests/components/input-group/input-group-list-addon.e2e.spec.ts @@ -321,34 +321,31 @@ test.describe("Input Group List", () => { }); }); - test.describe(() => { + test.describe("Disabled options", () => { test.beforeEach(async ({ story }) => { await story.init("disabled-options"); }); - test("Disabled options", async ({ story }) => { + test("Non-selected", async ({ story }) => { await story.locators.disabledOptions .getByTestId("selector") .click(); await expect( story.locators.internal.dropdownContainer ).toBeVisible(); - await compareScreenshot(story, "open-unselected", { + await compareScreenshot(story, "open", { fullscreen: true, }); + }); - await story.page.mouse.click(0, 0); - await expect( - story.locators.internal.dropdownContainer - ).not.toBeVisible(); - + test("Selected", async ({ story }) => { await story.locators.disabledOptionsSelected .getByTestId("selector") .click(); await expect( story.locators.internal.dropdownContainer ).toBeVisible(); - await compareScreenshot(story, "open-selected", { + await compareScreenshot(story, "open", { fullscreen: true, }); });