Fixed CI
Fixed a test
This commit is contained in:
@@ -63,6 +63,10 @@ test('consultation, correction, recalcul, copie et statistiques à 320 px', asyn
|
||||
await page.getByRole('button',{name:'Consulter les statistiques'}).click();
|
||||
await expect(page.getByTestId('stats-worked')).toHaveText('9h00');
|
||||
expect(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth)).toBe(true);
|
||||
// Wider or larger fonts must also fit the backup reminder on CI and mobile.
|
||||
await expect(page.locator('.update')).toContainText('Sauvegarde à vérifier');
|
||||
await page.addStyleTag({content:'.update { font-family: monospace; font-size: 24px; }'});
|
||||
expect(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth)).toBe(true);
|
||||
});
|
||||
|
||||
test('date conservée, rechargement et Retour depuis les trois nouvelles pages', async ({page}) => {
|
||||
|
||||
Reference in New Issue
Block a user