Skip to content

Commit

Permalink
Development: Fix a flaky e2e test where the instructor edits a channel (
Browse files Browse the repository at this point in the history
  • Loading branch information
muradium authored and AjayvirS committed Dec 3, 2024
1 parent 3bba9f2 commit fee6223
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/playwright/e2e/course/CourseMessages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit fee6223

Please sign in to comment.