mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 11:39:12 +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',
|
||||
'Closing the task with comment'
|
||||
);
|
||||
await page1
|
||||
.locator('.activity-feed-editor-send-btn')
|
||||
.scrollIntoViewIfNeeded();
|
||||
|
||||
const commentPostResponse = page1.waitForResponse('/api/v1/feed/*/posts');
|
||||
await page1.locator('.activity-feed-editor-send-btn').click();
|
||||
await commentPostResponse;
|
||||
const commentWithCloseTask = page1.waitForResponse(
|
||||
'/api/v1/feed/tasks/*/close'
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user