Silence the browser test error

This commit is contained in:
Gabe Kangas
2021-11-01 00:40:39 -07:00
parent 4c37308e71
commit 47b84faefb
2 changed files with 9 additions and 12 deletions
+1 -2
View File
@@ -2,7 +2,7 @@ const listenForErrors = require('./lib/errors.js').listenForErrors;
const ADMIN_USERNAME = 'admin';
const ADMIN_PASSWORD = 'abc123';
describe('Video embed page', () => {
describe('Admin page', () => {
beforeAll(async () => {
await page.setViewport({ width: 1080, height: 720 });
listenForErrors(browser, page);
@@ -24,5 +24,4 @@ describe('Video embed page', () => {
it('should have rendered the admin home page', async () => {
await page.waitForSelector('.home-container');
});
});