diff --git a/src/test/playwright/e2e/course/CourseMessages.spec.ts b/src/test/playwright/e2e/course/CourseMessages.spec.ts index 62823545744e..291aaaa095b8 100644 --- a/src/test/playwright/e2e/course/CourseMessages.spec.ts +++ b/src/test/playwright/e2e/course/CourseMessages.spec.ts @@ -148,6 +148,7 @@ test.describe('Course messages', { tag: '@fast' }, () => { await courseMessages.editDescription('New Description'); await courseMessages.closeEditPanel(); await page.reload(); + await page.locator('jhi-conversation-header').waitFor({ state: 'visible', timeout: 10000 }); await expect(courseMessages.getName()).toContainText(newName); await expect(courseMessages.getTopic()).toContainText(topic); });