Minor UI changes
Some checks failed
Tests et déploiement / validate (push) Failing after 3m19s
Tests et déploiement / deploy (push) Has been skipped

This commit is contained in:
2026-10-11 09:16:57 +02:00
parent 0be1d54347
commit e02730f5db
7 changed files with 62 additions and 57 deletions

View File

@@ -102,6 +102,16 @@ test('association, modification hors ligne, conflit, rôle et révocation entre
await page.getByRole('button', { name: 'Retour aux appareils', exact: true }).click();
await sync(page);
await expect(page.getByRole('button', { name: 'Utiliser cet appareil pour les automatismes', exact: true })).toBeVisible();
await page.getByRole('button', { name: 'Retour aux données', exact: true }).click();
const roleNotice = page.getByText('Les automatismes sont exécutés sur un autre appareil.', { exact: true });
await expect(roleNotice).toBeVisible();
await page.getByRole('button', { name: 'Plus tard', exact: true }).click();
await expect(roleNotice).toHaveCount(0);
await page.reload();
await expect(page.getByRole('heading', { name: 'Données et sauvegardes', exact: true })).toBeVisible();
await expect(roleNotice).toHaveCount(0);
await page.goto('/#/sync');
await expect(page.getByRole('heading', { name: 'Synchronisation et appareils', exact: true })).toBeVisible();
await page.getByRole('button', { name: 'Retirer cet appareil…', exact: true }).click();
await page.getByRole('button', { name: 'Confirmer le retrait', exact: true }).click();
await expect(page.getByRole('button', { name: 'Synchroniser maintenant', exact: true })).toBeEnabled();