Lot U : C35 à C37 écrits avant le code et vus rouges (poignées et vote, oui pour passer · non pour bloquer, quorum de l'auteur) ; leurs mots en fr, en, es ; needOf ; le vote simulé ne promet plus son effacement à l'ouverture de la chaîne
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -80,6 +80,17 @@ export function deepRow(page: Page, title: string) {
|
||||
return page.locator('ul.deep button.row').filter({ has: page.locator('span.title').getByText(title, { exact: true }) });
|
||||
}
|
||||
|
||||
/**
|
||||
* « Propositions en cours » shows its sections folded (lot U): « Tout déplier » opens them
|
||||
* all, so that a line can be clicked.
|
||||
*/
|
||||
export async function unfold(page: Page) {
|
||||
const all = page.getByRole('button', { name: 'Tout déplier' });
|
||||
await expect(all).toBeVisible();
|
||||
await all.click();
|
||||
await expect(page.getByRole('button', { name: 'Tout replier' })).toBeVisible();
|
||||
}
|
||||
|
||||
/** A screenshot for the visual check, when `LD_SHOTS` names a directory (never in the loop). */
|
||||
export async function shot(page: Page, name: string) {
|
||||
const dir = process.env.LD_SHOTS;
|
||||
|
||||
Reference in New Issue
Block a user