From 1fcc3d6c0aa461098ec8c266f8cde93728d863d8 Mon Sep 17 00:00:00 2001 From: emidhun Date: Mon, 10 Apr 2023 15:00:29 +0530 Subject: [PATCH] Revert "Test changes" This reverts commit a92f124ce29a7e782165a5af1ed73244c0416816. --- cypress-tests/cypress-run.config.js | 2 +- .../cypress/e2e/editor/data-source/mongoDbHappyPath.cy.js | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cypress-tests/cypress-run.config.js b/cypress-tests/cypress-run.config.js index 4fd8f20832..5320e3e678 100644 --- a/cypress-tests/cypress-run.config.js +++ b/cypress-tests/cypress-run.config.js @@ -70,7 +70,7 @@ module.exports = defineConfig({ experimentalRunAllSpecs: true, baseUrl: "http://localhost:8082", specPattern: [ - "cypress/e2e/editor/data-source/mogoDbHappyPath.cy.js"], + "cypress/e2e/editor/widget/*.cy.js"], numTestsKeptInMemory: 1, redirectionLimit: 10, experimentalRunAllSpecs: true, diff --git a/cypress-tests/cypress/e2e/editor/data-source/mongoDbHappyPath.cy.js b/cypress-tests/cypress/e2e/editor/data-source/mongoDbHappyPath.cy.js index b67ed88e6b..eb07b76832 100644 --- a/cypress-tests/cypress/e2e/editor/data-source/mongoDbHappyPath.cy.js +++ b/cypress-tests/cypress/e2e/editor/data-source/mongoDbHappyPath.cy.js @@ -19,11 +19,10 @@ import { describe("Data source MongoDB", () => { beforeEach(() => { cy.appUILogin(); - // cy.createApp(); + cy.createApp(); }); it("Should verify elements on MongoDB connection form", () => { - cy.log("---------"+Cypress.env("mongodb_connString")+"---------") cy.get(postgreSqlSelector.leftSidebarDatasourceButton).click(); cy.get(postgreSqlSelector.labelDataSources).should( "have.text", @@ -195,7 +194,7 @@ describe("Data source MongoDB", () => { .should("be.visible"); }); - it("Should verify the queries of MongoDB.", () => { + it.only("Should verify the queries of MongoDB.", () => { connectMongo(); openMongoQueryEditor(); resizeQueryPanel();