Audit the project and secure toolbox data

This commit is contained in:
Shinuwa 2026-10-14 16:59:09 +02:00
parent 96af62edf0
commit e87edda5c7
40 changed files with 2324 additions and 125 deletions

View file

@ -34,7 +34,9 @@ async function addTool(page, name) {
await page.getByRole("button", { name: "Ajouter un outil", exact: true }).click();
const addDialog = page.getByRole("dialog", { name: "Ajouter un outil" });
await expect(addDialog).toBeVisible();
await addDialog.getByRole("button", { name }).click();
await addDialog.locator(".tool-add-card").filter({
has: page.getByText(name, { exact: true })
}).click();
}
function moduleByType(page, type) {