From 8f5eaa5c8c3ee8c4eb6c524e174543c5a1f7e348 Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Tue, 9 Jul 2024 09:45:44 -0700 Subject: [PATCH] remove graphql-request package use --- e2e/cypress/support/auth-commands.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/e2e/cypress/support/auth-commands.ts b/e2e/cypress/support/auth-commands.ts index 19dfb266f..e605ac2e8 100644 --- a/e2e/cypress/support/auth-commands.ts +++ b/e2e/cypress/support/auth-commands.ts @@ -1,5 +1,4 @@ import * as jwt from 'jsonwebtoken' -import { gql } from 'graphql-request' import HomePage from '../pageObjects/home' import LoginPage from '../pageObjects/login' import NamespaceAccessPage from '../pageObjects/namespaceAccess' @@ -101,7 +100,7 @@ Cypress.Commands.add('createGateway', (gatewayid?: string, displayname?: string) }) Cypress.Commands.add('activateGateway', (gatewayId: string) => { - const getAllNsQuery = gql` + const getAllNsQuery = ` query GetNamespaces { allNamespaces { id @@ -109,7 +108,7 @@ query GetNamespaces { } } ` - const currentNsQuery = gql` + const currentNsQuery = ` query GetCurrentNamespace { currentNamespace { name