Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

302 lines
9.9 KiB
TypeScript
Raw Normal View History

/*
* Copyright 2024 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { expect, Page, test as base } from '@playwright/test';
import { PersonaClass } from '../../support/persona/PersonaClass';
import { UserClass } from '../../support/user/UserClass';
import { performAdminLogin } from '../../utils/admin';
import { redirectToHomePage, toastNotification } from '../../utils/common';
import {
checkAllDefaultWidgets,
navigateToCustomizeLandingPage,
openAddCustomizeWidgetModal,
removeAndCheckWidget,
saveCustomizeLayoutPage,
setUserDefaultPersona,
} from '../../utils/customizeLandingPage';
const adminUser = new UserClass();
const persona = new PersonaClass();
const persona2 = new PersonaClass();
const test = base.extend<{ adminPage: Page; userPage: Page }>({
adminPage: async ({ browser }, use) => {
const adminPage = await browser.newPage();
await adminUser.login(adminPage);
await use(adminPage);
await adminPage.close();
},
});
base.beforeAll('Setup pre-requests', async ({ browser }) => {
const { afterAction, apiContext } = await performAdminLogin(browser);
await adminUser.create(apiContext);
await adminUser.setAdminRole(apiContext);
await persona.create(apiContext, [adminUser.responseData.id]);
await persona2.create(apiContext);
await afterAction();
});
base.afterAll('Cleanup', async ({ browser }) => {
const { afterAction, apiContext } = await performAdminLogin(browser);
await adminUser.delete(apiContext);
await persona.delete(apiContext);
await persona2.delete(apiContext);
await afterAction();
});
test.describe('Customize Landing Page Flow', () => {
test('Check all default widget present', async ({ adminPage }) => {
await redirectToHomePage(adminPage);
await checkAllDefaultWidgets(adminPage);
});
test('Add, Remove and Reset widget should work properly', async ({
adminPage,
}) => {
test.slow(true);
await redirectToHomePage(adminPage);
await setUserDefaultPersona(adminPage, persona.responseData.displayName);
await test.step('Remove widget', async () => {
test.slow(true);
await navigateToCustomizeLandingPage(adminPage, {
personaName: persona.responseData.name,
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
});
await removeAndCheckWidget(adminPage, {
widgetKey: 'KnowledgePanel.ActivityFeed',
});
await removeAndCheckWidget(adminPage, {
widgetKey: 'KnowledgePanel.Following',
});
await removeAndCheckWidget(adminPage, {
widgetKey: 'KnowledgePanel.KPI',
});
await saveCustomizeLayoutPage(adminPage, true);
await redirectToHomePage(adminPage);
// Check if removed widgets are not present on landing adminPage
await expect(
adminPage.locator('[data-testid="KnowledgePanel.ActivityFeed"]')
).not.toBeVisible();
await expect(
adminPage.locator('[data-testid="KnowledgePanel.Following"]')
).not.toBeVisible();
await expect(
adminPage.locator('[data-testid="KnowledgePanel.KPI"]')
).not.toBeVisible();
});
await test.step('Add widget', async () => {
test.slow(true);
await navigateToCustomizeLandingPage(adminPage, {
personaName: persona.responseData.name,
});
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
// Check if removed widgets are not present on customize page
await expect(
adminPage.locator('[data-testid="KnowledgePanel.ActivityFeed"]')
).not.toBeVisible();
await expect(
adminPage.locator('[data-testid="KnowledgePanel.Following"]')
).not.toBeVisible();
await expect(
adminPage.locator('[data-testid="KnowledgePanel.KPI"]')
).not.toBeVisible();
// Check if other widgets are present
await expect(
adminPage.locator('[data-testid="KnowledgePanel.MyData"]')
).toBeVisible();
await expect(
adminPage.locator('[data-testid="KnowledgePanel.TotalAssets"]')
).toBeVisible();
await openAddCustomizeWidgetModal(adminPage);
await adminPage.locator('[data-testid="loader"]').waitFor({
state: 'detached',
});
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
// Check if 'check' icon is present for existing widgets
await expect(
adminPage
.locator('[data-testid="sidebar-option-KnowledgePanel.MyData"]')
.locator('.selected-widget-icon')
).toBeVisible();
await expect(
adminPage
.locator('[data-testid="sidebar-option-KnowledgePanel.TotalAssets"]')
.locator('.selected-widget-icon')
).toBeVisible();
// Check if 'check' icon is not present for removed widgets
await expect(
adminPage
.locator('[data-testid="sidebar-option-KnowledgePanel.ActivityFeed"]')
.locator('.selected-widget-icon')
).not.toBeVisible();
await expect(
adminPage
.locator('[data-testid="sidebar-option-KnowledgePanel.Following"]')
.locator('.selected-widget-icon')
).not.toBeVisible();
await expect(
adminPage
.locator('[data-testid="sidebar-option-KnowledgePanel.KPI"]')
.locator('.selected-widget-icon')
).not.toBeVisible();
// Add Following widget
await adminPage
.locator('[data-testid="KnowledgePanel.Following"]')
.click();
await adminPage.locator('[data-testid="apply-btn"]').click();
await expect(
adminPage.locator('[data-testid="KnowledgePanel.Following"]')
).toBeVisible();
// Check if check icons are present in tab labels for newly added widgets
await openAddCustomizeWidgetModal(adminPage);
// Check if 'check' icon is present for the Following widget
await expect(
adminPage
.locator('[data-testid="sidebar-option-KnowledgePanel.Following"]')
.locator('.selected-widget-icon')
).toBeVisible();
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
// Close the add widget modal
await adminPage.locator('[data-testid="cancel-btn"]').click();
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
// Save the updated layout
await saveCustomizeLayoutPage(adminPage);
// Navigate to the landing page
await redirectToHomePage(adminPage);
await adminPage.waitForLoadState('networkidle');
// Check if removed widgets are not present on the landing page
await expect(
adminPage.getByTestId('KnowledgePanel.ActivityFeed')
).not.toBeVisible();
await expect(
adminPage.getByTestId('KnowledgePanel.KPI')
).not.toBeVisible();
// Check if newly added widgets are present on the landing page
await expect(
adminPage.getByTestId('KnowledgePanel.Following')
).toBeVisible();
});
await test.step(
'Resetting the layout flow should work properly',
async () => {
test.slow(true);
// Check if removed widgets are not present on landing page
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
await expect(
adminPage.getByTestId('KnowledgePanel.ActivityFeed')
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
).not.toBeVisible();
await expect(
adminPage.getByTestId('KnowledgePanel.KPI')
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
).not.toBeVisible();
await navigateToCustomizeLandingPage(adminPage, {
personaName: persona.responseData.name,
feat(ui): revamp landing page (#21691) * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * feat(ui): customise home page banner (#21793) * add structure for customise home modal * feat: customise banner background color * refactor css * add unit tests * fix color change functionality * minor fix * refactor code * minor refector * feat(ui): new layout for home page (#21901) * update new layout for home page * add unit tests * feat(ui): widgets selection modal (#21974) * add selection widgets to modal * implement add widgets functionality * fix placeholderWidgetKey for addWidget * fix handleApply call * fix erros after merging to main for react upgrade * add tests * refactor css for widget card * fix tests * add images for widgets * add localisation * fix test * Add json files for new landing page (#22116) * chore(ci): improve e2e runners with conditions (#22084) * MINOR: Fix pytest 3.9 (#22085) * feat: add support for DBX system metrics (#22044) * feat: add support for DBX system metrics * feat: add support for DBX system metrics * fix: added WRITE back * fix: failing test cases * fix: failing test * Doc: Meta Description Updation (#22074) * Doc: 404 Images Fixing (#22083) * Doc: Version change along with 404 Error Fixing (#22053) Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> * Minor: Fix the token expiry options order (#22049) * Fix the token expiry options order * Improve the logic and fix playwright tests * fix sonar cloud issue * Fix the type error * Feature #20137 Move Glossary Terms to any level including other glossaries (#21867) * allow changing of glossary term * Draft ES Index Update for Glossary term move * ES Upates in a more faster one shot bulk update * Remove validations on Parent Glossary Hierarchy and Include Circular Glossary Term Validations * Introduced a new PUT api for glossaryTerms move operation * Optimised moveGlossaryTerm * Added Transaction Scope in moveAndStore in updater * Remove Consolidate and revert changes for move operation * Improved Change Description and Versioning for move operation * Improvise request payload to have only parent and optimise the flow * Implement async functionality of Glossary Terms move * mvn spotless:apply * MoveGlossaryTermChannel, Get only the required fields * Fix: Update Parent for Glossary Term during Bulk Import * allow glossary term to be moved across glossaries * update locales * move socket listening to hierarchy dialog * Added fqn to move message for the websocket response * fix tests * add glossary tests * cleanup * fix tests * Refactor code: Resolve Conflicts * fix tests * fix permissions * cleanup * Update generated TypeScript types * Abstraction Logic in place of instanceOf logic for bulkImportExportGlossary to update the parent * Update generated TypeScript types --------- Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> * update the snapshots url for ossrh migration (#22090) * Update README and Ingestion Framework Documentation (#22080) * Add my task json for new landing page * update description * add domain.json * fix test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> * feat(ui): Add support to create curated assets widget (#21870) * feat(ui): Add support to create curated assets widget * revert settings.json * fix: minor style for customisation pages * feat(ui): customisation of landing page (#21692) * add customise header section * fix react grid layout for widgets * fix widget height and refactor code * fix tests * address pr comments and added unit test * fix unit test * fix spacing issues and addressed pr comments * fix locale * update icons and styles * fix view more * fix footer * add unit tests and minor fixes * add curatedAssets.json * format json file * address comments * address comments * remove unnecessary indentation and fix locale * minor fix * address comments * update json * remove unnecessary changes * update imports * add sort and size options * add unit test * fix test * revert test changes * fix unit tests * Fix failing test * fix sonar nullish operator issue * address feedback --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * feat(ui): create widgets with new layout having sizes small and medium (#22082) * fix customise home modal for home page * redesign widget * fix following widget * data assets widget * fix conflicting styles --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Remove global search bar and add functionality to new search bar (#22156) * Remove global search bar and add functionality to new search bar * add unit tests * Add support for My Task widget (#22161) * Add support for My Task widget * address comments * minor fix * fix failing tests * Hide non configured curated asset from my data page (#22209) * Hide non configured curated asset from my data page * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * Disable save button and fix UI discrepencies (#22152) * Disable save button and miscellaneous changes * fix ui * Fix failing test * address comments --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * add persona preference to uiCustomisation * Add support to update persona preferences for the user (#22235) * Add support to update persona preferences for the user * add loader * add success toast * Fix failing unit test * Update generated TypeScript types * Support background update by admin for customized landing page (#22301) * Fix failing e2e tests (#22248) * Fix failing e2e tests * fix activity feed tests * fix failing e2e tests * fix EntityDataSteward and Entity tests * fix failing tests * Fix metric tests * Fix lineage and my data page * update uuid * Add support for domains widget (#22318) * Add support for domains widget * code cleanup * minor fix * fix failing test * address comments * update .less file * import t from utils --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> * Update curated assets widget for full size (#22343) * Fix customize search functionality (#22349) * Fix customize search functionality * update-my-task-icon * fix failing tests * Redesign Data Assets widget (#22353) * Redesign Data Assets widget * remove comments * add footer and its unit tests * Add new announcement widget (#22373) * Add new announcement widget * fix badge color * fix styles * address comments * fix failing test * minor fix * fix css * fix color variable * Fix KPI and Total Data Assets widgets (#22359) * fix dropdown styles * fix minor styles * remove recently viewed widget * fix kpi widget and added tests * fix total data assets widget and add tests * minor style fix * remove kpi filters * fix total data assets chart colors * add filters for total data assets * fix kpi widget styles * minor style fix * addressed pr comments * Feat(UI): Added Feed , Assets Following and My data widget (#22375) * added feeds widget * addressed comments * fixed padding * addressed comments and added new tests * addressed comments and added new tests * removed unncessary slice condition * added sorting for follwing and my data widget * fixed truncate and overflow edge condtions * fixed sonar test * remove unwanted options * Fix UI cosmetic issues (#22439) * fix: failing e2e tests (#22427) * fix Entity.spec * fix metric tests from Entity.spec * minor fix * minor fix * Fix CSS for data assets, KPI and total data assets widget (#22458) * Fix failing e2e tests (#22396) * Fix failing e2e tests * Fix tour and data quality tests * Fix description suggestion * fix customMetric tests * fix tests * fix tests * fix navbar and bulk import tests * Fix entity service tests * Fix ExploreQuickFilters.spec.ts * fix metric tests * update config * minor fix * Fix domain rbac * Fix test * fix unit test --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> * fix tests * Fix failing E2E tests (#22462) * Fix failing E2E tests * Fix service entity tests * fix tests * fix kpi widget test id * fix schema definition and frequently joined tests * fix domains.spec * fix tests * fix tests and address ui feedbacks * fix unit tests --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harshit Shah <dinkushah169@gmail.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Teddy <teddy.crepineau@gmail.com> Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com> Co-authored-by: “Rounak <“rounakpreet.d@deuexsolutions.com”> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com> Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
2025-07-19 17:59:14 +05:30
});
// Check if removed widgets are not present on customize page
await expect(
adminPage.locator('[data-testid="KnowledgePanel.ActivityFeed"]')
).not.toBeVisible();
await expect(
adminPage.locator('[data-testid="KnowledgePanel.KPI"]')
).not.toBeVisible();
await adminPage.locator('[data-testid="reset-button"]').click();
// Confirm reset in modal
const resetResponse = adminPage.waitForResponse('/api/v1/docStore/*');
await adminPage
.getByRole('button', { name: 'Reset', exact: true })
.click();
await resetResponse;
// Verify the toast notification
await toastNotification(adminPage, 'Page layout updated successfully.');
// Check if all widgets are present after resetting the layout
await checkAllDefaultWidgets(adminPage);
// Check if all widgets are present on landing page
await redirectToHomePage(adminPage);
// Ensures the page is fully loaded
await adminPage.waitForLoadState('networkidle');
await checkAllDefaultWidgets(adminPage);
}
);
});
test('Widget drag and drop reordering', async ({ adminPage }) => {
test.slow(true);
await navigateToCustomizeLandingPage(adminPage, {
personaName: persona.responseData.name,
});
// Test dragging widgets to reorder them
const widget1 = adminPage.locator('[data-testid="KnowledgePanel.MyData"]');
const widget2 = adminPage.locator(
'[data-testid="KnowledgePanel.Following"]'
);
if ((await widget1.count()) > 0 && (await widget2.count()) > 0) {
// Get initial positions
const widget1Box = await widget1.boundingBox();
const widget2Box = await widget2.boundingBox();
if (widget1Box && widget2Box) {
// Test drag functionality (may not actually reorder in test environment)
await widget1.hover();
await expect(widget1).toBeVisible();
await expect(widget2).toBeVisible();
// Verify widgets remain functional after attempted drag
await saveCustomizeLayoutPage(adminPage);
await redirectToHomePage(adminPage);
await expect(
adminPage.getByTestId('KnowledgePanel.MyData')
).toBeVisible();
await expect(
adminPage.getByTestId('KnowledgePanel.Following')
).toBeVisible();
}
}
});
});