diff --git a/scripts/cypress/integration/common/9b_ERD.js b/scripts/cypress/integration/common/9b_ERD.js index 2b6ef4aa27..6d1f4a9828 100644 --- a/scripts/cypress/integration/common/9b_ERD.js +++ b/scripts/cypress/integration/common/9b_ERD.js @@ -29,6 +29,7 @@ export const genTest = (apiType, dbType) => { // Test cases it(`Enable MM setting Open Table ERD`, () => { + cy.openTableTab("Country", 25); mainPage.toggleShowMMSetting(); mainPage.openErdTab(); @@ -170,9 +171,9 @@ export const genTest = (apiType, dbType) => { cy.get('.nc-erd-context-menu').get('.nc-erd-showMMTables-checkbox').click(); cy.get('.nc-erd-vue-flow').find('.nc-erd-table-node').should('have.length', 16) - cy.get('.nc-erd-vue-flow').find('.vue-flow__edge').should('have.length', 18) - cy.get('.nc-erd-vue-flow').find('.nc-erd-edge-circle').should('have.length', 14) - cy.get('.nc-erd-vue-flow').find('.nc-erd-edge-rect').should('have.length', 22) + cy.get('.nc-erd-vue-flow').find('.vue-flow__edge').should('have.length', 26) + cy.get('.nc-erd-vue-flow').find('.nc-erd-edge-circle').should('have.length', 22) + cy.get('.nc-erd-vue-flow').find('.nc-erd-edge-rect').should('have.length', 30) // Check if store table is present cy.get('.nc-erd-vue-flow').find(`.nc-erd-table-node-store`).should('exist'); diff --git a/scripts/cypress/integration/test/restMisc.js b/scripts/cypress/integration/test/restMisc.js index 771b577a04..fc35c2003a 100644 --- a/scripts/cypress/integration/test/restMisc.js +++ b/scripts/cypress/integration/test/restMisc.js @@ -21,6 +21,9 @@ const nocoTestSuite = (apiType, dbType) => { t6d.genTest(apiType, dbType); // exclude@ncv2 t6c.genTest(apiType, dbType); t6f.genTest(apiType, dbType); + + t9b.genTest(apiType, dbType); + t6g.genTest(apiType, dbType); // webhook tests @@ -32,8 +35,6 @@ const nocoTestSuite = (apiType, dbType) => { // intended to keep this after earlier project deletion // creates project using excel & deletes it t7a.genTest(apiType, dbType); - - t9b.genTest(apiType, dbType); }; nocoTestSuite("rest", "mysql");