From 38a32d558f6b2a55768a03abca6cf5ad3d4d1315 Mon Sep 17 00:00:00 2001 From: Jeeva Ramachandran Date: Thu, 18 Jan 2024 15:28:23 +0530 Subject: [PATCH] chore: refactor --- .gitignore | 1 + cypress.config.js | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 356b74ee8..7e7795779 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ user_data.sh *.pem .bsb.lock package-lock.json +screenshots \ No newline at end of file diff --git a/cypress.config.js b/cypress.config.js index 3053e44f0..21925ab4a 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,5 +1,4 @@ const { defineConfig } = require("cypress"); -console.log(process.env); module.exports = defineConfig({ e2e: { setupNodeEvents(on, config) { @@ -7,7 +6,7 @@ module.exports = defineConfig({ }, }, env: { - CYPRESS_USERNAME: process.env.CYPRESS_USERNAME, - CYPRESS_PASSWORD: process.env.CYPRESS_PASSWORD, + CYPRESS_USERNAME: process.env.CYPRESS_USERNAME || "", + CYPRESS_PASSWORD: process.env.CYPRESS_PASSWORD || "", }, });