From 5695803a9d1443173f9ab0279ffa7f1f5b41adfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Dahlstr=C3=B8m?= <mathias.dahlstroem@gmail.com> Date: Wed, 5 May 2021 21:52:44 +0200 Subject: [PATCH] Legger inn feil i test --- cypress/integration/handlekurv/steps.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/integration/handlekurv/steps.js b/cypress/integration/handlekurv/steps.js index a01d1cb..fe70947 100644 --- a/cypress/integration/handlekurv/steps.js +++ b/cypress/integration/handlekurv/steps.js @@ -34,7 +34,8 @@ Then(/^skal handlekurven inneholde det jeg har lagt inn$/, () => { }); And(/^den skal ha riktig totalpris$/, () => { - cy.get("#price").should("have.text", "33"); + // Ønsker at testen skal feile, endrer fra 33 til 105 + cy.get("#price").should("have.text", "105"); }); // Given allerede definert -- GitLab