mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-13 09:23:45 +00:00
fix activity feed flaky test (#21635)
This commit is contained in:
parent
161b4a8b2a
commit
c3eb2eab09
@ -676,10 +676,10 @@ base.describe('Activity feed with Data Consumer User', () => {
|
|||||||
'[data-testid="editor-wrapper"] .ql-editor',
|
'[data-testid="editor-wrapper"] .ql-editor',
|
||||||
'Closing the task with comment'
|
'Closing the task with comment'
|
||||||
);
|
);
|
||||||
await page1
|
|
||||||
.locator('.activity-feed-editor-send-btn')
|
const commentPostResponse = page1.waitForResponse('/api/v1/feed/*/posts');
|
||||||
.scrollIntoViewIfNeeded();
|
|
||||||
await page1.locator('.activity-feed-editor-send-btn').click();
|
await page1.locator('.activity-feed-editor-send-btn').click();
|
||||||
|
await commentPostResponse;
|
||||||
const commentWithCloseTask = page1.waitForResponse(
|
const commentWithCloseTask = page1.waitForResponse(
|
||||||
'/api/v1/feed/tasks/*/close'
|
'/api/v1/feed/tasks/*/close'
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user