Automated browser testing (#1415)
* Move automated api tests to api directory * First pass at automated browser testing
This commit is contained in:
11
test/automated/browser/tests/video.js
Normal file
11
test/automated/browser/tests/video.js
Normal file
@@ -0,0 +1,11 @@
|
||||
async function videoTest(browser, page) {
|
||||
it('should have the video container element', async () => {
|
||||
await page.waitForSelector('#video-container');
|
||||
});
|
||||
|
||||
it('should have the stream info status bar', async () => {
|
||||
await page.waitForSelector('#stream-info');
|
||||
});
|
||||
}
|
||||
|
||||
module.exports.videoTest = videoTest;
|
||||
Reference in New Issue
Block a user