Organize device inventory by customer and restrict token access to its audience
This commit is contained in:
@@ -17,6 +17,6 @@ test('real TLS login follows announced configuration and restores session withou
|
||||
if (!config.dev_login_enabled) { await expect(page.locator('input[type="password"]')).toHaveCount(0); return; }
|
||||
await expect(page.getByText('DEV/TEST · SIMULIERTER TESTPRINCIPAL', { exact: false })).toBeVisible();
|
||||
await login(page); await page.reload(); await expect(page.getByRole('status')).toContainText('SIMULIERT');
|
||||
await expect(page.getByRole('heading', { name: 'Mitgliedschaft und Ausführungsstopp' })).toBeVisible();
|
||||
await expect(page.getByRole('heading', { name: 'Geräte', exact: true })).toBeVisible();
|
||||
await page.getByRole('button', { name: 'Abmelden', exact: true }).click(); await expect(page.getByRole('button', { name: 'Anmelden', exact: true })).toBeVisible();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user