Skip to content

Commit

Permalink
remove graphql-request package use
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Jul 9, 2024
1 parent ee2a7bb commit 8f5eaa5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e/cypress/support/auth-commands.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -101,15 +100,15 @@ Cypress.Commands.add('createGateway', (gatewayid?: string, displayname?: string)
})

Cypress.Commands.add('activateGateway', (gatewayId: string) => {
const getAllNsQuery = gql`
const getAllNsQuery = `
query GetNamespaces {
allNamespaces {
id
name
}
}
`
const currentNsQuery = gql`
const currentNsQuery = `
query GetCurrentNamespace {
currentNamespace {
name
Expand Down

0 comments on commit 8f5eaa5

Please sign in to comment.