test: add event creation test
All checks were successful
tests / Tests (pull_request) Successful in 3m45s
docker-build / docker (pull_request) Successful in 3m47s
container-scan / Container Scan (pull_request) Successful in 2m38s

This commit is contained in:
Dominik 2025-07-01 08:42:15 +02:00
parent dbf9809c7b
commit 1ec636f3b0
Signed by: dominik
GPG key ID: 06A4003FC5049644
9 changed files with 251 additions and 189 deletions

View file

@ -17,6 +17,7 @@ export default function LabeledInput({
variantSize = 'default',
autocomplete,
error,
'data-cy': dataCy,
...rest
}: {
label: string;
@ -30,6 +31,7 @@ export default function LabeledInput({
variantSize?: 'default' | 'big' | 'textarea';
autocomplete?: string;
error?: string;
'data-cy'?: string;
} & React.InputHTMLAttributes<HTMLInputElement>) {
const [passwordVisible, setPasswordVisible] = React.useState(false);
const [inputValue, setInputValue] = React.useState(
@ -58,6 +60,7 @@ export default function LabeledInput({
id={name}
name={name}
rows={3}
data-cy={dataCy}
/>
) : (
<span className='relative'>
@ -76,6 +79,7 @@ export default function LabeledInput({
id={name}
name={name}
autoComplete={autocomplete}
data-cy={dataCy}
{...rest}
onChange={handleInputChange}
/>