From 58b1ef1c039cd0c7c596f9d67417b8f3527d82d0 Mon Sep 17 00:00:00 2001 From: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:42:38 +0530 Subject: [PATCH] fix(test): rest api service deletion taking longer (#19439) * fix(test): rest api service deletion taking longer * fix entity name with schema --- .../playwright/support/entity/ingestion/ApiIngestionClass.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/support/entity/ingestion/ApiIngestionClass.ts b/openmetadata-ui/src/main/resources/ui/playwright/support/entity/ingestion/ApiIngestionClass.ts index 36565e388f1..a21a8106cff 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/support/entity/ingestion/ApiIngestionClass.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/support/entity/ingestion/ApiIngestionClass.ts @@ -21,7 +21,7 @@ import ServiceBaseClass from './ServiceBaseClass'; class ApiIngestionClass extends ServiceBaseClass { constructor() { - super(Services.API, `pw-api-with-%-${uuid()}`, 'Rest', 'Containers'); + super(Services.API, `pw-api-with-%-${uuid()}`, 'Rest', 'store'); } async createService(page: Page) { @@ -33,7 +33,7 @@ class ApiIngestionClass extends ServiceBaseClass { } async fillConnectionDetails(page: Page) { - const openAPISchemaURL = 'https://docs.open-metadata.org/swagger.json'; + const openAPISchemaURL = 'https://petstore3.swagger.io/api/v3/openapi.json'; await page.locator('#root\\/openAPISchemaURL').fill(openAPISchemaURL); await checkServiceFieldSectionHighlighting(page, 'openAPISchemaURL');