fix login error on keycloak template
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<#import "template.ftl" as layout>
|
<#import "template.ftl" as layout>
|
||||||
<@layout.registrationLayout displayMessage=!messagesPerField.existsError('username','password'); section>
|
<@layout.registrationLayout displayMessage=true; section>
|
||||||
<#if section = "form">
|
<#if section = "form">
|
||||||
<form id="kc-form-login" action="${url.loginAction}" method="post">
|
<form id="kc-form-login" action="${url.loginAction}" method="post">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@ -15,7 +15,7 @@ setup('authenticate', async ({ page }) => {
|
|||||||
|
|
||||||
// Вводим креды
|
// Вводим креды
|
||||||
await page.getByRole('textbox', { name: 'Username or email' }).fill('testuser');
|
await page.getByRole('textbox', { name: 'Username or email' }).fill('testuser');
|
||||||
await page.getByRole('textbox', { name: 'Password' }).fill('0');
|
await page.getByRole('textbox', { name: 'Password' }).fill('E7N-A26-2zf-wsA');
|
||||||
await page.getByRole('button', { name: 'Sign In' }).click();
|
await page.getByRole('button', { name: 'Sign In' }).click();
|
||||||
|
|
||||||
// Ждём редирект обратно на приложение
|
// Ждём редирект обратно на приложение
|
||||||
|
|||||||
Reference in New Issue
Block a user