Increase the test timeout for advanced search playwright tests to avoid AUT flakiness (#19555)

(cherry picked from commit cb9b5d4a620d7ca6c070ef2a80a0b643c0245f5d)
This commit is contained in:
Aniket Katkar 2025-01-28 15:29:45 +05:30 committed by OpenMetadata Release Bot
parent f5ec56d7eb
commit 373e8a2d59

View File

@ -26,6 +26,11 @@ import { createNewPage, redirectToHomePage } from '../../utils/common';
import { addMultiOwner, assignTag, assignTier } from '../../utils/entity';
import { sidebarClick } from '../../utils/sidebar';
test.describe.configure({
// 4 minutes to avoid test timeout happening some times in AUTs
timeout: 4 * 60 * 1000,
});
test.describe('Advanced Search', { tag: '@advanced-search' }, () => {
// use the admin user to login
test.use({ storageState: 'playwright/.auth/admin.json' });
@ -42,8 +47,6 @@ test.describe('Advanced Search', { tag: '@advanced-search' }, () => {
let searchCriteria: Record<string, any> = {};
test.beforeAll('Setup pre-requests', async ({ browser }) => {
test.setTimeout(150000);
const { page, apiContext, afterAction } = await createNewPage(browser);
await Promise.all([
user1.create(apiContext),