Skip to content

Commit

Permalink
cleanup bit of cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Jun 5, 2024
1 parent 78f9429 commit 8c77220
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions e2e/cypress/fixtures/api-v3.json

This file was deleted.

5 changes: 0 additions & 5 deletions e2e/cypress/tests/19-api-v3/api-suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const { v4: uuidv4 } = require('uuid')
function buildGatewayDatasetAndProduct() {
const datasetId = uuidv4().replace(/-/g, '').toUpperCase().substring(0, 4)

cy.fixture('api-v3').as('api-v3')
return cy.loginByAuthAPI('', '').then(() => {
return cy.get('@loginByAuthApiResponse').then((token_res: any) => {
cy.setHeaders({ 'Content-Type': 'application/json' })
Expand Down Expand Up @@ -400,7 +399,6 @@ describe('API Directory (Gateway Management)', () => {

describe('Organization', () => {
before(() => {
cy.fixture('api-v3').as('api-v3')
cy.loginByAuthAPI('', '').then(() => {
cy.get('@loginByAuthApiResponse').then((token_res: any) => {
cy.setHeaders({ 'Content-Type': 'application/json' })
Expand Down Expand Up @@ -588,7 +586,6 @@ describe('Gateways', () => {
let LOCAL: { myGateway?: any } = {}

before(() => {
cy.fixture('api-v3').as('api-v3')
cy.loginByAuthAPI('', '').then(() => {
cy.get('@loginByAuthApiResponse').then((token_res: any) => {
cy.setHeaders({ 'Content-Type': 'application/json' })
Expand Down Expand Up @@ -646,7 +643,6 @@ describe('Products', () => {
let LOCAL: { myGateway?: any } = {}

before(() => {
cy.fixture('api-v3').as('api-v3')
cy.loginByAuthAPI('', '').then(() => {
cy.get('@loginByAuthApiResponse').then((token_res: any) => {
cy.setHeaders({ 'Content-Type': 'application/json' })
Expand Down Expand Up @@ -699,7 +695,6 @@ describe('Authorization Profiles', () => {
let LOCAL: { myGateway?: any } = {}

before(() => {
cy.fixture('api-v3').as('api-v3')
cy.loginByAuthAPI('', '').then(() => {
cy.get('@loginByAuthApiResponse').then((token_res: any) => {
cy.setHeaders({ 'Content-Type': 'application/json' })
Expand Down

0 comments on commit 8c77220

Please sign in to comment.