bigbluebutton-Github/bigbluebutton-tests/playwright/learningdashboard/learningdashboard.spec.js
Ramón Souza 3a531b0532
refactor: Remove the "Raise Hand" experience from the reactions bar (#21373)
* move raise hand out of reactions bar

* adjust reactions bar border-radius

* adjust button background + remove custom icon

* fixing raise hand test

* skipping raise hand test

* fixed learning dashboaard test, flaky to notification test

---------

Co-authored-by: Gabriel Porfirio <gabrielporfirio1994@gmail.com>
2024-10-14 13:16:59 -03:00

41 lines
1.4 KiB
JavaScript

const { test } = require('../fixtures');
const { fullyParallel } = require('../playwright.config');
const { LearningDashboard } = require('./learningdashboard');
const c = require('../parameters/constants');
const { initializePages } = require('../core/helpers');
test.describe('Learning Dashboard', async () => {
const learningDashboard = new LearningDashboard();
test.describe.configure({ mode: fullyParallel ? 'parallel' : 'serial' });
test[fullyParallel ? 'beforeEach' : 'beforeAll'](async ({ browser }) => {
await initializePages(learningDashboard, browser, { createParameter: c.recordMeeting });
await learningDashboard.getDashboardPage();
});
test('Check message', async() => {
await learningDashboard.writeOnPublicChat();
});
test('User Time On Meeting', async() => {
await learningDashboard.userTimeOnMeeting();
});
test('Polls', { tag: '@ci' }, async () => {
await learningDashboard.initUserPage(true, learningDashboard.modPage.context, { isRecording: true });
await learningDashboard.polls();
});
test('Basic Infos', { tag: '@ci' }, async () => {
await learningDashboard.basicInfos();
});
test('Overview', { tag: '@ci' }, async () => {
await learningDashboard.overview();
});
test('Download Session Learning Dashboard', { tag: '@ci' }, async ({}, testInfo) => {
await learningDashboard.downloadSessionLearningDashboard(testInfo);
});
});