Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
76 changes: 2 additions & 74 deletions openmetadata-ui/src/main/resources/ui/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,88 +77,16 @@ export default defineConfig({
},
{
name: 'chromium',
testMatch: '**/ActivityAPI.spec.ts',
repeatEach: 20,
Comment thread
gitar-bot[bot] marked this conversation as resolved.
Outdated
use: { ...devices['Desktop Chrome'] },
// Added admin setup as a dependency. This will authorize the page with an admin user before running the test. doc: https://playwright.dev/docs/auth#multiple-signed-in-roles
dependencies: ['setup', 'entity-data-setup'],
grepInvert: [/@data-insight/, /@basic/, /@knowledge-graph/],
teardown: 'entity-data-teardown',
testIgnore: [
'**/nightly/**',
'**/Auth/**',
'**/DataAssetRulesEnabled.spec.ts',
'**/DataAssetRulesDisabled.spec.ts',
'**/SystemCertificationTags.spec.ts',
'**/SearchRBAC.spec.ts',
'**/SSOLogin.spec.ts',
],
},
{
name: 'sso-auth',
testMatch: ['**/SSOLogin.spec.ts', '**/SSORenewal.spec.ts'],
use: { ...devices['Desktop Chrome'] },
fullyParallel: false,
workers: 1,
},
{
name: 'entity-data-teardown',
testMatch: '**/entity-data.teardown.ts',
},
{
name: 'data-insight-application',
dependencies: ['setup', 'entity-data-setup'],
testMatch: '**/dataInsightApp.ts',
},
{
name: 'Data Insight',
use: { ...devices['Desktop Chrome'] },
dependencies: ['data-insight-application'],
grep: /data-insight/,
teardown: 'entity-data-teardown',
},
{
name: 'Knowledge Graph',
use: { ...devices['Desktop Chrome'] },
dependencies: ['setup', 'entity-data-setup'],
grep: /knowledge-graph/,
teardown: 'entity-data-teardown',
},
{
name: 'DataAssetRulesEnabled',
testMatch: '**/DataAssetRulesEnabled.spec.ts',
use: { ...devices['Desktop Chrome'] },
dependencies: ['setup'],
fullyParallel: true,
},
{
name: 'DataAssetRulesDisabled',
testMatch: '**/DataAssetRulesDisabled.spec.ts',
use: { ...devices['Desktop Chrome'] },
dependencies: ['DataAssetRulesEnabled'],
fullyParallel: true,
},
{
name: 'Basic',
grep: [/@basic/],
use: { ...devices['Desktop Chrome'] },
dependencies: ['setup'],
fullyParallel: true,
},
{
name: 'SearchRBAC',
testMatch: '**/SearchRBAC.spec.ts',
dependencies: ['DataAssetRulesDisabled'],
use: { ...devices['Desktop Chrome'] },
teardown: 'entity-data-teardown',
},
// System Certification Tags tests modify global shared state (system tags like Gold, Silver, Bronze)
// They must run in isolation after the main chromium project to avoid flakiness
{
name: 'SystemCertificationTags',
testMatch: '**/SystemCertificationTags.spec.ts',
use: { ...devices['Desktop Chrome'] },
dependencies: ['setup', 'chromium'],
fullyParallel: false,
},
],

// Increase timeout for the test
Expand Down
Loading
Loading