mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-16 04:57:11 +00:00
fix flaky activity feed test (#21159)
This commit is contained in:
parent
b1791af2fe
commit
aa30cdf7ed
@ -714,7 +714,7 @@ base.describe('Activity feed with Data Consumer User', () => {
|
|||||||
await page2.waitForLoadState('networkidle');
|
await page2.waitForLoadState('networkidle');
|
||||||
// Count for task should be 1 both open and closed
|
// Count for task should be 1 both open and closed
|
||||||
|
|
||||||
checkTaskCountInActivityFeed(page2, 1, 1);
|
await checkTaskCountInActivityFeed(page2, 1, 1);
|
||||||
|
|
||||||
// Should not see the close button
|
// Should not see the close button
|
||||||
expect(page2.locator('[data-testid="close-button"]')).not.toBeVisible();
|
expect(page2.locator('[data-testid="close-button"]')).not.toBeVisible();
|
||||||
@ -730,7 +730,7 @@ base.describe('Activity feed with Data Consumer User', () => {
|
|||||||
await toastNotification(page2, /Task resolved successfully/);
|
await toastNotification(page2, /Task resolved successfully/);
|
||||||
|
|
||||||
await page2.waitForLoadState('networkidle');
|
await page2.waitForLoadState('networkidle');
|
||||||
checkTaskCountInActivityFeed(page2, 0, 2);
|
await checkTaskCountInActivityFeed(page2, 0, 2);
|
||||||
|
|
||||||
await afterActionUser2();
|
await afterActionUser2();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user