mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-16 04:57:11 +00:00
FIX: flaky test and ui issues (#21194)
* fix bulk import table entity flaky test * modify announcement flaky test * fix the announcement card placement * fix the button width and height of inline button component (cherry picked from commit d2162f5db967fa8d9f2dab2eb0a86ba88e6cf91c)
This commit is contained in:
parent
a0195a82a5
commit
54d40535cf
@ -889,12 +889,10 @@ test.describe('Bulk Import Export', () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await page.click('[type="button"] >> text="Update"', { force: true });
|
await page.click('[type="button"] >> text="Update"', { force: true });
|
||||||
|
await updateButtonResponse;
|
||||||
await page
|
await page
|
||||||
.locator('.inovua-react-toolkit-load-mask__background-layer')
|
.locator('.inovua-react-toolkit-load-mask__background-layer')
|
||||||
.waitFor({ state: 'detached' });
|
.waitFor({ state: 'detached' });
|
||||||
|
|
||||||
await updateButtonResponse;
|
|
||||||
await page.waitForEvent('framenavigated');
|
|
||||||
await toastNotification(page, /details updated successfully/);
|
await toastNotification(page, /details updated successfully/);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -843,7 +843,7 @@ export const createAnnouncement = async (
|
|||||||
await page.reload();
|
await page.reload();
|
||||||
await page.getByTestId('announcement-card').isVisible();
|
await page.getByTestId('announcement-card').isVisible();
|
||||||
|
|
||||||
await expect(page.getByTestId('announcement-card')).toContainText(data.title);
|
await expect(page.getByTestId('announcement-title')).toHaveText(data.title);
|
||||||
|
|
||||||
// TODO: Review redirection flow for announcement @Ashish8689
|
// TODO: Review redirection flow for announcement @Ashish8689
|
||||||
// await redirectToHomePage(page);
|
// await redirectToHomePage(page);
|
||||||
|
@ -709,14 +709,14 @@ export const DataAssetsHeader = ({
|
|||||||
/>
|
/>
|
||||||
{extraInfo}
|
{extraInfo}
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-2">
|
|
||||||
{activeAnnouncement && (
|
{activeAnnouncement && (
|
||||||
|
<div className="m-t-sm d-flex justify-end">
|
||||||
<AnnouncementCard
|
<AnnouncementCard
|
||||||
announcement={activeAnnouncement}
|
announcement={activeAnnouncement}
|
||||||
onClick={handleOpenAnnouncementDrawer}
|
onClick={handleOpenAnnouncementDrawer}
|
||||||
/>
|
/>
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
||||||
|
@ -12,4 +12,10 @@
|
|||||||
*/
|
*/
|
||||||
.inline-edit-container {
|
.inline-edit-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
.ant-btn-icon-only.ant-btn-sm {
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user