Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 2 additions & 79 deletions .github/playwright/impact-map.generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@
"playwright/e2e/Pages/Lineage/LineageNodePagination.spec.ts",
"playwright/e2e/Pages/Lineage/LineageRightPanel.spec.ts",
"playwright/e2e/Pages/Lineage/PlatformLineage.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/LoginConfiguration.spec.ts",
"playwright/e2e/Pages/LogsViewer.spec.ts",
"playwright/e2e/Pages/Policies.spec.ts",
"playwright/e2e/Pages/Roles.spec.ts",
Expand Down Expand Up @@ -288,14 +286,6 @@
"playwright/e2e/Pages/GlossaryImportExport.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/playwright/constant/login.ts"
],
"specs": [
"playwright/e2e/Pages/Login.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/playwright/constant/nestedColumnUpdates.ts"
Expand Down Expand Up @@ -399,7 +389,6 @@
"playwright/e2e/Pages/HealthCheck.spec.ts",
"playwright/e2e/Pages/LearningResources.spec.ts",
"playwright/e2e/Pages/LiveIndexingTab.spec.ts",
"playwright/e2e/Pages/LoginConfiguration.spec.ts",
"playwright/e2e/Pages/OmdURLConfiguration.spec.ts",
"playwright/e2e/Pages/Policies.spec.ts",
"playwright/e2e/Pages/Roles.spec.ts",
Expand Down Expand Up @@ -747,7 +736,6 @@
"playwright/e2e/Features/RTL.spec.ts",
"playwright/e2e/Features/RestoreEntityInheritedFields.spec.ts",
"playwright/e2e/Features/SSOConfiguration.spec.ts",
"playwright/e2e/Features/SSOTestLogin.spec.ts",
"playwright/e2e/Features/SampleDataTableOperations.spec.ts",
"playwright/e2e/Features/Table.spec.ts",
"playwright/e2e/Features/TableSearch.spec.ts",
Expand Down Expand Up @@ -2173,8 +2161,6 @@
"playwright/e2e/Pages/IngestionLogStreamLive.spec.ts",
"playwright/e2e/Pages/InputOutputPorts.spec.ts",
"playwright/e2e/Pages/LearningResources.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/LoginConfiguration.spec.ts",
"playwright/e2e/Pages/OmdURLConfiguration.spec.ts",
"playwright/e2e/Pages/PipelineExecution.spec.ts",
"playwright/e2e/Pages/PipelineValidation.spec.ts",
Expand Down Expand Up @@ -2533,7 +2519,6 @@
"playwright/e2e/Pages/DescriptionVisibility.spec.ts",
"playwright/e2e/Pages/Glossary.spec.ts",
"playwright/e2e/Pages/LearningResources.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/ProfilerConfigurationPage.spec.ts",
"playwright/e2e/Pages/SearchSettings.spec.ts",
"playwright/e2e/Pages/UserDetails.spec.ts"
Expand Down Expand Up @@ -2673,7 +2658,6 @@
"playwright/e2e/Pages/Glossary.spec.ts",
"playwright/e2e/Pages/GlossaryImportExport.spec.ts",
"playwright/e2e/Pages/GlossaryTermRightPanel.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/ODCSImportExportPermissions.spec.ts",
"playwright/e2e/Pages/ProfilerConfigurationPage.spec.ts",
"playwright/e2e/Pages/ServiceEntity.spec.ts",
Expand Down Expand Up @@ -2920,7 +2904,6 @@
"playwright/e2e/Pages/IntakeForm.spec.ts",
"playwright/e2e/Pages/Lineage/DataAssetLineage.spec.ts",
"playwright/e2e/Pages/Lineage/LineageInteraction.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/LogsViewer.spec.ts",
"playwright/e2e/Pages/ODCSImportExportPermissions.spec.ts",
"playwright/e2e/Pages/ProfilerConfigurationPage.spec.ts",
Expand Down Expand Up @@ -3238,7 +3221,6 @@
"playwright/e2e/Features/RecentlyViewed.spec.ts",
"playwright/e2e/Features/RestoreEntityInheritedFields.spec.ts",
"playwright/e2e/Features/SSOConfiguration.spec.ts",
"playwright/e2e/Features/SSOTestLogin.spec.ts",
"playwright/e2e/Features/SampleDataDomainDataProduct.spec.ts",
"playwright/e2e/Features/SchemaDefinition.spec.ts",
"playwright/e2e/Features/SchemaSearch.spec.ts",
Expand Down Expand Up @@ -3368,8 +3350,6 @@
"playwright/e2e/Pages/Lineage/LineageRightPanel.spec.ts",
"playwright/e2e/Pages/Lineage/PlatformLineage.spec.ts",
"playwright/e2e/Pages/LiveIndexingTab.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/LoginConfiguration.spec.ts",
"playwright/e2e/Pages/LogsViewer.spec.ts",
"playwright/e2e/Pages/ODCSImportExport.spec.ts",
"playwright/e2e/Pages/ODCSImportExportPermissions.spec.ts",
Expand Down Expand Up @@ -3822,7 +3802,6 @@
"playwright/e2e/Pages/Lineage/LineageFilters.spec.ts",
"playwright/e2e/Pages/Lineage/LineageInteraction.spec.ts",
"playwright/e2e/Pages/Lineage/PlatformLineage.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/LogsViewer.spec.ts",
"playwright/e2e/Pages/ODCSImportExport.spec.ts",
"playwright/e2e/Pages/Policies.spec.ts",
Expand Down Expand Up @@ -4029,14 +4008,6 @@
"playwright/e2e/Pages/Lineage/PlatformLineage.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/playwright/utils/login.ts"
],
"specs": [
"playwright/e2e/Pages/Login.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/playwright/utils/logsViewer.ts"
Expand Down Expand Up @@ -4493,7 +4464,6 @@
"playwright/e2e/Pages/Lineage/LineageControls.spec.ts",
"playwright/e2e/Pages/Lineage/PlatformLineage.spec.ts",
"playwright/e2e/Pages/LiveIndexingTab.spec.ts",
"playwright/e2e/Pages/LoginConfiguration.spec.ts",
"playwright/e2e/Pages/OmdURLConfiguration.spec.ts",
"playwright/e2e/Pages/Policies.spec.ts",
"playwright/e2e/Pages/ProfilerConfigurationPage.spec.ts",
Expand All @@ -4514,8 +4484,7 @@
"openmetadata-ui/src/main/resources/ui/playwright/utils/sso.ts"
],
"specs": [
"playwright/e2e/Features/SSOConfiguration.spec.ts",
"playwright/e2e/Features/SSOTestLogin.spec.ts"
"playwright/e2e/Features/SSOConfiguration.spec.ts"
]
},
{
Expand Down Expand Up @@ -4701,7 +4670,6 @@
"playwright/e2e/Flow/NotificationAlerts.spec.ts",
"playwright/e2e/Pages/DomainUIInteractions.spec.ts",
"playwright/e2e/Pages/IntakeForm.spec.ts",
"playwright/e2e/Pages/LoginConfiguration.spec.ts",
"playwright/e2e/Pages/LogsViewer.spec.ts",
"playwright/e2e/Pages/Roles.spec.ts",
"playwright/e2e/Pages/ServiceListing.spec.ts",
Expand Down Expand Up @@ -7562,7 +7530,6 @@
"specs": [
"playwright/e2e/Features/UserProfileOnlineStatus.spec.ts",
"playwright/e2e/Pages/CustomProperties.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/UserDetails.spec.ts",
"playwright/e2e/Pages/Users.spec.ts"
]
Expand Down Expand Up @@ -8065,7 +8032,6 @@
"playwright/e2e/Features/SettingsNavigationPage.spec.ts",
"playwright/e2e/Flow/IngestionBot.spec.ts",
"playwright/e2e/Flow/PersonaDeletionUserProfile.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/Users.spec.ts"
]
},
Expand Down Expand Up @@ -8122,16 +8088,7 @@
"openmetadata-ui/src/main/resources/ui/src/components/SettingsSso/SSOConfigurationForm/SSOConfigurationForm.tsx"
],
"specs": [
"playwright/e2e/Features/SSOConfiguration.spec.ts",
"playwright/e2e/Features/SSOTestLogin.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/components/SettingsSso/SsoTestLogin/SsoTestLoginModal.tsx"
],
"specs": [
"playwright/e2e/Features/SSOTestLogin.spec.ts"
"playwright/e2e/Features/SSOConfiguration.spec.ts"
]
},
{
Expand Down Expand Up @@ -10468,8 +10425,6 @@
"playwright/e2e/Pages/Lineage/LineageRightPanel.spec.ts",
"playwright/e2e/Pages/Lineage/PlatformLineage.spec.ts",
"playwright/e2e/Pages/LiveIndexingTab.spec.ts",
"playwright/e2e/Pages/Login.spec.ts",
"playwright/e2e/Pages/LoginConfiguration.spec.ts",
"playwright/e2e/Pages/LogsViewer.spec.ts",
"playwright/e2e/Pages/ODCSImportExport.spec.ts",
"playwright/e2e/Pages/ODCSImportExportPermissions.spec.ts",
Expand Down Expand Up @@ -10876,14 +10831,6 @@
"playwright/e2e/Pages/OmdURLConfiguration.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/pages/Configuration/LoginConfigurationDetails/LoginConfigurationPage.tsx"
],
"specs": [
"playwright/e2e/Pages/LoginConfiguration.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/pages/Configuration/UrlConfiguration/UrlConfigurationPage.tsx"
Expand Down Expand Up @@ -11001,14 +10948,6 @@
"playwright/e2e/Pages/ExploreResilience.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/pages/ForgotPassword/ForgotPassword.component.tsx"
],
"specs": [
"playwright/e2e/Pages/Login.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/pages/GlobalSettingPage/GlobalSettingCategory/GlobalSettingCategoryPage.tsx"
Expand Down Expand Up @@ -11133,14 +11072,6 @@
"playwright/e2e/Pages/Lineage/PlatformLineage.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/pages/LoginPage/SignInPage.tsx"
],
"specs": [
"playwright/e2e/Pages/Login.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/pages/MetricsPage/MetricListPage/MetricListPage.tsx"
Expand Down Expand Up @@ -11381,14 +11312,6 @@
"playwright/e2e/Features/AppMode/AppModeSettings.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/pages/SignUp/BasicSignup.component.tsx"
],
"specs": [
"playwright/e2e/Pages/Login.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/pages/SignUp/SignUpPage.tsx"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,6 @@
"count": 31
}
},
"playwright/e2e/Features/SSOTestLogin.spec.ts": {
"om-playwright/no-positional-locator": {
"count": 1
}
},
"playwright/e2e/Features/SampleDataTableOperations.spec.ts": {
"om-playwright/no-positional-locator": {
"count": 5
Expand Down Expand Up @@ -1092,4 +1087,4 @@
"count": 1
}
}
}
}
30 changes: 19 additions & 11 deletions openmetadata-ui/src/main/resources/ui/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,11 @@ export default defineConfig({
testIgnore: [
'**/nightly/**',
'**/Search/**',
// Every SSO spec lives under Auth/ and mutates the backend's
// authenticationConfiguration via applyProviderConfig — the main
// project must never pick them up, or entity/domain/search tests
// would race a mid-run auth swap. The `sso-auth` project owns
// these specs exclusively (fullyParallel:false, workers:1).
// Every SSO/login/auth-config spec lives under /Auth/** and
// runs under the `sso-auth` project (fullyParallel:false,
// workers:1) so its backend `authenticationConfiguration`
// mutations via applyProviderConfig can't race feature
// specs here.
'**/Auth/**',
'**/Http2/**',
'**/DataAssetRulesEnabled.spec.ts',
Expand Down Expand Up @@ -347,12 +347,20 @@ export default defineConfig({
// specs listed here plus the new parametrized SsoScenarios file
// that runs 9 flows against every SsoProviderFixture in the matrix.
name: 'sso-auth',
testMatch: [
'**/SsoScenarios.spec.ts',
'**/OktaSelfSignupClaims.spec.ts',
'**/SSOSelfSignup.spec.ts',
'**/SSOSessionLimit.spec.ts',
],
// Every auth/login-related spec lives under /Auth/**. The
// `chromium` and `Basic` projects testIgnore that same tree,
// so the mid-run backend `authenticationConfiguration`
// mutations this suite performs can't race feature specs.
testMatch: ['**/Auth/**/*.spec.ts'],
// Login.spec.ts and LoginConfiguration.spec.ts read
// `playwright/.auth/admin.json` (written by auth.setup.ts) via
// test.use({storageState}), so the setup project must run
// before this one. Per-provider SsoScenarios legs that mutate
// the backend still work — auth.setup.ts runs BEFORE the
// scenario's beforeAll swaps the provider, and the Basic-only
// moved specs run only on the Basic leg where the setup's
// admin session stays valid.
dependencies: authDependencies,
use: { ...devices['Desktop Chrome'], trace: 'retain-on-failure' },
fullyParallel: false,
workers: 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ test.use({

test.describe(
'Login flow should work properly',
PLAYWRIGHT_BASIC_TEST_TAG_OBJ,
// `@sso` alongside `@basic` — this spec now runs under the
// `sso-auth` project (see playwright.config.ts testMatch) and the
// SSO nightly's Basic leg picks it up via `--grep @basic`.
{ tag: [PLAYWRIGHT_BASIC_TEST_TAG_OBJ.tag, '@sso'] },
() => {
test.afterAll('Cleanup', async ({ browser }) => {
const { apiContext, afterAction } = await performAdminLogin(browser);
Expand Down
Loading
Loading