diff --git a/CypressTests/cypress/plugins/generateZapReport.js b/CypressTests/cypress/plugins/generateZapReport.js index d4c4d5b36..e7e98b79a 100644 --- a/CypressTests/cypress/plugins/generateZapReport.js +++ b/CypressTests/cypress/plugins/generateZapReport.js @@ -3,6 +3,9 @@ const fs = require('fs') module.exports = { generateZapHTMLReport: async () => { + + console.log('Generating ZAP report') + const zapOptions = { apiKey: process.env.ZAP_API_KEY, proxy: { diff --git a/CypressTests/cypress/plugins/index.js b/CypressTests/cypress/plugins/index.js index f4bedc69e..c2524b00a 100644 --- a/CypressTests/cypress/plugins/index.js +++ b/CypressTests/cypress/plugins/index.js @@ -22,9 +22,6 @@ module.exports = (on, config) => { // `on` is used to hook into various events Cypress emits // `config` is the resolved Cypress config - // Map process env var to cypress var for usage outside of Cypress run - process.env = config.env - // eslint-disable-next-line no-unused-vars on('after:run', async () => { if(process.env.ZAP) {