mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 04:26:46 +00:00
test: PG incorrect project configuration param
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -168,7 +168,7 @@ export const genTest = (apiType, dbType) => {
|
||||
loginPage.signUp(roles.owner.credentials);
|
||||
});
|
||||
|
||||
function cy_createProjectBlock(proj) {
|
||||
function cy_createProjectBlock(proj, apiType, dbType) {
|
||||
// click home button
|
||||
cy.get(".nc-noco-brand-icon").click();
|
||||
cy.get(".ant-table-content").then((obj) => {
|
||||
@@ -245,10 +245,10 @@ export const genTest = (apiType, dbType) => {
|
||||
cy.task(
|
||||
'pgExecTest',
|
||||
`SELECT 1+1`, {timeout: 120000}
|
||||
).then(() => cy_createProjectBlock(proj));
|
||||
).then(() => cy_createProjectBlock(proj, apiType, dbType));
|
||||
}
|
||||
else {
|
||||
cy_createProjectBlock(proj);
|
||||
cy_createProjectBlock(proj, apiType, dbType);
|
||||
}
|
||||
});
|
||||
};
|
||||
@@ -258,7 +258,7 @@ export const genTest = (apiType, dbType) => {
|
||||
} else if (dbType === "mysql") {
|
||||
createProject(staticProjects.externalREST);
|
||||
} else if (dbType === "postgres") {
|
||||
createProject(staticProjects.externalREST);
|
||||
createProject(staticProjects.pgExternalREST);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user