Add console error checking to our e2e suite (#5177)

Co-authored-by: unlikelyzero <jchill2@gmail.com>
This commit is contained in:
John Hill
2022-05-13 10:55:34 -07:00
committed by GitHub
parent b8d9e41c01
commit 09da373d1c
17 changed files with 70 additions and 20 deletions

View File

@ -26,7 +26,8 @@ but only assume that example imagery is present.
*/
/* globals process */
const { test, expect } = require('@playwright/test');
const { test } = require('../../../fixtures.js');
const { expect } = require('@playwright/test');
test.describe('Example Imagery', () => {
@ -41,6 +42,9 @@ test.describe('Example Imagery', () => {
// Click text=Example Imagery
await page.click('text=Example Imagery');
// Click on My Items in Tree. Workaround for https://github.com/nasa/openmct/issues/5184
await page.click('form[name="mctForm"] a:has-text("My Items")');
// Click text=OK
await Promise.all([
page.waitForNavigation({waitUntil: 'networkidle'}),