Skip to content

Commit a8ddb91

Browse files
authored
Removed assertions from beforeAll (#27640)
1 parent 878421a commit a8ddb91

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

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

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ test.describe(
4444
queryParams: { changeSource: 'Suggested' },
4545
});
4646

47-
const columnName = table.entityResponseData?.columns?.[0]?.name;
48-
4947
await table.patch({
5048
apiContext,
5149
patchData: [
@@ -58,23 +56,6 @@ test.describe(
5856
queryParams: { changeSource: 'Suggested' },
5957
});
6058

61-
const changeSummaryResponse = await apiContext.get(
62-
`/api/v1/changeSummary/table/${table.entityResponseData?.id}`
63-
);
64-
65-
expect(changeSummaryResponse.status()).toBe(200);
66-
67-
const changeSummaryData = await changeSummaryResponse.json();
68-
69-
expect(changeSummaryData.changeSummary).toHaveProperty('description');
70-
expect(changeSummaryData.changeSummary.description.changeSource).toBe(
71-
'Suggested'
72-
);
73-
74-
expect(
75-
changeSummaryData.changeSummary[`columns.${columnName}.description`]
76-
).toBeDefined();
77-
7859
await afterAction();
7960
});
8061

0 commit comments

Comments
 (0)