Umbraco logo test (#13267)

This commit is contained in:
Jari Larsen
2022-10-22 13:01:18 +02:00
committed by GitHub
parent 3d3fbd34ca
commit 226faca53c

View File

@@ -0,0 +1,17 @@
import { test } from '@umbraco/playwright-testhelpers';
import { expect } from "@playwright/test";
test.describe('Umbraco Logo Information', () => {
test.beforeEach(async ({ page, umbracoApi }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});
test('Check Umbraco Logo Info Displays', async ({ page }) => {
await page.locator('.umb-app-header__logo').click();
await expect(page.locator('.umb-app-header__logo-modal').last()).toBeVisible();
});
});