Skip to content

Commit

Permalink
fixed issue with test onClick
Browse files Browse the repository at this point in the history
  • Loading branch information
syedsalehinipg committed Feb 27, 2024
1 parent 8374d5b commit caffbd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TreeViewList/TreeViewList.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ test("should hide child when is collapsed", async ({ page }) => {
if (frame !== null) {
await page
.frameLocator('iframe[title="storybook-preview-iframe"]')
.getByText("Aerodynamics")
.getByText("Aerodynamics", { exact: true })
.click();
await expect(
page
Expand All @@ -151,7 +151,7 @@ test("should hide child when is collapsed", async ({ page }) => {
).toBeVisible();
await page
.frameLocator('iframe[title="storybook-preview-iframe"]')
.getByText("Aerodynamics")
.getByText("Aerodynamics", { exact: true })
.click();
await expect(
page
Expand Down

0 comments on commit caffbd5

Please sign in to comment.