From b8be269e3fb25a21c65cf3ce57f871f6b16e542d Mon Sep 17 00:00:00 2001 From: Leonardo Badell Date: Wed, 1 May 2024 17:16:55 -0300 Subject: [PATCH] Occulting values password and username --- cypress/e2e/intercept.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/intercept.cy.js b/cypress/e2e/intercept.cy.js index c8dc556..0ee0519 100644 --- a/cypress/e2e/intercept.cy.js +++ b/cypress/e2e/intercept.cy.js @@ -102,8 +102,8 @@ describe('Testing Orange HRM', () => { }, { statusCode: 200, body: { - "username": "Admin", - "password": "admin123" + "username": Cypress.env('username'), + "password": Cypress.env('password') } }).as('getValidation');