6564659750
* test: all param tests on ci * test: remove check for notification on parameter test * test: remove 'Force restore presentation on new poll result' test - keep only one using the parameter -, fix selector and add all necessary assertions for the cases when the presentation should be restored * test: enable param test in CI * test: update tests tagging
47 lines
1.5 KiB
JavaScript
47 lines
1.5 KiB
JavaScript
const { test } = require('../fixtures');
|
|
const { SharedNotes } = require('./sharednotes');
|
|
const { linkIssue, 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', { tag: '@ci' }, async () => {
|
|
await sharedNotes.openSharedNotes();
|
|
});
|
|
|
|
test('Type in shared notes', { tag: '@ci' }, async () => {
|
|
await sharedNotes.typeInSharedNotes();
|
|
});
|
|
|
|
test('Formate text in shared notes', { tag: '@ci' }, async () => {
|
|
await sharedNotes.formatTextInSharedNotes();
|
|
});
|
|
|
|
test('Export shared notes', { tag: '@ci' }, async ({}, testInfo) => {
|
|
await sharedNotes.exportSharedNotes(testInfo);
|
|
});
|
|
|
|
test('Convert notes to presentation', { tag: '@ci' }, 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', { tag: [ '@ci', '@flaky' ] }, async () => {
|
|
linkIssue('20892');
|
|
await sharedNotes.pinAndUnpinNotesOntoWhiteboard();
|
|
});
|
|
});
|