test: cy screenshot experiment over ci-cd

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
Raju Udava
2022-02-08 13:47:16 +05:30
parent e936565d90
commit 7d6adaaf52
2 changed files with 99 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ export const genTest = (type, xcdb) => {
before(() => {
//loginPage.signIn(roles.owner.credentials)
mainPage.toolBarTopLeft(mainPage.HOME).click();
cy.screenshot("6d-1");
});
const langVerification = (idx, lang) => {
@@ -20,6 +21,8 @@ export const genTest = (type, xcdb) => {
cy.get(".nc-menu-translate").click();
cy.getActiveMenu().find(".v-list-item").eq(idx).click();
cy.screenshot("6d-2");
// basic validations
// 1. Page title: "My Projects"
// 2. Button: "New Project"