Browse Source

feat(nc-gui): Reverted some cypress settings

pull/3612/head
Muhammed Mustafa 2 years ago
parent
commit
028b011d06
  1. 15
      scripts/cypress/cypress.json
  2. 34
      scripts/cypress/integration/test/restMisc.js

15
scripts/cypress/cypress.json

@ -1,6 +1,19 @@
{ {
"baseUrl": "http://localhost:3000/", "baseUrl": "http://localhost:3000/",
"testFiles": [ "testFiles": [
"test/restTableOps.js",
"test/restViews.js",
"test/restRoles.js",
"test/restMisc.js",
"test/xcdb-restTableOps.js",
"test/xcdb-restViews.js",
"test/xcdb-restRoles.js",
"test/xcdb-restMisc.js",
"test/pg-restTableOps.js",
"test/pg-restViews.js",
"test/pg-restRoles.js",
"test/pg-restMisc.js",
"test/quickTest.js",
"test/restMisc.js" "test/restMisc.js"
], ],
"defaultCommandTimeout": 13000, "defaultCommandTimeout": 13000,
@ -10,7 +23,7 @@
"video": false, "video": false,
"retries": 0, "retries": 0,
"screenshotOnRunFailure": true, "screenshotOnRunFailure": true,
"numTestsKeptInMemory": 5, "numTestsKeptInMemory": 0,
"experimentalInteractiveRunEvents": true, "experimentalInteractiveRunEvents": true,
"env": { "env": {
"testMode": [ "testMode": [

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

@ -15,23 +15,23 @@ const {
const nocoTestSuite = (apiType, dbType) => { const nocoTestSuite = (apiType, dbType) => {
setCurrentMode(apiType, dbType); setCurrentMode(apiType, dbType);
// t01.genTest(apiType, dbType); t01.genTest(apiType, dbType);
//
// t6b.genTest(apiType, dbType); t6b.genTest(apiType, dbType);
// t6d.genTest(apiType, dbType); t6d.genTest(apiType, dbType);
// // exclude@ncv2 t6c.genTest(apiType, dbType); // exclude@ncv2 t6c.genTest(apiType, dbType);
// t6f.genTest(apiType, dbType); t6f.genTest(apiType, dbType);
// t6g.genTest(apiType, dbType); t6g.genTest(apiType, dbType);
//
// // webhook tests // webhook tests
// t8a.genTest(apiType, dbType) t8a.genTest(apiType, dbType)
//
// // **deletes created project, hence place it @ end // **deletes created project, hence place it @ end
// t6e.genTest(apiType, dbType); t6e.genTest(apiType, dbType);
//
// // intended to keep this after earlier project deletion // intended to keep this after earlier project deletion
// // creates project using excel & deletes it // creates project using excel & deletes it
// t7a.genTest(apiType, dbType); t7a.genTest(apiType, dbType);
t9b.genTest(apiType, dbType); t9b.genTest(apiType, dbType);
}; };

Loading…
Cancel
Save