Skip to content

Commit cce1de6

Browse files
authored
Fixed flakiness for ChangeSummaryBadge spec (#27494)
1 parent a49db9f commit cce1de6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/ChangeSummaryBadge.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ import { waitForAllLoadersToDisappear } from '../../utils/entity';
2020
import { navigateToExploreAndSelectEntity } from '../../utils/explore';
2121
import { test } from '../fixtures/pages';
2222

23-
const table = new TableClass();
24-
2523
test.describe(
2624
'ChangeSummary DescriptionSourceBadge',
2725
{ tag: [DOMAIN_TAGS.DISCOVERY] },
2826
() => {
27+
let table: TableClass;
28+
2929
test.beforeAll('Setup test entities', async ({ browser }) => {
30+
table = new TableClass();
3031
const { apiContext, afterAction } = await performAdminLogin(browser);
3132

3233
await table.create(apiContext);

0 commit comments

Comments
 (0)