mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 09:35:36 +01:00
add more website tests, support functions, login
This commit is contained in:
parent
e5c19482ab
commit
72090d778b
11 changed files with 169 additions and 59 deletions
|
|
@ -39,7 +39,7 @@ export function WebsiteAddForm({
|
|||
<Form onSubmit={handleSubmit} error={error}>
|
||||
<FormRow label={formatMessage(labels.name)}>
|
||||
<FormInput
|
||||
data-cy="input-name"
|
||||
data-test="input-name"
|
||||
name="name"
|
||||
rules={{ required: formatMessage(labels.required) }}
|
||||
>
|
||||
|
|
@ -48,7 +48,7 @@ export function WebsiteAddForm({
|
|||
</FormRow>
|
||||
<FormRow label={formatMessage(labels.domain)}>
|
||||
<FormInput
|
||||
data-cy="input-domain"
|
||||
data-test="input-domain"
|
||||
name="domain"
|
||||
rules={{
|
||||
required: formatMessage(labels.required),
|
||||
|
|
@ -59,7 +59,7 @@ export function WebsiteAddForm({
|
|||
</FormInput>
|
||||
</FormRow>
|
||||
<FormButtons flex>
|
||||
<SubmitButton data-cy="button-submit" variant="primary" disabled={false}>
|
||||
<SubmitButton data-test="button-submit" variant="primary" disabled={false}>
|
||||
{formatMessage(labels.save)}
|
||||
</SubmitButton>
|
||||
{onClose && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue