From 10350ba9a85698f727619aab1fde734bbcf03471 Mon Sep 17 00:00:00 2001 From: Psami-wondah Date: Wed, 11 Dec 2024 00:01:53 +0100 Subject: [PATCH] test: test fixes --- cypress/e2e/4-reports.cy.ts | 2 +- cypress/e2e/7-general.cy.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/4-reports.cy.ts b/cypress/e2e/4-reports.cy.ts index 4c6e54627..91dc80c7f 100644 --- a/cypress/e2e/4-reports.cy.ts +++ b/cypress/e2e/4-reports.cy.ts @@ -214,7 +214,7 @@ describe("Edit, duplicate and delete story", () => { cy.get('[data-cy="story-grid-item-edit-btn"]').click(); - cy.wait("@fetchstory"); + cy.wait("@fetchStory"); cy.get('[data-cy="story-sub-header-title-input"]').type(" - Edited"); diff --git a/cypress/e2e/7-general.cy.ts b/cypress/e2e/7-general.cy.ts index 56a02635e..f097c399e 100644 --- a/cypress/e2e/7-general.cy.ts +++ b/cypress/e2e/7-general.cy.ts @@ -17,6 +17,6 @@ describe("General tests", () => { "/story/664f406b82350800ca942b92" ); cy.wait("@fetchStory"); - cy.get("input").should("have.value", "Impact Story on Climate Migration"); + cy.get("input").should("have.value", "Impact Report on Climate Migration"); }); });