mirror of
https://github.com/nasa/openmct.git
synced 2024-12-29 17:38:53 +00:00
Wait for background image to load
This commit is contained in:
parent
eeff0a7bff
commit
fdae0ceb72
@ -46,6 +46,7 @@ test.describe('Example Imagery Object', () => {
|
|||||||
// Verify that the created object is focused
|
// Verify that the created object is focused
|
||||||
await expect(page.locator('.l-browse-bar__object-name')).toContainText(exampleImagery.name);
|
await expect(page.locator('.l-browse-bar__object-name')).toContainText(exampleImagery.name);
|
||||||
await page.locator('.c-imagery__main-image__bg').hover({ trial: true });
|
await page.locator('.c-imagery__main-image__bg').hover({ trial: true });
|
||||||
|
await page.locator(backgroundImageSelector).waitFor();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Can use Mouse Wheel to zoom in and out of latest image', async ({ page }) => {
|
test('Can use Mouse Wheel to zoom in and out of latest image', async ({ page }) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user