From 758bd8e78120562f6a9a75093df6b8667ac3d48e Mon Sep 17 00:00:00 2001 From: mahula Date: Thu, 2 Feb 2023 21:59:07 +0100 Subject: [PATCH] fix step_definition for e2e test --- .../step_definitions/user_authentication_steps.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/e2e-tests/cypress/tests/cypress/support/step_definitions/user_authentication_steps.ts b/e2e-tests/cypress/tests/cypress/support/step_definitions/user_authentication_steps.ts index 50701098c..17743ebe5 100644 --- a/e2e-tests/cypress/tests/cypress/support/step_definitions/user_authentication_steps.ts +++ b/e2e-tests/cypress/tests/cypress/support/step_definitions/user_authentication_steps.ts @@ -21,26 +21,15 @@ When( req.body.hasOwnProperty("query") && req.body.query.includes("mutation") ) { -<<<<<<< Updated upstream req.alias = "login"; -======= - req.alias = "loging"; ->>>>>>> Stashed changes } }); loginPage.enterEmail(email); loginPage.enterPassword(password); loginPage.submitLogin(); -<<<<<<< Updated upstream cy.wait("@login").then((interception) => { expect(interception.response.statusCode).equals(200); - expect(JSON.stringify(interception.response.body)).contains(email); -======= - - cy.wait("@loging").then((interception) => { - expect(interception.response.statusCode).equals(200); ->>>>>>> Stashed changes }); } );