mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 22:26:37 +00:00
test: v2 corrections for view/ phase-1
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -68,6 +68,9 @@ export class _loginPage {
|
||||
// standard pre-project activity
|
||||
//
|
||||
loginAndOpenProject(apiType, dbType) {
|
||||
cy.restoreLocalStorage();
|
||||
cy.wait(1000);
|
||||
|
||||
loginPage.signIn(roles.owner.credentials);
|
||||
|
||||
if (dbType === "mysql") {
|
||||
@@ -77,6 +80,12 @@ export class _loginPage {
|
||||
} else if (dbType === "postgres") {
|
||||
projectsPage.openProject(staticProjects.pgExternalREST.basic.name);
|
||||
}
|
||||
|
||||
// kludge: wait for page load to finish
|
||||
cy.wait(2000);
|
||||
// close team & auth tab
|
||||
cy.get('button.ant-tabs-tab-remove').should('exist').click();
|
||||
cy.wait(1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user