[e2e] Update tests to be compatible with viper #5513 (#5520)

Co-authored-by: John Hill <john.c.hill@nasa.gov>
This commit is contained in:
Dean Lofts
2022-07-26 06:21:41 +10:00
committed by GitHub
parent 7e854f078e
commit 7e1337447f
28 changed files with 50 additions and 50 deletions

View File

@@ -39,7 +39,7 @@ const { expect } = require('@playwright/test');
test('Verify that the create button appears and that the Folder Domain Object is available for selection', async ({ page }) => {
//Go to baseURL
await page.goto('/', { waitUntil: 'networkidle' });
await page.goto('./', { waitUntil: 'networkidle' });
//Click the Create button
await page.click('button:has-text("Create")');
@@ -52,7 +52,7 @@ test('Verify that My Items Tree appears @ipad', async ({ page }) => {
//Test.slow annotation is currently broken. Needs to be fixed in https://github.com/nasa/openmct/issues/5374
test.slow();
//Go to baseURL
await page.goto('/');
await page.goto('./');
//My Items to be visible
await expect(page.locator('a:has-text("My Items")')).toBeEnabled();