diff --git a/cypress.config.js b/cypress.config.js index 42246c7be..3053e44f0 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,5 +1,5 @@ const { defineConfig } = require("cypress"); - +console.log(process.env); module.exports = defineConfig({ e2e: { setupNodeEvents(on, config) { @@ -7,7 +7,7 @@ module.exports = defineConfig({ }, }, env: { - CYPRESS_USERNAME: "", - CYPRESS_PASSWORD: "", + CYPRESS_USERNAME: process.env.CYPRESS_USERNAME, + CYPRESS_PASSWORD: process.env.CYPRESS_PASSWORD, }, });