Updating Mongo DB name to match Mongo TED database name (#14389)

This commit is contained in:
Aishwarya-U-R 2022-06-09 12:21:46 +05:30 committed by GitHub
parent a88618d17d
commit 949b657103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 13 deletions

View File

@ -20,7 +20,7 @@
"viewportHeight": 1100,
"viewportWidth": 1400,
"retries": {
"runMode": 2,
"runMode": 1,
"openMode": 0
}
}
}

View File

@ -2,7 +2,7 @@
"mongo-authenticationAuthtype": "SCRAM-SHA-1",
"mongo-host": "localhost",
"mongo-port": 28017,
"mongo-databaseName": "sample_airbnb",
"mongo-databaseName": "mongo_samples",
"mongo-uri": "mongodb+srv://localhost:localhost@mockdb.net/mock?retryWrites=true&w=majority",
"postgres-host": "localhost",
"postgres-port": 5432,
@ -46,4 +46,4 @@
"mockDatabasePassword": "LimitedAccess123#",
"readonly":"readonly",
"authenticatedApiUrl": "https://fakeapi.com"
}
}

View File

@ -40,13 +40,13 @@ describe("Entity explorer datasource structure", function() {
200,
);
cy.get(explorer.datasourceStructure)
.first()
.find(explorer.collapse)
.click();
cy.get(explorer.datasourceColumn)
.first()
.click();
// cy.get(explorer.datasourceStructure)
// .first()
// .find(explorer.collapse)
// .click();
// cy.get(explorer.datasourceColumn)
// .first()
// .click();
cy.get(".bp3-popover-content").should("be.visible");
cy.get(explorer.templateMenuIcon)
@ -63,10 +63,11 @@ describe("Entity explorer datasource structure", function() {
);
cy.deleteQueryUsingContext();
cy.CheckAndUnfoldEntityItem("QUERIES/JS");
cy.GlobalSearchEntity("MyQuery");
cy.get(`.t--entity-name:contains(MyQuery)`).click();
cy.get(`.t--entity-name:contains(MyQuery)`)
.scrollIntoView()
.click();
cy.deleteQueryUsingContext();
cy.get(commonlocators.entityExplorersearch).clear({ force: true });