bigbluebutton-Github/bigbluebutton-tests/playwright/sharednotes/sharednotes.spec.js
Anton Barboza de Sá d30b806b47
test: Fix no-flaky tests and properly set the execution mode (#19436)
* test: fix shortcuts, add flaky flag for test requiring graphql data, fix slide change for tldraw v2

* test: properly set the execution mode

* test: use isMultiUser parameter inside options obj

* test: fix banner color test

* test: increase breakout test timeouts for user joining room

* test: redo the change in the hide presentation on join test

* test: change hide presentation steps and add flaky flag on it
2024-01-19 13:42:01 -03:00

46 lines
1.4 KiB
JavaScript

const { test } = require('@playwright/test');
const { SharedNotes } = require('./sharednotes');
const { initializePages } = require('../core/helpers');
const { fullyParallel } = require('../playwright.config');
test.describe('Shared Notes', () => {
const sharedNotes = new SharedNotes();
test.describe.configure({ mode: fullyParallel ? 'parallel' : 'serial' });
test[fullyParallel ? 'beforeEach' : 'beforeAll'](async ({ browser }) => {
await initializePages(sharedNotes, browser, { isMultiUser: true });
});
test('Open shared notes @ci', async () => {
await sharedNotes.openSharedNotes();
});
test('Type in shared notes', async () => {
await sharedNotes.typeInSharedNotes();
});
test('Formate text in shared notes', async () => {
await sharedNotes.formatTextInSharedNotes();
});
test('Export shared notes @ci', async ({}, testInfo) => {
await sharedNotes.exportSharedNotes(testInfo);
});
test('Convert notes to whiteboard', async () => {
await sharedNotes.convertNotesToWhiteboard();
});
test('Multiusers edit', async () => {
await sharedNotes.editSharedNotesWithMoreThanOneUSer();
});
test('See notes without edit permission', async () => {
await sharedNotes.seeNotesWithoutEditPermission();
});
test('Pin and unpin notes onto whiteboard', async () => {
await sharedNotes.pinAndUnpinNotesOntoWhiteboard();
});
});