bigbluebutton-Github/bigbluebutton-tests/playwright/learningdashboard/learningdashboard.spec.js
2023-02-28 14:44:30 -03:00

23 lines
663 B
JavaScript

const { test } = require('@playwright/test');
const { LearningDashboard } = require('./learningdashboard');
test.describe('Learning Dashboard', async () => {
const learningDashboard = new LearningDashboard();
test.beforeAll(async ({ browser }) => {
const context = await browser.newContext();
const page = await context.newPage();
await learningDashboard.initModPage(page, true);
await learningDashboard.getDashboardPage(context);
});
test('Check message', async() => {
await learningDashboard.writeOnPublicChat();
});
test('Meeting Duration Time', async() => {
await learningDashboard.meetingDurationTime();
});
})