From c264a589f99483d884ef94d5aa74e7d2ec9168fd Mon Sep 17 00:00:00 2001 From: Niraj Patel Date: Fri, 15 Sep 2023 09:31:16 -0700 Subject: [PATCH] Remove commented code and debugger statements --- e2e/cypress/tests/01-api-key/01-create-api.cy.ts | 13 ------------- .../tests/16-gwa-cli/02-cli-generate-config.ts | 1 - 2 files changed, 14 deletions(-) diff --git a/e2e/cypress/tests/01-api-key/01-create-api.cy.ts b/e2e/cypress/tests/01-api-key/01-create-api.cy.ts index 3fa36e074..20f5bd96f 100644 --- a/e2e/cypress/tests/01-api-key/01-create-api.cy.ts +++ b/e2e/cypress/tests/01-api-key/01-create-api.cy.ts @@ -79,21 +79,8 @@ describe('Create API Spec', () => { }) }) - // it('creates as new product in the directory through GWA Cli command', () => { - // cy.gwaPublish('product', 'gwa-product.yaml').then((response: any) => { - // expect(response.stdout).to.contain('Product successfully published'); - // }) - // }) - - // it('Upload dataset using GWA Cli command', () => { - // cy.gwaPublish('dataset', 'gwa-dataset.yaml').then((response: any) => { - // expect(response.stdout).to.contain('Dataset successfully published'); - // }) - // }) - it('Upload dataset and Product using GWA Apply command', () => { cy.executeCliCommand('gwa apply').then((response) => { - debugger let wordOccurrences = (response.stdout.match(/\bcreated\b/g) || []).length; expect(wordOccurrences).to.equal(2) }) diff --git a/e2e/cypress/tests/16-gwa-cli/02-cli-generate-config.ts b/e2e/cypress/tests/16-gwa-cli/02-cli-generate-config.ts index 5344b2168..7ced10b71 100644 --- a/e2e/cypress/tests/16-gwa-cli/02-cli-generate-config.ts +++ b/e2e/cypress/tests/16-gwa-cli/02-cli-generate-config.ts @@ -53,7 +53,6 @@ describe('Verify CLI commands for generate/apply config', () => { it('Check gwa command to apply generated config', () => { cy.executeCliCommand('gwa apply').then((response) => { - debugger let wordOccurrences = (response.stdout.match(/\bcreated\b/g) || []).length; expect(wordOccurrences).to.equal(3) namespace = response.stdout.split('\n')[0]