diff --git a/webapp/e2e/steps/login.steps.ts b/webapp/e2e/steps/login.steps.ts index bc70650..51794b5 100644 --- a/webapp/e2e/steps/login.steps.ts +++ b/webapp/e2e/steps/login.steps.ts @@ -1,6 +1,6 @@ import path, { normalize } from 'path'; -var dotenvPath = path.resolve('./../../../webapp/.env'); +var dotenvPath = path.resolve('../../.env'); require("dotenv").config({path: dotenvPath}); import { defineFeature, loadFeature } from 'jest-cucumber'; diff --git a/webapp/e2e/steps/logout.steps.ts b/webapp/e2e/steps/logout.steps.ts index eb30d64..8fe5089 100644 --- a/webapp/e2e/steps/logout.steps.ts +++ b/webapp/e2e/steps/logout.steps.ts @@ -1,6 +1,6 @@ import path, { normalize } from 'path'; -var dotenvPath = path.resolve('../.env'); +var dotenvPath = path.resolve('../../.env'); require("dotenv").config({path: dotenvPath}); diff --git a/webapp/e2e/steps/register.steps.ts b/webapp/e2e/steps/register.steps.ts index 1f20f8c..cf0e29a 100644 --- a/webapp/e2e/steps/register.steps.ts +++ b/webapp/e2e/steps/register.steps.ts @@ -1,6 +1,6 @@ import path, { normalize } from 'path'; -var dotenvPath = path.resolve('../.env'); +var dotenvPath = path.resolve('../../.env'); require("dotenv").config({path: dotenvPath}); const crypto = require('crypto');