Minor UI changes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user