Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karanh37 committed Jul 29, 2024
1 parent 115e25d commit bdc4893
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,13 @@ describe(
cy.settingClick(GlobalSettingOptions.DATABASES);

cy.intercept('/api/v1/services/ingestionPipelines?*').as('ingestionData');
interceptURL(
'GET',
'/api/v1/system/config/pipeline-service-client',
'airflow'
);

searchServiceFromSettingPage(data.service);
cy.get(`[data-testid="service-name-${data.service}"]`)
.should('exist')
.click();
cy.get('[data-testid="tabs"]').should('exist');
cy.wait('@ingestionData');
verifyResponseStatusCode('@airflow', 200);
cy.get('[data-testid="ingestions"]')
.scrollIntoView()
.should('be.visible')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ test.describe('Activity feed with Data Steward User', () => {
// await toastNotification(page1, 'Task closed successfully.');
await toastNotification(
page1,
'An exception with message [Cannot invoke "org.openmetadata.schema.type.EntityReference.getName()" because "owner" is null] was thrown while processing request.'
'An exception with message [Cannot invoke "java.util.List.stream()" because "owners" is null] was thrown while processing request.'
);

// TODO: Ashish - Enable them once issue is resolved from Backend https://github.com/open-metadata/OpenMetadata/issues/17059
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const EditIngestionPage = () => {
const fetchIngestionDetails = () => {
return new Promise<void>((resolve, reject) => {
getIngestionPipelineByFqn(ingestionFQN, {
fields: TabSpecificField.PIPELINE_STATUS,
fields: TabSpecificField.PIPELINE_STATUSES,
})
.then((res) => {
if (res) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const LogsViewerPage = () => {
try {
setIsLoading(true);
const res = await getIngestionPipelineByFqn(ingestionName, {
fields: [TabSpecificField.OWNERS, TabSpecificField.PIPELINE_STATUS],
fields: [TabSpecificField.OWNERS, TabSpecificField.PIPELINE_STATUSES],
});
if (res) {
setIngestionDetails(res);
Expand Down

0 comments on commit bdc4893

Please sign in to comment.