feat(zimbra): bump @ovhcloud/ods-components v18.3 #34761
Annotations
6 errors and 1 warning
src/pages/dashboard/AutoReplies/__test__/AddAutoReply.page.spec.tsx > add auto reply page > should have a correct form validation without accountId:
node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L332
TestingLibraryElementError: Unable to find an element by: [data-testid="radio-group-duration"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="w-full md:w-3/4 flex flex-col space-y-5"
>
<ods-link
color="primary"
icon="arrow-left"
icon-alignment="left"
label="Retour vers mes répondeurs"
/>
<div
class=" m-0 p-0 text-[--ods-color-heading] text-[24px] leading-[32px] font-bold"
>
Créer un répondeur
</div>
<ods-text
data-testid="page-header"
preset="paragraph"
>
Veuillez saisir les informations du répondeur :
</ods-text>
<ods-text
preset="caption"
>
Les champs mentionnés avec un astérisque * sont obligatoires.
</ods-text>
<ods-form-field>
<label
for="account"
slot="label"
>
Adresse liée au répondeur
*
</label>
<div
class="flex"
>
<ods-input
class="w-1/2"
data-testid="input-account"
default-value=""
id="account"
list="list"
name="account"
type="text"
value=""
/>
<ods-input
class="w-10"
is-disabled="true"
is-readonly="true"
name="@"
type="text"
value="@"
/>
<ods-select
class="w-1/2"
data-testid="select-domain"
id="domain"
name="domain"
placeholder="Sélectionner un domaine"
value=""
>
<option
value="NormalDomain"
>
NormalDomain
</option>
<option
value="AwesomeDomain"
>
AwesomeDomain
</option>
<option
value="BlablaDomain"
>
BlablaDomain
</option>
</ods-select>
</div>
</ods-form-field>
<ods-form-field>
<label
for="duration"
slot="label"
>
Durée du répondeur
*
</label>
<div
class="flex leading-none gap-4"
>
<ods-radio
class="cursor-pointer"
data-testid="temporary"
id="temporary"
is-checked="true"
name="temporary"
/>
<ods-text
preset="paragraph"
>
Temporaire
</ods-text>
</div>
<div
class="flex leading-none gap-4"
>
<ods-radio
class="cursor-pointer"
data-testid="permanent"
id="permanent"
is-checked="false"
name="permanent"
/>
<ods-text
preset="paragraph"
>
Permanente
</ods-text>
</div>
</ods-form-field>
<div
class="flex gap-4"
>
<ods-form-field
class="w-1/2"
>
<label
for="from"
slot="label"
>
Du
*
</label>
<ods-datepicker
data-testid="from"
format="dd/mm/yyyy"
id="from"
locale="fr_FR"
name="from"
placeholder="JJ/MM/AAAA"
/>
</ods-form-field>
<ods-form-field
class="w-1/2"
>
<label
for="until"
slot="label"
>
Jusqu'au
*
</label>
<ods-datepicker
data-testid="until"
format="dd/mm/yyyy"
id="until"
locale="fr_FR"
name="until"
placeholder="JJ/MM/AAAA"
/>
</ods-form-field>
</div>
<ods-form-field>
<div
class="flex leading-none gap-4"
>
<ods-checkbox
data-testid="sendCopy"
|
src/pages/dashboard/AutoReplies/__test__/AddAutoReply.page.spec.tsx > add auto reply page > should have a correct form validation with accountId:
node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L332
TestingLibraryElementError: Unable to find an element by: [data-testid="radio-group-duration"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="w-full md:w-3/4 flex flex-col space-y-5"
>
<ods-link
class="ods-link"
color="primary"
icon="arrow-left"
icon-alignment="left"
label="Retour vers mes répondeurs"
/>
<div
class=" m-0 p-0 text-[--ods-color-heading] text-[24px] leading-[32px] font-bold"
>
Créer un répondeur
</div>
<ods-text
data-testid="create-for-account"
preset="paragraph"
>
Vous êtes sur le point de créer un répondeur pour le compte
<b>
string
</b>
</ods-text>
<ods-text
class="ods-text"
data-testid="page-header"
preset="paragraph"
>
Veuillez saisir les informations du répondeur :
</ods-text>
<ods-text
class="ods-text"
preset="caption"
>
Les champs mentionnés avec un astérisque * sont obligatoires.
</ods-text>
<ods-form-field
class="ods-form-field"
error=""
>
<label
for="duration"
slot="label"
>
Durée du répondeur
*
</label>
<div
class="flex leading-none gap-4"
>
<ods-radio
class="cursor-pointer ods-radio"
data-testid="temporary"
id="temporary"
is-checked="true"
name="temporary"
>
<input
class="ods-radio__radio"
name="temporary"
type="radio"
value=""
/>
</ods-radio>
<ods-text
class="ods-text"
preset="paragraph"
>
Temporaire
</ods-text>
</div>
<div
class="flex leading-none gap-4"
>
<ods-radio
class="cursor-pointer ods-radio"
data-testid="permanent"
id="permanent"
is-checked="false"
name="permanent"
>
<input
class="ods-radio__radio"
name="permanent"
type="radio"
value=""
/>
</ods-radio>
<ods-text
class="ods-text"
preset="paragraph"
>
Permanente
</ods-text>
</div>
</ods-form-field>
<div
class="flex gap-4"
>
<ods-form-field
class="w-1/2 ods-form-field"
error=""
>
<label
for="from"
slot="label"
>
Du
*
</label>
<ods-datepicker
class="ods-datepicker"
data-testid="from"
format="dd/mm/yyyy"
id="from"
locale="fr_FR"
name="from"
placeholder="JJ/MM/AAAA"
/>
<input
name="from"
type="hidden"
value=""
/>
</ods-form-field>
<ods-form-field
class="w-1/2 ods-form-field"
error=""
>
<label
for="until"
slot="label"
>
Jusqu'au
*
</label>
<ods-datepicker
class="ods-datepicker"
data-testid="until"
format="dd/mm/yyyy"
id="until"
locale="fr_FR"
name="until"
placeholder="JJ/MM/AAAA"
/>
<input
name="until"
type="hidden"
value=""
/>
</ods-form-field>
</div>
<ods-form-field
class="ods-form-field"
error=""
>
<div
class="flex leading-none gap-4"
>
<ods-checkbox
class="ods-checkbox"
data-testid="sendCopy"
id="sendCopy"
input-id="sendCopy"
|
src/pages/dashboard/AutoReplies/__test__/ModalDeleteAutoReply.component.spec.tsx > ModalDeleteAutoReply Component > should have button disabled if no deleteAutoReplyId:
packages/manager/apps/zimbra/src/pages/dashboard/AutoReplies/__test__/ModalDeleteAutoReply.component.spec.tsx#L17
Error: expect(element).toBeDisabled()
Received element is not disabled:
<ods-button
class="mt-4"
color="primary"
data-testid="delete-btn"
is-disabled="true"
label="Supprimer"
slot="actions"
variant="default"
/>
❯ src/pages/dashboard/AutoReplies/__test__/ModalDeleteAutoReply.component.spec.tsx:17:26
|
src/pages/dashboard/EmailAccounts/__test__/EmailAccountsOrder.spec.tsx > email account order page > should have a correct form validation and call window open on confirm:
node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L332
TestingLibraryElementError: Unable to find an element by: [data-testid="checkbox-consent"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col items-start space-y-4 mb-5 w-full md:w-3/4"
>
<ods-link
class="ods-link"
color="primary"
icon="arrow-left"
icon-alignment="left"
label="Retour vers mes comptes email"
/>
<ods-text
class="ods-text"
data-testid="page-title"
preset="heading-2"
>
Commander vos comptes Zimbra
</ods-text>
<div
class="flex flex-col gap-6 mt-4"
>
<ods-text
class="ods-text"
preset="heading-3"
>
Choisissez vos comptes Zimbra
</ods-text>
<div
class="flex flex-col gap-4"
>
<ods-text
class="ods-text"
preset="paragraph"
>
Zimbra Starter
</ods-text>
<ods-quantity
class="justify-start ods-quantity"
id="zimbra-account-pp-starter"
max="1000"
min="0"
name="zimbra-account-pp-starter"
value="0"
/>
<input
name="zimbra-account-pp-starter"
type="hidden"
value="0"
/>
<ods-text
class="ods-text"
preset="paragraph"
>
<span>
price_free
</span>
</ods-text>
</div>
<div
class="flex flex-col gap-6"
>
<ods-text
class="ods-text"
preset="heading-3"
>
Durée de l'engagement
</ods-text>
<ods-form-field
class="ods-form-field"
error=""
>
<div
class="flex leading-none gap-4"
>
<ods-radio
class="ods-radio"
data-testid="radio-1-month"
id="1-month"
is-checked="true"
name="1-month"
value="1"
>
<input
class="ods-radio__radio"
name="1-month"
type="radio"
value="1"
/>
</ods-radio>
<label
class="flex flex-col w-full"
for="1-month"
>
<ods-text
class="ods-text"
preset="paragraph"
>
1 mois
</ods-text>
</label>
</div>
<div
class="flex leading-none gap-4"
>
<ods-radio
class="ods-radio"
data-testid="radio-12-month"
id="12-month"
is-checked="false"
is-disabled="true"
name="12-month"
value="12"
>
<input
class="ods-radio__radio"
disabled=""
name="12-month"
type="radio"
value="12"
/>
</ods-radio>
<label
class="flex flex-col w-full"
for="12-month"
>
<ods-text
class="ods-text"
preset="paragraph"
>
12 mois
</ods-text>
<ods-text
class="ods-text"
preset="caption"
>
Disponible prochainement
</ods-text>
</label>
</div>
</ods-form-field>
</div>
<ods-form-field
class="ods-form-field"
error=""
>
<div
class="flex leading-none gap-4"
>
<ods-checkbox
class="ods-checkbox"
id="consent"
is-checked="fal
|
test
@ovh-ux/manager-zimbra-app#test: command (/home/runner/work/manager/manager/packages/manager/apps/zimbra) /tmp/yarn--1731687385748-0.29031981079105695/yarn run test exited (1)
|
test
Process completed with exit code 1.
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|