Test changes

This commit is contained in:
emidhun 2023-04-10 12:17:53 +05:30
parent 1336dc091b
commit a92f124ce2
2 changed files with 4 additions and 3 deletions

View file

@ -70,7 +70,7 @@ module.exports = defineConfig({
experimentalRunAllSpecs: true,
baseUrl: "http://localhost:8082",
specPattern: [
"cypress/e2e/editor/widget/*.cy.js"],
"cypress/e2e/editor/data-source/mogoDbHappyPath.cy.js"],
numTestsKeptInMemory: 1,
redirectionLimit: 10,
experimentalRunAllSpecs: true,

View file

@ -19,10 +19,11 @@ 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",
@ -194,7 +195,7 @@ describe("Data source MongoDB", () => {
.should("be.visible");
});
it.only("Should verify the queries of MongoDB.", () => {
it("Should verify the queries of MongoDB.", () => {
connectMongo();
openMongoQueryEditor();
resizeQueryPanel();