diff --git a/openmetadata-ui/src/main/resources/ui/README.md b/openmetadata-ui/src/main/resources/ui/README.md index 50364014b259..b3c5eb596eb4 100644 --- a/openmetadata-ui/src/main/resources/ui/README.md +++ b/openmetadata-ui/src/main/resources/ui/README.md @@ -285,7 +285,7 @@ When writing new tests, follow these guidelines: Example test structure: ```typescript -import { test, expect } from '@playwright/test'; +import { test, expect } from '../../support/fixtures/base'; import { LoginPage } from '../Pages/LoginPage'; test.describe('Feature Name', () => { diff --git a/openmetadata-ui/src/main/resources/ui/playwright/PLAYWRIGHT_DEVELOPER_HANDBOOK.md b/openmetadata-ui/src/main/resources/ui/playwright/PLAYWRIGHT_DEVELOPER_HANDBOOK.md index 58478afa461a..e0d5bb923e5b 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/PLAYWRIGHT_DEVELOPER_HANDBOOK.md +++ b/openmetadata-ui/src/main/resources/ui/playwright/PLAYWRIGHT_DEVELOPER_HANDBOOK.md @@ -475,7 +475,7 @@ test.describe.configure({ timeout: 300000 }); Use this structure for all generated tests: ```typescript -import { test, expect } from "@playwright/test"; +import { test, expect } from "../../support/fixtures/base"; import { performAdminLogin } from "../../utils/admin"; import { redirectToHomePage } from "../../utils/common"; import { sidebarClick } from "../../utils/sidebar"; diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/SearchSeparation/README.md b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/SearchSeparation/README.md index 17dd285b4738..b17f92fe34b8 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/SearchSeparation/README.md +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/SearchSeparation/README.md @@ -19,7 +19,7 @@ pass fails and the offending facet is named in the assertion message. ## Adding a new entity ```ts -import { test } from '@playwright/test'; +import { test } from '../../../support/fixtures/base'; import { MyEntityClass } from '../../../support/entity/MyEntityClass'; import { registerFilterSeparationSuite } from './searchSeparationSuite';