This commit is contained in:
Lone Iversen
2023-01-25 14:01:26 +01:00
parent 709ffc828f
commit a42d0e7b6f
78 changed files with 221 additions and 888 deletions

View File

@@ -1,17 +0,0 @@
import { expect, test } from './test';
test('login', async ({ page }) => {
// Go to /login
await page.goto('/login');
// Fill input[name="email"]
await page.locator('input[name="email"]').fill('test@umbraco.com');
// Fill input[name="password"]
await page.locator('input[name="password"]').fill('test123456');
// Click [aria-label="Login"]
await page.locator('[aria-label="Login"]').click();
await expect(page).toHaveURL(`/section/content/dashboard/welcome`);
});