diff --git a/frontend/test/e2e/caselaw/categories/contentRelatedIndexing/active-citations.spec.ts b/frontend/test/e2e/caselaw/categories/contentRelatedIndexing/active-citations.spec.ts index adae20653e..c7232b867d 100644 --- a/frontend/test/e2e/caselaw/categories/contentRelatedIndexing/active-citations.spec.ts +++ b/frontend/test/e2e/caselaw/categories/contentRelatedIndexing/active-citations.spec.ts @@ -113,14 +113,15 @@ test.describe("active citations", () => { activeCitationContainer.getByLabel("Listen Eintrag"), ).toHaveCount(1) - await page.getByLabel("Weitere Angabe").click() - await page.getByLabel("Aktenzeichen der Aktivzitierung").fill("two") - await page.getByLabel("Aktivzitierung speichern").click() - // "Aktivzitierung speichern" only saves state in frontend, no communication to backend yet - await page.reload() - await expect( - activeCitationContainer.getByLabel("Listen Eintrag"), - ).toHaveCount(1) + // Change with commit reload by saving + // await page.getByLabel("Weitere Angabe").click() + // await page.getByLabel("Aktenzeichen der Aktivzitierung").fill("two") + // await page.getByLabel("Aktivzitierung speichern").click() + // // "Aktivzitierung speichern" only saves state in frontend, no communication to backend yet + // await page.reload() + // await expect( + // activeCitationContainer.getByLabel("Listen Eintrag"), + // ).toHaveCount(1) await page.getByLabel("Weitere Angabe").click() await waitForSaving( diff --git a/frontend/test/e2e/caselaw/categories/ensuing-decisions.spec.ts b/frontend/test/e2e/caselaw/categories/ensuing-decisions.spec.ts index 3ad05627c2..211f4ac6b1 100644 --- a/frontend/test/e2e/caselaw/categories/ensuing-decisions.spec.ts +++ b/frontend/test/e2e/caselaw/categories/ensuing-decisions.spec.ts @@ -187,19 +187,20 @@ test.describe("ensuing decisions", () => { ensuingDecisionContainer.getByLabel("Listen Eintrag"), ).toHaveCount(1, { timeout: 10000 }) // reloading can be slow if too many parallel tests - await page.getByLabel("Weitere Angabe").click() - await page.getByLabel("Aktenzeichen Nachgehende Entscheidung").fill("two") - await page.getByLabel("Nachgehende Entscheidung speichern").click() - await expect( - page.getByText(`nachgehend, two`, { - exact: true, - }), - ).toBeVisible() - // "Nachgehende Entscheidung speichern" only saves state in frontend, no communication to backend yet - await page.reload() - await expect( - ensuingDecisionContainer.getByLabel("Listen Eintrag"), - ).toHaveCount(1, { timeout: 10000 }) // reloading can be slow if too many parallel tests + // Change with commit reload by saving + // await page.getByLabel("Weitere Angabe").click() + // await page.getByLabel("Aktenzeichen Nachgehende Entscheidung").fill("two") + // await page.getByLabel("Nachgehende Entscheidung speichern").click() + // await expect( + // page.getByText(`nachgehend, two`, { + // exact: true, + // }), + // ).toBeVisible() + // // "Nachgehende Entscheidung speichern" only saves state in frontend, no communication to backend yet + // await page.reload() + // await expect( + // ensuingDecisionContainer.getByLabel("Listen Eintrag"), + // ).toHaveCount(1, { timeout: 10000 }) // reloading can be slow if too many parallel tests await page.getByLabel("Weitere Angabe").click() await waitForSaving( diff --git a/frontend/test/e2e/caselaw/categories/previous-decisions.spec.ts b/frontend/test/e2e/caselaw/categories/previous-decisions.spec.ts index 4c0985d1d6..2ecf0a6b34 100644 --- a/frontend/test/e2e/caselaw/categories/previous-decisions.spec.ts +++ b/frontend/test/e2e/caselaw/categories/previous-decisions.spec.ts @@ -122,19 +122,20 @@ test.describe("previous decisions", () => { previousDecisionContainer.getByLabel("Listen Eintrag"), ).toHaveCount(1, { timeout: 10000 }) // reloading can be slow if too many parallel tests - await page.getByLabel("Weitere Angabe").click() - await page.getByLabel("Aktenzeichen Vorgehende Entscheidung").fill("two") - await page.getByLabel("Vorgehende Entscheidung speichern").click() - await expect( - page.getByText(`two`, { - exact: true, - }), - ).toBeVisible() - // "Vorgehende Entscheidung speichern" only saves state in frontend, no communication to backend yet - await page.reload() - await expect( - previousDecisionContainer.getByLabel("Listen Eintrag"), - ).toHaveCount(1, { timeout: 10000 }) // reloading can be slow if too many parallel tests + // Change with commit reload by saving + // await page.getByLabel("Weitere Angabe").click() + // await page.getByLabel("Aktenzeichen Vorgehende Entscheidung").fill("two") + // await page.getByLabel("Vorgehende Entscheidung speichern").click() + // await expect( + // page.getByText(`two`, { + // exact: true, + // }), + // ).toBeVisible() + // // "Vorgehende Entscheidung speichern" only saves state in frontend, no communication to backend yet + // await page.reload() + // await expect( + // previousDecisionContainer.getByLabel("Listen Eintrag"), + // ).toHaveCount(1, { timeout: 10000 }) // reloading can be slow if too many parallel tests await page.getByLabel("Weitere Angabe").click() await waitForSaving(