a9d8a3d81e
* adds media tests files * fixes the audio test * adds virtualized list test * add default values to .env-template * re-add media folder to ignored list * Revert "adds media tests files" This reverts commitcca05d3513
. * Revert "fixes the audio test" This reverts commit73ef7f69a4
. * fixes the audio test * updates puppeteer from 1.7.0 to 2.0.0 to fix Page.setInterceptFileChooserDialog problems * [WIP]: adding the collection of number of users in DOM and mongo * updates virtualized user list test * browserless as a singleton * adds some console logs * adds logs and code updates * updates code and deleted singleton * deleted the dateObj from Page.getMetrics() * updates .env-template variables * updates the test to return if success or fail * removes debugging comments and updates w/ or w/o browserless page args
19 lines
315 B
JavaScript
19 lines
315 B
JavaScript
const Page = require('../core/page');
|
|
const util = require('./util');
|
|
|
|
class Audio extends Page {
|
|
constructor() {
|
|
super('audio-test');
|
|
}
|
|
|
|
async test() {
|
|
return await util.joinAudio(this);
|
|
}
|
|
|
|
async microphone() {
|
|
return await util.joinMicrophone(this);
|
|
}
|
|
}
|
|
|
|
module.exports = exports = Audio;
|