mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-28 16:08:23 +00:00
* Fix(#15296): Issue with the same service name * add serviceType parameter in cypress test interceptURL for pipelines
This commit is contained in:
parent
6ac95f2335
commit
80966087cb
@ -465,6 +465,7 @@ export const service = {
|
||||
description: 'This is a Glue service',
|
||||
newDescription: 'This is updated Glue service description',
|
||||
Owner: 'Aaron Johnson',
|
||||
serviceType: 'databaseService',
|
||||
};
|
||||
|
||||
export const SERVICE_TYPE = {
|
||||
|
||||
@ -34,7 +34,7 @@ describe('Login configuration', { tags: 'Settings' }, () => {
|
||||
cy.get('[data-testid="access-block-time"]').should('have.text', '500');
|
||||
cy.get('[data-testid="jwt-token-expiry-time"]').should(
|
||||
'have.text',
|
||||
'5000 Milliseconds'
|
||||
'5000 Seconds'
|
||||
);
|
||||
/* ==== End Cypress Studio ==== */
|
||||
});
|
||||
|
||||
@ -34,7 +34,7 @@ describe('Services page should work properly', { tags: 'Integration' }, () => {
|
||||
);
|
||||
interceptURL(
|
||||
'GET',
|
||||
`/api/v1/services/ingestionPipelines?fields=*&service=${service.name}*`,
|
||||
`/api/v1/services/ingestionPipelines?fields=*&service=${service.name}*&serviceType=${service.serviceType}`,
|
||||
'ingestionPipelines'
|
||||
);
|
||||
cy.login();
|
||||
|
||||
@ -266,6 +266,7 @@ const ServiceDetailsPage: FunctionComponent = () => {
|
||||
const response = await getIngestionPipelines({
|
||||
arrQueryFields: ['owner', 'pipelineStatuses'],
|
||||
serviceFilter: decodedServiceFQN,
|
||||
serviceType: getEntityTypeFromServiceCategory(serviceCategory),
|
||||
paging,
|
||||
pipelineType: [
|
||||
PipelineType.Metadata,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user