mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-24 00:48:36 +00:00
playwright: fixed timeout issue in entity related specs (#19875)
* playwright: fixed timeout issue in entity related specs * used test.slow for after all hook
This commit is contained in:
parent
a924064c09
commit
e594aa3ec8
@ -315,6 +315,8 @@ entities.forEach((EntityClass) => {
|
||||
});
|
||||
|
||||
test.afterAll('Cleanup', async ({ browser }) => {
|
||||
test.slow();
|
||||
|
||||
const { apiContext, afterAction } = await createNewPage(browser);
|
||||
await entity.delete(apiContext);
|
||||
await EntityDataClass.postRequisitesForTests(apiContext);
|
||||
|
@ -164,6 +164,8 @@ entities.forEach((EntityClass) => {
|
||||
});
|
||||
|
||||
test.afterAll('Cleanup', async ({ browser }) => {
|
||||
test.slow();
|
||||
|
||||
const { apiContext, afterAction } = await performAdminLogin(browser);
|
||||
await user.delete(apiContext);
|
||||
await entity.delete(apiContext);
|
||||
|
@ -186,6 +186,8 @@ entities.forEach((EntityClass) => {
|
||||
});
|
||||
|
||||
test.afterAll('Cleanup', async ({ browser }) => {
|
||||
test.slow();
|
||||
|
||||
const { apiContext, afterAction } = await performAdminLogin(browser);
|
||||
await user.delete(apiContext);
|
||||
await entity.delete(apiContext);
|
||||
|
Loading…
x
Reference in New Issue
Block a user