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.
66 lines
2.4 KiB
66 lines
2.4 KiB
3 years ago
|
let t0 = require("./explicitLogin");
|
||
|
let t01 = require("../common/00_pre_configurations");
|
||
|
let t1a = require("../common/1a_table_operations");
|
||
3 years ago
|
let t1c = require("../common/1c_sql_view");
|
||
3 years ago
|
let t1d = require("../common/1d_table_view_drag_drop_reorder");
|
||
3 years ago
|
let t1b = require("../common/1b_table_column_operations");
|
||
3 years ago
|
let t1e = require("../common/1e_meta_sync");
|
||
3 years ago
|
let t2a = require("../common/2a_table_with_belongs_to_colulmn");
|
||
|
let t2b = require("../common/2b_table_with_m2m_column");
|
||
|
let t3a = require("../common/3a_filter_sort_fields_operations");
|
||
|
let t3b = require("../common/3b_formula_column");
|
||
|
let t3c = require("../common/3c_lookup_column");
|
||
|
let t3d = require("../common/3d_rollup_column");
|
||
3 years ago
|
const {
|
||
3 years ago
|
setCurrentMode,
|
||
3 years ago
|
} = require("../../support/page_objects/projectConstants");
|
||
3 years ago
|
|
||
|
// 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)
|
||
3 years ago
|
const executionMode = 1;
|
||
3 years ago
|
|
||
3 years ago
|
const nocoTestSuite = (apiType, dbType) => {
|
||
3 years ago
|
if (0 == executionMode) {
|
||
|
setCurrentMode(apiType, dbType);
|
||
|
t0.genTest(apiType, dbType);
|
||
|
} else {
|
||
|
t01.genTest(apiType, dbType);
|
||
|
}
|
||
3 years ago
|
|
||
3 years ago
|
t1a.genTest(apiType, dbType);
|
||
|
t1b.genTest(apiType, dbType);
|
||
|
t1c.genTest(apiType, dbType);
|
||
|
t1d.genTest(apiType, dbType);
|
||
|
t1e.genTest(apiType, dbType);
|
||
|
t2a.genTest(apiType, dbType);
|
||
|
t2b.genTest(apiType, dbType);
|
||
|
t3a.genTest(apiType, dbType);
|
||
|
t3b.genTest(apiType, dbType);
|
||
|
t3c.genTest(apiType, dbType);
|
||
|
t3d.genTest(apiType, dbType);
|
||
3 years ago
|
};
|
||
|
|
||
3 years ago
|
nocoTestSuite("graphql", "mysql");
|
||
3 years ago
|
|
||
|
/**
|
||
|
* @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/>.
|
||
|
*
|
||
|
*/
|