mirror of
https://github.com/nasa/openmct.git
synced 2025-01-29 15:43:52 +00:00
Add visual test for create menu and display layout icon (#5278)
Co-authored-by: unlikelyzero <jchill2@gmail.com>
This commit is contained in:
parent
d88ead502c
commit
8d761f729b
@ -194,3 +194,16 @@ test('Visual - Save Successful Banner', async ({ page }) => {
|
||||
await percySnapshot(page, 'Banner message gone');
|
||||
|
||||
});
|
||||
|
||||
test('Visual - Display Layout Icon is correct', async ({ page }) => {
|
||||
//Go to baseURL
|
||||
await page.goto('/', { waitUntil: 'networkidle' });
|
||||
|
||||
//Click the Create button
|
||||
await page.click('button:has-text("Create")');
|
||||
|
||||
//Hover on Display Layout option.
|
||||
await page.locator('text=Display Layout').hover();
|
||||
await percySnapshot(page, 'Display Layout Create Menu');
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user