mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-28 10:56:02 +00:00
fix(ui): update default status to empty instead queued (#8716)
This commit is contained in:
parent
83003a42da
commit
3b4c5d4e85
@ -81,7 +81,7 @@ export const handleIngestionRetry = (
|
||||
($ingestionStatus) => {
|
||||
if (
|
||||
($ingestionStatus.text() === 'Running' ||
|
||||
$ingestionStatus.text() === 'Queued') &&
|
||||
$ingestionStatus.text() === 'Queued' || $ingestionStatus.text() === '--') &&
|
||||
retryCount <= RETRY_TIMES
|
||||
) {
|
||||
// retry after waiting for 20 seconds
|
||||
@ -136,7 +136,7 @@ export const testServiceCreationAndIngestion = (
|
||||
cy.get('[data-testid="service-name"]').should('exist').type(serviceName);
|
||||
interceptURL('GET', 'api/v1/services/ingestionPipelines/*', 'getIngestionPipelineStatus')
|
||||
cy.get('[data-testid="next-button"]').click();
|
||||
verifyResponseStatusCode('@getIngestionPipelineStatus', 200)
|
||||
verifyResponseStatusCode('@getIngestionPipelineStatus', 200)
|
||||
// Connection Details in step 3
|
||||
cy.get('[data-testid="add-new-service-container"]')
|
||||
.parent()
|
||||
@ -163,7 +163,7 @@ verifyResponseStatusCode('@getIngestionPipelineStatus', 200)
|
||||
cy.contains('Connection test was successful').should('exist');
|
||||
interceptURL('GET', '/api/v1/services/ingestionPipelines/status', 'getIngestionPipelineStatus')
|
||||
cy.get('[data-testid="submit-btn"]').should('exist').click();
|
||||
verifyResponseStatusCode('@getIngestionPipelineStatus', 200);
|
||||
verifyResponseStatusCode('@getIngestionPipelineStatus', 200);
|
||||
// check success
|
||||
cy.get('[data-testid="success-line"]').should('be.visible');
|
||||
cy.contains(`"${serviceName}"`).should('be.visible');
|
||||
@ -217,7 +217,7 @@ verifyResponseStatusCode('@getIngestionPipelineStatus', 200);
|
||||
|
||||
export const deleteCreatedService = (typeOfService, service_Name, apiService) => {
|
||||
//Click on settings page
|
||||
cy.get('[data-testid="appbar-item-settings"]').should('be.visible').click({force : true});
|
||||
cy.get('[data-testid="appbar-item-settings"]').should('be.visible').click({ force: true });
|
||||
|
||||
// Services page
|
||||
interceptURL('GET', '/api/v1/services/*', 'getServices');
|
||||
@ -906,7 +906,7 @@ export const retryIngestionRun = () => {
|
||||
($ingestionStatus) => {
|
||||
if (
|
||||
($ingestionStatus.text() === 'Running' ||
|
||||
$ingestionStatus.text() === 'Queued') &&
|
||||
$ingestionStatus.text() === 'Queued' || $ingestionStatus.text() === '--') &&
|
||||
retryCount <= RETRY_TIMES
|
||||
) {
|
||||
// retry after waiting for 20 seconds
|
||||
|
@ -135,7 +135,7 @@ export const IngestionRecentRuns: FunctionComponent<Props> = ({
|
||||
) : (
|
||||
status
|
||||
);
|
||||
}) ?? 'Queued'
|
||||
}) ?? '--'
|
||||
)}
|
||||
</Space>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user