Browse Source

fix(gui-v2): cypress for renaming table

pull/3117/head
Wing-Kam Wong 2 years ago
parent
commit
5d2b6ff57c
  1. 6
      scripts/cypress/integration/common/1a_table_operations.js

6
scripts/cypress/integration/common/1a_table_operations.js

@ -76,6 +76,9 @@ export const genTest = (apiType, dbType) => {
cy.closeTableTab("CityX"); cy.closeTableTab("CityX");
// revert re-name operation to not impact rest of test suite
cy.renameTable("CityX", "City");
// 4. verify linked contents in other table // 4. verify linked contents in other table
// 4a. Address table, has many field // 4a. Address table, has many field
cy.openTableTab("Address", 25); cy.openTableTab("Address", 25);
@ -97,9 +100,6 @@ export const genTest = (apiType, dbType) => {
.contains("Kabul") .contains("Kabul")
.should("exist"); .should("exist");
cy.closeTableTab("Country"); cy.closeTableTab("Country");
// revert re-name operation to not impact rest of test suite
cy.renameTable("CityX", "City");
}); });
}); });
}; };

Loading…
Cancel
Save