mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.8 KiB
56 lines
1.8 KiB
3 years ago
|
let t0 = require("./explicitLogin");
|
||
|
let t01 = require("../common/00_pre_configurations");
|
||
|
let t4a = require("../common/4a_table_view_grid_gallery_form");
|
||
|
let t4b = require("../common/4b_table_view_share");
|
||
|
let t4c = require("../common/4c_form_view_detailed");
|
||
|
let t4d = require("../common/4d_table_view_grid_locked");
|
||
|
let t4e = require("../common/4e_form_view_share");
|
||
|
let t4f = require("../common/4f_grid_view_share");
|
||
|
const {
|
||
|
setCurrentMode,
|
||
|
} = require("../../support/page_objects/projectConstants");
|
||
|
|
||
|
// use 0 as mode to execute individual files (debug mode, skip pre-configs)
|
||
|
// use 1 mode if noco.db doesnt contain user credentials (full run over GIT)
|
||
|
const executionMode = 1;
|
||
|
|
||
|
const nocoTestSuite = (type, xcdb) => {
|
||
|
setCurrentMode(type, xcdb);
|
||
|
if (0 == executionMode) {
|
||
|
t0.genTest(type, xcdb);
|
||
|
} else {
|
||
|
t01.genTest(type, xcdb);
|
||
|
}
|
||
|
|
||
|
t4a.genTest(type, xcdb);
|
||
|
t4b.genTest(type, xcdb);
|
||
|
t4c.genTest(type, xcdb);
|
||
|
t4d.genTest(type, xcdb);
|
||
|
t4e.genTest(type, xcdb);
|
||
|
t4f.genTest(type, xcdb);
|
||
|
};
|
||
|
|
||
|
nocoTestSuite("graphql", true);
|
||
|
|
||
|
/**
|
||
|
* @copyright Copyright (c) 2021, Xgene Cloud Ltd
|
||
|
*
|
||
|
* @author Raju Udava <sivadstala@gmail.com>
|
||
|
*
|
||
|
* @license GNU AGPL version 3 or any later version
|
||
|
*
|
||
|
* This program is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU Affero General Public License as
|
||
|
* published by the Free Software Foundation, either version 3 of the
|
||
|
* License, or (at your option) any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU Affero General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Affero General Public License
|
||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*
|
||
|
*/
|