e2b65c546a
creating a promise, and resolving the promise. Also split API tests apart and name them less confusingly.
17 lines
435 B
JavaScript
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();
|
|
});
|
|
|
|
});
|