test: update shared notes test and enable it on CI (#20415)
This commit is contained in:
parent
df10f2f9d2
commit
efcdcfcdf2
@ -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/);
|
||||
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user