diff --git a/packages/testkit/__TESTS__/dropdown.spec.js b/packages/testkit/__TESTS__/dropdown.spec.js index 2ef8a16aef..cdb58d4ca7 100644 --- a/packages/testkit/__TESTS__/dropdown.spec.js +++ b/packages/testkit/__TESTS__/dropdown.spec.js @@ -2,7 +2,6 @@ import { test, expect } from "@playwright/test"; import { Dropdown } from "../inputs/Dropdown"; import { dropdownStory } from "./utils/url-helper"; - test.describe("dropdown Class with Storybook", () => { let DropDown; @@ -13,9 +12,10 @@ test.describe("dropdown Class with Storybook", () => { DropDown = new Dropdown(page, DropDownLocator, "Test DropDown"); }); - test("set dropdown value", async ({page}) => { + test("set dropdown value", async ({ page }) => { + await page.waitForTimeout(3000); await DropDown.selectItem("2"); await page.waitForTimeout(500); - expect(await DropDown.getText()).toContain("Option 2"); + expect(await DropDown.getText()).toContain("2"); }); -}); \ No newline at end of file +});