fix(test): playwright flaky tests (#17980)

(cherry picked from commit ad920cf0efe721fc94708a723464dc428f19aa63)
This commit is contained in:
Chirag Madlani 2024-09-25 10:06:43 +05:30 committed by Chira Madlani
parent 95bfb5b912
commit ccb461469d
3 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,8 @@ test.use({ storageState: 'playwright/.auth/admin.json' });
const table1 = new TableClass();
test.slow(true);
test.describe('Table pagination sorting search scenarios ', () => {
test.beforeAll('Setup pre-requests', async ({ browser }) => {
const { afterAction, apiContext } = await createNewPage(browser);

View File

@ -21,6 +21,7 @@ setup.use({
setup.describe.configure({
timeout: process.env.PLAYWRIGHT_IS_OSS ? 150000 : 5600000,
retries: 0,
});
setup(

View File

@ -51,6 +51,7 @@ class RedshiftWithDBTIngestionClass extends ServiceBaseClass {
const redshiftDatabase = process.env.PLAYWRIGHT_REDSHIFT_DATABASE ?? '';
this.filterPattern = 'sales';
this.entityFQN = `${REDSHIFT.serviceName}.${redshiftDatabase}.${this.schemaFilterPattern}.${REDSHIFT.tableName}`;
this.dbtEntityFqn = `${REDSHIFT.serviceName}.${redshiftDatabase}.${this.schemaFilterPattern}.${REDSHIFT.DBTTable}`;
}