[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

@@ -37,7 +37,7 @@ test.describe('Example Imagery Object', () => {
test.beforeEach(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")');
@@ -237,7 +237,7 @@ test('Example Imagery in Display layout', async ({ page, browserName }) => {
});
// Go to baseURL
await page.goto('/', { waitUntil: 'networkidle' });
await page.goto('./', { waitUntil: 'networkidle' });
// Click the Create button
await page.click('button:has-text("Create")');
@@ -348,7 +348,7 @@ test('Example Imagery in Display layout', async ({ page, browserName }) => {
test.describe('Example imagery thumbnails resize in display layouts', () => {
test('Resizing the layout changes thumbnail visibility and size', async ({ page }) => {
await page.goto('/', { waitUntil: 'networkidle' });
await page.goto('./', { waitUntil: 'networkidle' });
const thumbsWrapperLocator = page.locator('.c-imagery__thumbs-wrapper');
// Click button:has-text("Create")
@@ -448,7 +448,7 @@ test.describe('Example Imagery in Flexible layout', () => {
});
// Go to baseURL
await page.goto('/', { waitUntil: 'networkidle' });
await page.goto('./', { waitUntil: 'networkidle' });
// Click the Create button
await page.click('button:has-text("Create")');