Browse Source

fix: cypress corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2482/head
Raju Udava 2 years ago
parent
commit
411ad59b88
  1. 2
      scripts/cypress/integration/common/1d_table_view_drag_drop_reorder.js
  2. 2
      scripts/cypress/integration/common/4f_grid_view_share.js
  3. 2
      scripts/cypress/integration/common/6b_downloadCsv.js

2
scripts/cypress/integration/common/1d_table_view_drag_drop_reorder.js

@ -65,7 +65,7 @@ export const genTest = (apiType, dbType) => {
validateTreeField(2, "Address");
validateTreeField(12, "Staff");
validateTreeField(13, "ActorInfo");
validateTreeField(14, "CustomerList");
validateTreeField(14, "Customer List");
// undo project-tree expand operation
cy.get(".nc-project-tree")

2
scripts/cypress/integration/common/4f_grid_view_share.js

@ -231,7 +231,7 @@ export const genTest = (apiType, dbType) => {
const verifyCsv = (retrievedRecords) => {
// expected output, statically configured
let storedRecords = [
`Address,District,PostalCode,Phone,Location,CustomerList,Staff List,City,Staff List`,
`Address,District,PostalCode,Phone,Location,Customer List,Staff List,City,Staff List`,
`1993 Tabuk Lane,Tamil Nadu,64221,648482415405,[object Object],2,,Tambaram,`,
`1661 Abha Drive,Tamil Nadu,14400,270456873752,[object Object],1,,Pudukkottai,`,
];

2
scripts/cypress/integration/common/6b_downloadCsv.js

@ -31,7 +31,7 @@ export const genTest = (apiType, dbType) => {
// `Angola,"Benguela, Namibe"`,
// ];
let storedRecords = [
['Country','CityList'],
['Country','City List'],
['Afghanistan','Kabul'],
['Algeria','Skikda', 'Bchar', 'Batna'],
['American Samoa','Tafuna'],

Loading…
Cancel
Save