Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/playwright/impact-map.generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -10777,12 +10777,17 @@
"openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts"
],
"specs": [
"playwright/e2e/Features/AIMode/ObservabilityLayout.spec.ts",
"playwright/e2e/Features/DataQuality/BundleSuiteBulkOperations.spec.ts",
"playwright/e2e/Features/DataQuality/DataQualityDashboardAfterReindex.spec.ts",
"playwright/e2e/Features/DataQuality/IncidentManagerAfterReindex.spec.ts",
"playwright/e2e/Features/DataQuality/ProfilerSettingsAfterReindex.spec.ts",
"playwright/e2e/Features/DataQuality/TestCaseDetailsPage.spec.ts",
"playwright/e2e/Features/DomainIsolation/DomainIncidentIsolation.spec.ts",
"playwright/e2e/Features/IncidentManager.spec.ts",
"playwright/e2e/Features/IncidentManagerPagination.spec.ts"
"playwright/e2e/Features/IncidentManagerPagination.spec.ts",
"playwright/e2e/Pages/LogsViewer.spec.ts",
"playwright/e2e/Pages/TestSuite.spec.ts"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,17 @@ test.describe(
const response = await tableTestCaseResponse;

expect(response.status()).toBe(201);
}

// The drawer closes only after the pipeline is created and deployed, and on Airflow 3 the
// deploy call blocks until the scheduler registers the DAG (up to 60s), so the default
// expect timeout on the next page is not enough. Waiting here also lets the no-pipeline
// check below see a POST that lands after the test case response.
await page
.getByTestId('test-case-form-v1')
.waitFor({ state: 'detached' });

if (!expectSchedulerCard) {
expect(ingestionPipelineCalled).toBe(false);
}
};
Expand Down Expand Up @@ -396,10 +407,6 @@ test.describe(
expectSchedulerCard: false,
});

await page.getByTestId('test-case-form-v1').waitFor({
state: 'detached',
});

await expect(
page.getByTestId('test-cases').getByTestId('count')
).toHaveText('2');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ test.describe('Bulk Re-Deploy pipelines ', PLAYWRIGHT_INGESTION_TAG_OBJ, () => {
* and verifies success confirmation.
*/
test('Re-deploy all test-suite ingestion pipelines', async ({ page }) => {
// Each deploy blocks until Airflow registers the DAG (up to 60s), so the
// default 60s test budget cannot hold the setup plus the deploy wait.
test.slow();

await settingClick(page, GlobalSettingOptions.DATA_OBSERVABILITY);

// usePaging seeds pageSize from the URL on first render, so widening the page is a
Expand Down Expand Up @@ -134,7 +138,8 @@ test.describe('Bulk Re-Deploy pipelines ', PLAYWRIGHT_INGESTION_TAG_OBJ, () => {
await expect
.poll(() => Object.keys(deployStatuses).length, {
message: 'Wait for every selected pipeline to report a deploy result',
timeout: 30_000,
// Airflow's deploy waits up to 60s for DAG registration before it answers.
timeout: 90_000,
})
.toBe(pipelines.length);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,10 @@ class ServiceBaseClass {

await expect(page.getByLabel('Raise on Error')).not.toBeChecked();

const deployPipelinePromise = page.waitForRequest(
// Wait for the response, not the request: the deploy call blocks until
// Airflow registers the DAG (up to 60s), and the success line only renders
// once it answers.
const deployPipelinePromise = page.waitForResponse(
`/api/v1/services/ingestionPipelines/deploy/**`
);

Expand Down
Loading