mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed fullstack tests
This commit is contained in:
parent
0a40357160
commit
1cadf80a43
@ -15,7 +15,7 @@
|
|||||||
/* globals Cypress cy */
|
/* globals Cypress cy */
|
||||||
import "cypress-file-upload";
|
import "cypress-file-upload";
|
||||||
import { GraphQLClient, request } from 'graphql-request'
|
import { GraphQLClient, request } from 'graphql-request'
|
||||||
import CONFIG from '../../backend/build/config'
|
import CONFIG from '../../backend/build/src/config'
|
||||||
|
|
||||||
const authenticatedHeaders = (variables) => {
|
const authenticatedHeaders = (variables) => {
|
||||||
const mutation = `
|
const mutation = `
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import Factory from '../../backend/build/db/factories'
|
import Factory from '../../backend/build/src/db/factories'
|
||||||
import { getNeode } from '../../backend/build/db/neo4j'
|
import { getNeode } from '../../backend/build/src/db/neo4j'
|
||||||
|
|
||||||
const neodeInstance = getNeode()
|
const neodeInstance = getNeode()
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { Given } from "@badeball/cypress-cucumber-preprocessor";
|
import { Given } from "@badeball/cypress-cucumber-preprocessor";
|
||||||
import encode from '../../../../backend/build/jwt/encode'
|
import encode from '../../../../backend/build/src/jwt/encode'
|
||||||
|
|
||||||
Given("I am logged in as {string}", slug => {
|
Given("I am logged in as {string}", slug => {
|
||||||
cy.neode()
|
cy.neode()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user