mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:53:00 +00:00
submit username and password
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('get started link', async ({ page }) => {
|
||||
await page.goto('http://localhost:8080/');
|
||||
|
||||
await page.getByRole('heading', { name: 'Welcome back!' }).isVisible();
|
||||
test('username and password', async ({ page }) => {
|
||||
await page.goto('/');
|
||||
const loginname = page.getByLabel('Loginname')
|
||||
await loginname.pressSequentially("zitadel-admin@zitadel.localhost");
|
||||
await loginname.press( 'Enter');
|
||||
const password = page.getByLabel('Password')
|
||||
await password.pressSequentially("Password1!");
|
||||
await password.press( 'Enter');
|
||||
await page.getByText('Skip').click();
|
||||
});
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('get started link', async ({ page }) => {
|
||||
await page.goto('http://localhost:8080/');
|
||||
import { test } from '@playwright/test';
|
||||
|
||||
test('login is accessible', async ({ page }) => {
|
||||
await page.goto('http://localhost:3000/');
|
||||
await page.getByRole('heading', { name: 'Welcome back!' }).isVisible();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user