From 2bb68e2fd42d4a6f1840d124bb05dac22755d7a1 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 13 Jun 2023 15:06:04 +0200 Subject: [PATCH] fixed cypress --- cypress/support/commands.js | 2 +- cypress/support/factories.js | 4 ++-- .../step_definitions/common/I_am_logged_in_as_{string}.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 88836b4f1..b80501ce2 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -15,7 +15,7 @@ /* globals Cypress cy */ import "cypress-file-upload"; import { GraphQLClient, request } from 'graphql-request' -import CONFIG from '../../backend/src/config' +import CONFIG from '../../backend/build/config' const authenticatedHeaders = (variables) => { const mutation = ` diff --git a/cypress/support/factories.js b/cypress/support/factories.js index b08d83526..1a55f43ed 100644 --- a/cypress/support/factories.js +++ b/cypress/support/factories.js @@ -1,5 +1,5 @@ -import Factory from '../../backend/src/db/factories' -import { getNeode } from '../../backend/src/db/neo4j' +import Factory from '../../backend/build/db/factories' +import { getNeode } from '../../backend/build/db/neo4j' const neodeInstance = getNeode() diff --git a/cypress/support/step_definitions/common/I_am_logged_in_as_{string}.js b/cypress/support/step_definitions/common/I_am_logged_in_as_{string}.js index dfbfd519c..a44d522da 100644 --- a/cypress/support/step_definitions/common/I_am_logged_in_as_{string}.js +++ b/cypress/support/step_definitions/common/I_am_logged_in_as_{string}.js @@ -1,5 +1,5 @@ import { Given } from "@badeball/cypress-cucumber-preprocessor"; -import encode from '../../../../backend/src/jwt/encode' +import encode from '../../../../backend/build/jwt/encode' Given("I am logged in as {string}", slug => { cy.neode()