PLAYWRIGHT: fix activityFeed and DataInsight AUT playwright test (#18180)

* fix activityFeed and DataInsight AUT playwright test

* minor improvement

(cherry picked from commit af713adaa7f90a207167f060b80c3743b0869d86)
This commit is contained in:
Ashish Gupta 2024-10-09 16:51:21 +05:30
parent ef1585d764
commit e2e32d9f0c
4 changed files with 7 additions and 3 deletions

View File

@ -30,6 +30,7 @@ import {
} from '../../utils/activityFeed';
import { performAdminLogin } from '../../utils/admin';
import {
clickOutside,
descriptionBox,
redirectToHomePage,
removeLandingBanner,
@ -877,6 +878,7 @@ base.describe('Activity feed with Data Consumer User', () => {
const dropdownValue = page2.getByTestId(`tag-PII.None`);
await dropdownValue.hover();
await dropdownValue.click();
await clickOutside(page2);
await expect(page2.getByTestId('selected-tag-PII.None')).toBeVisible();

View File

@ -956,9 +956,9 @@ export const TaskTab = ({
{isTaskTestCaseResult ? (
<Modal
destroyOnClose
maskClosable
closable={false}
closeIcon={null}
maskClosable={false}
okButtonProps={{
loading: isActionLoading,
}}
@ -1019,9 +1019,9 @@ export const TaskTab = ({
) : (
<Modal
destroyOnClose
maskClosable
closable={false}
closeIcon={null}
maskClosable={false}
open={showEditTaskModel}
title={`${t('label.edit-entity', {
entity: t('label.task-lowercase'),

View File

@ -234,6 +234,7 @@ const KPIList = () => {
<Col span={24}>
<Table
bordered
className="kpi-table"
columns={columns}
data-testid="kpi-table"
dataSource={kpiList}

View File

@ -827,7 +827,8 @@ a[href].link-text-grey,
.activity-feed-editor-drawer,
.policies-list-table,
.roles-list-table,
.list-table {
.list-table,
.kpi-table {
margin-right: 64px;
}
}