bigbluebutton-Github/bigbluebutton-tests/playwright/api/api.spec.js
Brent Baccala e2b65c546a API calls: refactor createMeeting to separate out URL calculation,
creating a promise, and resolving the promise.  Also split API
tests apart and name them less confusingly.
2022-11-07 17:00:54 -05:00

17 lines
435 B
JavaScript

const { test } = require('@playwright/test');
const { API } = require('./api.js');
test.describe.parallel('API', () => {
test('getMeetings', async ({ browser, context, page }) => {
const api = new API(browser, context, page);
await api.testGetMeetings();
});
test('getMeetingInfo', async ({ browser, context, page }) => {
const api = new API(browser, context, page);
await api.testGetMeetingInfo();
});
});