Fix datasource structure test (#1080)
* Fix datasource structure test * Dummy commit
This commit is contained in:
parent
32ce580695
commit
eaf4dbd261
|
|
@ -59,7 +59,6 @@ describe("Entity explorer datasource structure", function() {
|
|||
.find(explorer.collapse)
|
||||
.as("datasourceEntityCollapse");
|
||||
|
||||
cy.get("@datasourceEntityCollapse").click();
|
||||
cy.wait("@getDatasourceStructure").should(
|
||||
"have.nested.property",
|
||||
"response.body.responseMeta.status",
|
||||
|
|
@ -90,7 +89,9 @@ describe("Entity explorer datasource structure", function() {
|
|||
);
|
||||
|
||||
cy.GlobalSearchEntity(datasourceName);
|
||||
cy.get("@datasourceEntityCollapse").click();
|
||||
cy.get("@datasourceEntityCollapse")
|
||||
.first()
|
||||
.click();
|
||||
cy.xpath(explorer.datsourceEntityPopover)
|
||||
.last()
|
||||
.click({ force: true });
|
||||
|
|
|
|||
|
|
@ -1322,8 +1322,8 @@ Cypress.Commands.add("saveDatasource", () => {
|
|||
});
|
||||
|
||||
Cypress.Commands.add("testSaveDatasource", () => {
|
||||
cy.testDatasource();
|
||||
cy.saveDatasource();
|
||||
cy.testDatasource();
|
||||
});
|
||||
|
||||
Cypress.Commands.add("fillMongoDatasourceForm", () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user