mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-06 04:26:57 +00:00
playwright: fixed aut failure in playwright (#18958)
* playwright: fixed aut failure in playwright * Temporarily increased the timeout for lineage tests which timeout often * Fix the flaky tests * removing linage changes --------- Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
This commit is contained in:
parent
9ae8e66e34
commit
7d7bc5b48b
@ -275,6 +275,8 @@ test.describe('Domains Rbac', () => {
|
||||
const user1 = new UserClass();
|
||||
|
||||
test.beforeAll('Setup pre-requests', async ({ browser }) => {
|
||||
test.setTimeout(90000);
|
||||
|
||||
const { apiContext, afterAction, page } = await performAdminLogin(browser);
|
||||
await Promise.all([
|
||||
domain1.create(apiContext),
|
||||
|
||||
@ -398,7 +398,7 @@ test('Verify function data in edge drawer', async ({ browser }) => {
|
||||
});
|
||||
|
||||
test('Verify global lineage config', async ({ browser }) => {
|
||||
test.slow();
|
||||
test.slow(true);
|
||||
|
||||
const { page } = await createNewPage(browser);
|
||||
const { apiContext, afterAction } = await getApiContext(page);
|
||||
|
||||
@ -292,7 +292,7 @@ class ServiceBaseClass {
|
||||
{
|
||||
// Custom expect message for reporting, optional.
|
||||
message: 'Wait for pipeline to be successful',
|
||||
timeout: 650_000,
|
||||
timeout: 750_000,
|
||||
intervals: [30_000, 15_000, 5_000],
|
||||
}
|
||||
)
|
||||
|
||||
@ -123,7 +123,7 @@ export const triggerTestSuitePipelineAndWaitForSuccess = async (data: {
|
||||
{
|
||||
// Custom expect message for reporting, optional.
|
||||
message: 'Wait for the pipeline to be successful',
|
||||
timeout: 60_000,
|
||||
timeout: 90_000,
|
||||
intervals: [5_000, 10_000],
|
||||
}
|
||||
)
|
||||
|
||||
@ -350,9 +350,8 @@ export const editTagPageDescription = async (page: Page, tag: TagClass) => {
|
||||
};
|
||||
|
||||
export const verifyCertificationTagPageUI = async (page: Page) => {
|
||||
await redirectToHomePage(page);
|
||||
const res = page.waitForResponse(`/api/v1/tags/name/*`);
|
||||
await visitClassificationPage(page, 'Certification');
|
||||
const res = page.waitForResponse(`/api/v1/tags/name/*`);
|
||||
await page.getByTestId('Gold').click();
|
||||
await res;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user