diff --git a/bigbluebutton-tests/playwright/sharednotes/sharednotes.js b/bigbluebutton-tests/playwright/sharednotes/sharednotes.js index d66c43cfdf..a84b6e6c0b 100644 --- a/bigbluebutton-tests/playwright/sharednotes/sharednotes.js +++ b/bigbluebutton-tests/playwright/sharednotes/sharednotes.js @@ -223,13 +223,13 @@ class SharedNotes extends MultiUsers { await this.userPage.waitAndClick(e.minimizePresentation); await this.userPage.hasElement(e.restorePresentation); await startSharedNotes(this.modPage); + const notesLocator = getNotesLocator(this.modPage); + await notesLocator.type('Hello'); await this.modPage.waitAndClick(e.notesOptions); await this.modPage.waitAndClick(e.pinNotes); await this.modPage.hasElement(e.unpinNotes); await this.userPage.hasElement(e.minimizePresentation); - const notesLocator = getNotesLocator(this.modPage); - await notesLocator.type('Hello'); const notesLocatorUser = getNotesLocator(this.userPage); await expect(notesLocator).toContainText(/Hello/, { timeout: 20000 }); await expect(notesLocatorUser).toContainText(/Hello/); diff --git a/bigbluebutton-tests/playwright/sharednotes/sharednotes.spec.js b/bigbluebutton-tests/playwright/sharednotes/sharednotes.spec.js index 0e1bd3c66f..8990eaff94 100644 --- a/bigbluebutton-tests/playwright/sharednotes/sharednotes.spec.js +++ b/bigbluebutton-tests/playwright/sharednotes/sharednotes.spec.js @@ -39,7 +39,7 @@ test.describe('Shared Notes', () => { await sharedNotes.seeNotesWithoutEditPermission(); }); - test('Pin and unpin notes onto whiteboard', async () => { + test('Pin and unpin notes onto whiteboard @ci', async () => { await sharedNotes.pinAndUnpinNotesOntoWhiteboard(); }); });