Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Sep 11, 2023
1 parent 897997e commit 56fb1ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions e2e/actions_crud.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ test("Actions", async ({ page }) => {
await page.getByText("Mise à jour !").click();

await changeReactSelectValue(page, "action-select-status-filter", "FAITE");

await page.getByRole("cell", { name: action2Name }).click();
await page.getByRole("button", { name: "Historique" }).click();
await page.locator(`[data-test-id="Nom de l'action\\: \\"${action1Name}\\" ➔ \\"${action2Name}\\""]`).click();
await page.locator(`[data-test-id="Description\\: \\"\\" ➔ \\"plouf\\""]`).click();
await page.locator('[data-test-id="Action urgente\\: \\"\\" ➔ true"]').click();
await page.locator('[data-test-id="Status\\: \\"A FAIRE\\" ➔ \\"FAIT\\""]').click();

await page.getByText("Fermer").click();

await page.getByRole("cell", { name: action2Name }).click();
await page.getByRole("button", { name: "Modifier" }).click();
page.once("dialog", (dialog) => {
Expand Down

0 comments on commit 56fb1ff

Please sign in to comment.