Add visual test for create menu and display layout icon (#5278)

Co-authored-by: unlikelyzero <jchill2@gmail.com>
This commit is contained in:
John Hill 2022-06-02 07:43:40 -07:00 committed by GitHub
parent d88ead502c
commit 8d761f729b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');
});