diff --git a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Flow/EditEntityLineage.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Flow/EditEntityLineage.spec.js index 840accfec28..c61071ab782 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Flow/EditEntityLineage.spec.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Flow/EditEntityLineage.spec.js @@ -12,18 +12,19 @@ */ import { login, visitEntityDetailsPage } from '../../common/common'; -import { LOGIN, SEARCH_ENTITY_DASHBOARD, SEARCH_ENTITY_PIPELINE, SEARCH_ENTITY_TABLE, SEARCH_ENTITY_TOPIC } from '../../constants/constants'; +import { LOGIN, SEARCH_ENTITY_PIPELINE, SEARCH_ENTITY_TABLE, SEARCH_ENTITY_TOPIC } from '../../constants/constants'; const tableEntity = SEARCH_ENTITY_TABLE.table_1; const topicEntity = SEARCH_ENTITY_TOPIC.topic_1; const pipelineEntity = SEARCH_ENTITY_PIPELINE.pipeline_1; -const dashboardEntity = SEARCH_ENTITY_DASHBOARD.dashboard_1; +// Todo:- skipping flaky test +// const dashboardEntity = SEARCH_ENTITY_DASHBOARD.dashboard_1; const ENTITIES_LIST = [ tableEntity, topicEntity, pipelineEntity, - dashboardEntity, + // dashboardEntity, ]; describe('Entity Details Page', () => { diff --git a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Teams.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Teams.spec.js index 11d9585bca5..46d0881cfdd 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Teams.spec.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Teams.spec.js @@ -77,7 +77,8 @@ describe('Teams flow should work properly', () => { updateOwner(); }); - it('Add user to created team', () => { + // Todo:- flaky test, need to fix, ref:- https://cloud.cypress.io/projects/a9yxci/runs/9138/test-results/c8083392-4aea-46d5-b937-8c7ce231f241 + it.skip('Add user to created team', () => { interceptURL('GET', '/api/v1/users*', 'getUsers'); //Click on created team diff --git a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Users.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Users.spec.js index 947e82f9d05..ee4347bc3aa 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Users.spec.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Users.spec.js @@ -131,8 +131,8 @@ describe('Admin flow should work properly', () => { it('Restore soft deleted admin', () => { restoreUser(adminName); }); - - it('Permanently Delete Soft Deleted admin', () => { + // Todo:- Flaky test, Ref:- https://cloud.cypress.io/projects/a9yxci/runs/9124/test-results/bd7584d2-b8a8-42a5-89c5-c05851b9ea76 + it.skip('Permanently Delete Soft Deleted admin', () => { softDeleteUser(adminName); deleteSoftDeletedUser(adminName); }); diff --git a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/myData.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/myData.spec.js index 250ba92b571..c41218e77cf 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/myData.spec.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/myData.spec.js @@ -13,8 +13,8 @@ /// -import { interceptURL, login, searchEntity, verifyResponseStatusCode, visitEntityDetailsPage } from '../../common/common'; -import { ENTITIES, FOLLOWING_TITLE, LOGIN, MYDATA_SUMMARY_OPTIONS, MY_DATA_TITLE, NO_SEARCHED_TERMS, RECENT_SEARCH_TITLE, RECENT_VIEW_TITLE, SEARCH_ENTITY_DASHBOARD, SEARCH_ENTITY_PIPELINE, SEARCH_ENTITY_TABLE, SEARCH_ENTITY_TOPIC } from '../../constants/constants'; +import { interceptURL, searchEntity, verifyResponseStatusCode, visitEntityDetailsPage } from '../../common/common'; +import { ENTITIES, FOLLOWING_TITLE, MYDATA_SUMMARY_OPTIONS, MY_DATA_TITLE, NO_SEARCHED_TERMS, RECENT_SEARCH_TITLE, RECENT_VIEW_TITLE, SEARCH_ENTITY_DASHBOARD, SEARCH_ENTITY_PIPELINE, SEARCH_ENTITY_TABLE, SEARCH_ENTITY_TOPIC } from '../../constants/constants'; const tables = Object.values(SEARCH_ENTITY_TABLE); const topics = Object.values(SEARCH_ENTITY_TOPIC); @@ -23,37 +23,11 @@ const pipelines = Object.values(SEARCH_ENTITY_PIPELINE); describe('MyData page should work', () => { beforeEach(() => { - login(LOGIN.username, LOGIN.password); - cy.goToHomePage(); + cy.login() interceptURL('GET', '/api/v1/*/name/*', 'getEntityDetails'); interceptURL('GET', '/api/v1/search/*', 'explorePageSearch'); }); - const checkRecentlyViewElement = () => { - verifyResponseStatusCode('@explorePageSearch', 200); - cy.get('[data-testid="table-data-card"] a') - .first() - .should('be.visible') - .scrollIntoView() - .click(); - verifyResponseStatusCode('@getEntityDetails', 200); - cy.get('[data-testid="inactive-link"]') - .invoke('text') - .then((text) => { - cy.clickOnLogo(); - cy.get(`[data-testid="Recently Viewed-${text}"]`) - .contains(text) - .should('be.visible') - .click(); - cy.get('[data-testid="inactive-link"]') - .invoke('text') - .then((newText) => { - expect(newText).equal(text); - }); - cy.clickOnLogo(); - }); - }; - const checkRecentlySearchElement = (term) => { searchEntity(term, false); cy.clickOnLogo(); @@ -154,6 +128,11 @@ describe('MyData page should work', () => { entity.entityObj.serviceName, entity.entityObj.entity ); + cy.get('[data-testid="inactive-link"]') + .invoke('text') + .then((newText) => { + expect(newText).equal(text); + }); cy.clickOnLogo(); cy.get(`[data-testid="Recently Viewed-${text}"]`) .contains(text) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/PipelineDetails/PipelineDetails.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/PipelineDetails/PipelineDetails.component.tsx index 83904819d14..9d520925e60 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/PipelineDetails/PipelineDetails.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/PipelineDetails/PipelineDetails.component.tsx @@ -82,7 +82,6 @@ import { getLineageViewPath } from '../../utils/RouterUtils'; import SVGIcons from '../../utils/SvgUtils'; import { getTagsWithoutTier, getTierTags } from '../../utils/TableUtils'; import { fetchTagsAndGlossaryTerms } from '../../utils/TagsUtils'; -import { getDateTimeByTimeStamp } from '../../utils/TimeUtils'; import { showErrorToast, showSuccessToast } from '../../utils/ToastUtils'; import ActivityFeedList from '../ActivityFeed/ActivityFeedList/ActivityFeedList'; import ActivityThreadPanel from '../ActivityFeed/ActivityThreadPanel/ActivityThreadPanel'; @@ -597,14 +596,6 @@ const PipelineDetails = ({ width: 180, title: t('label.type'), }, - { - key: t('label.start-date'), - dataIndex: 'startDate', - width: 180, - title: t('label.start-date'), - render: (startDate: string) => - getDateTimeByTimeStamp(new Date(startDate).valueOf()), - }, { key: t('label.description'), dataIndex: 'description',