Browse Source

(test) cypress: enable default view (main grid) csv download verification

Signed-off-by: Raju Udava <sivadstala@gmail.com>
pull/743/head
Raju Udava 3 years ago
parent
commit
06cb5cc88e
  1. 2
      scripts/cypress/integration/common/6b_downloadCsv.js
  2. 6
      scripts/cypress/integration/test/gqlMisc.js
  3. 2
      scripts/cypress/integration/test/restMisc.js

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

@ -8,7 +8,7 @@ export const genTest = (type, xcdb) => {
describe(`${type.toUpperCase()} Upload/ Download CSV`, () => { describe(`${type.toUpperCase()} Upload/ Download CSV`, () => {
before(() => { before(() => {
loginPage.loginAndOpenProject(type) // loginPage.loginAndOpenProject(type)
cy.openTableTab('Country'); cy.openTableTab('Country');
}) })

6
scripts/cypress/integration/test/gqlMisc.js

@ -1,6 +1,7 @@
let t0 = require('./explicitLogin') let t0 = require('./explicitLogin')
let t01 = require('../common/00_pre_configurations') let t01 = require('../common/00_pre_configurations')
let t6b = require('../common/6b_downloadCsv')
let t6c = require('../common/6c_swagger_api') let t6c = require('../common/6c_swagger_api')
let t6d = require('../common/6d_language_validation') let t6d = require('../common/6d_language_validation')
let t6e = require('../common/6e_project_operations') let t6e = require('../common/6e_project_operations')
@ -15,8 +16,9 @@ const nocoTestSuite = (type, xcdb) => {
t0.genTest(type, xcdb) t0.genTest(type, xcdb)
} else { } else {
t01.genTest(type, xcdb) t01.genTest(type, xcdb)
} }
t6b.genTest(type, xcdb)
t6c.genTest(type, xcdb) t6c.genTest(type, xcdb)
t6d.genTest(type, xcdb) t6d.genTest(type, xcdb)
// **deletes created project, hence place it @ end // **deletes created project, hence place it @ end

2
scripts/cypress/integration/test/restMisc.js

@ -1,6 +1,7 @@
let t0 = require('./explicitLogin') let t0 = require('./explicitLogin')
let t01 = require('../common/00_pre_configurations') let t01 = require('../common/00_pre_configurations')
let t6b = require('../common/6b_downloadCsv')
let t6c = require('../common/6c_swagger_api') let t6c = require('../common/6c_swagger_api')
let t6d = require('../common/6d_language_validation') let t6d = require('../common/6d_language_validation')
let t6e = require('../common/6e_project_operations') let t6e = require('../common/6e_project_operations')
@ -17,6 +18,7 @@ const nocoTestSuite = (type, xcdb) => {
t01.genTest(type, xcdb) t01.genTest(type, xcdb)
} }
t6b.genTest(type, xcdb)
t6c.genTest(type, xcdb) t6c.genTest(type, xcdb)
t6d.genTest(type, xcdb) t6d.genTest(type, xcdb)
// **deletes created project, hence place it @ end // **deletes created project, hence place it @ end

Loading…
Cancel
Save