test: fix data-testid attribute names and update E2E test URLs to port 8917

This commit is contained in:
2026-04-19 10:08:52 +03:00
parent 28c55f86ce
commit 2465141a18
47 changed files with 235 additions and 2206 deletions

View File

@@ -124,7 +124,7 @@ export default function LoginPage() {
<div className="pt-2 grid grid-cols-2 gap-3">
<button
data-testid="local-login-tab"
data-testid="ldap-login-tab"
onClick={() => setIsEnterprise(true)}
className="flex items-center justify-center gap-2 py-4 rounded-2xl border border-dashed border-slate-700 text-muted hover:text-white hover:border-slate-500 transition-all font-bold text-xs"
>
@@ -132,6 +132,7 @@ export default function LoginPage() {
Enterprise
</button>
<button
data-testid="local-login-tab"
onClick={() => {
setSelectedUserForLogin({ username: '' });
// We use an empty username object to trigger the manual input view