mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									ef1585d764
								
							
						
					
					
						commit
						e2e32d9f0c
					
				| @ -30,6 +30,7 @@ import { | |||||||
| } from '../../utils/activityFeed'; | } from '../../utils/activityFeed'; | ||||||
| import { performAdminLogin } from '../../utils/admin'; | import { performAdminLogin } from '../../utils/admin'; | ||||||
| import { | import { | ||||||
|  |   clickOutside, | ||||||
|   descriptionBox, |   descriptionBox, | ||||||
|   redirectToHomePage, |   redirectToHomePage, | ||||||
|   removeLandingBanner, |   removeLandingBanner, | ||||||
| @ -877,6 +878,7 @@ base.describe('Activity feed with Data Consumer User', () => { | |||||||
|         const dropdownValue = page2.getByTestId(`tag-PII.None`); |         const dropdownValue = page2.getByTestId(`tag-PII.None`); | ||||||
|         await dropdownValue.hover(); |         await dropdownValue.hover(); | ||||||
|         await dropdownValue.click(); |         await dropdownValue.click(); | ||||||
|  |         await clickOutside(page2); | ||||||
| 
 | 
 | ||||||
|         await expect(page2.getByTestId('selected-tag-PII.None')).toBeVisible(); |         await expect(page2.getByTestId('selected-tag-PII.None')).toBeVisible(); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -956,9 +956,9 @@ export const TaskTab = ({ | |||||||
|       {isTaskTestCaseResult ? ( |       {isTaskTestCaseResult ? ( | ||||||
|         <Modal |         <Modal | ||||||
|           destroyOnClose |           destroyOnClose | ||||||
|           maskClosable |  | ||||||
|           closable={false} |           closable={false} | ||||||
|           closeIcon={null} |           closeIcon={null} | ||||||
|  |           maskClosable={false} | ||||||
|           okButtonProps={{ |           okButtonProps={{ | ||||||
|             loading: isActionLoading, |             loading: isActionLoading, | ||||||
|           }} |           }} | ||||||
| @ -1019,9 +1019,9 @@ export const TaskTab = ({ | |||||||
|       ) : ( |       ) : ( | ||||||
|         <Modal |         <Modal | ||||||
|           destroyOnClose |           destroyOnClose | ||||||
|           maskClosable |  | ||||||
|           closable={false} |           closable={false} | ||||||
|           closeIcon={null} |           closeIcon={null} | ||||||
|  |           maskClosable={false} | ||||||
|           open={showEditTaskModel} |           open={showEditTaskModel} | ||||||
|           title={`${t('label.edit-entity', { |           title={`${t('label.edit-entity', { | ||||||
|             entity: t('label.task-lowercase'), |             entity: t('label.task-lowercase'), | ||||||
|  | |||||||
| @ -234,6 +234,7 @@ const KPIList = () => { | |||||||
|       <Col span={24}> |       <Col span={24}> | ||||||
|         <Table |         <Table | ||||||
|           bordered |           bordered | ||||||
|  |           className="kpi-table" | ||||||
|           columns={columns} |           columns={columns} | ||||||
|           data-testid="kpi-table" |           data-testid="kpi-table" | ||||||
|           dataSource={kpiList} |           dataSource={kpiList} | ||||||
|  | |||||||
| @ -827,7 +827,8 @@ a[href].link-text-grey, | |||||||
|   .activity-feed-editor-drawer, |   .activity-feed-editor-drawer, | ||||||
|   .policies-list-table, |   .policies-list-table, | ||||||
|   .roles-list-table, |   .roles-list-table, | ||||||
|   .list-table { |   .list-table, | ||||||
|  |   .kpi-table { | ||||||
|     margin-right: 64px; |     margin-right: 64px; | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashish Gupta
						Ashish Gupta