Browse Source

test: cypress- pg sign in corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/1264/head
Raju Udava 3 years ago
parent
commit
010138dec6
  1. 14
      scripts/cypress/support/page_objects/navigation.js

14
scripts/cypress/support/page_objects/navigation.js

@ -68,7 +68,19 @@ export class _loginPage {
} else if (dbType === "xcdb") { } else if (dbType === "xcdb") {
if ("rest" == apiType) if ("rest" == apiType)
projectsPage.openProject(staticProjects.sampleREST.basic.name); projectsPage.openProject(staticProjects.sampleREST.basic.name);
else projectsPage.openProject(staticProjects.sampleGQL.basic.name); else {
projectsPage.openProject(staticProjects.sampleGQL.basic.name);
}
} else if (dbType === "postgres") {
if ("rest" == apiType)
projectsPage.openProject(
staticProjects.pgExternalREST.basic.name
);
else {
projectsPage.openProject(
staticProjects.pgExternalGQL.basic.name
);
}
} }
} }
} }

Loading…
Cancel
Save