forked from yvv/decision
Lot U : « Autres versions » repliées dans le vote ; contrôles corrigés après le premier passage (état partagé, nom du titre en anglais, attente du chargement) ; le panier dit « simulé » ; CLAUDE.md (composants, panneau, 38 contrôles)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ test('C35 — réordonner une section : les poignées sur ses articles, au gliss
|
||||
await expect(line.getByText(E1)).toHaveCount(0);
|
||||
// Nowhere a block that repeats the articles of a section, and no order among the proposals.
|
||||
await expect(page.locator('section.text').getByText('Ordre des articles ·', { exact: false })).toHaveCount(0);
|
||||
await expect(page.locator('ul.deep').getByText('Ordre des articles', { exact: false })).toHaveCount(0);
|
||||
await expect(page.locator('ul.deep').getByText(/^Ordre des articles · /)).toHaveCount(0);
|
||||
await line.scrollIntoViewIfNeeded();
|
||||
await shot(page, 'c35-1-ligne-ordre');
|
||||
|
||||
@@ -99,6 +99,7 @@ test('C35 — réordonner une section : les poignées sur ses articles, au gliss
|
||||
}
|
||||
expect(await moduleInForce(page, pid)).toBe(true);
|
||||
await page.goto(TEST_DOC);
|
||||
await expect(page.locator('section.text article.unit', { hasText: E2 })).toBeVisible();
|
||||
const titles = await page.locator('section.text article.unit h2').allTextContents();
|
||||
expect(titles.indexOf(E2)).toBeGreaterThan(-1);
|
||||
expect(titles.indexOf(E2)).toBeLessThan(titles.indexOf(E1));
|
||||
|
||||
Reference in New Issue
Block a user