test: comments clean up

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
Raju Udava
2022-09-25 10:52:07 +05:30
parent 181c362635
commit 728e6a0c6d
22 changed files with 137 additions and 216 deletions

View File

@@ -116,7 +116,6 @@ export const genTest = (apiType, dbType) => {
before(() => {
cy.restoreLocalStorage();
cy.visit(mainPage.roleURL[roleType]);
// cy.wait(5000);
cy.get('button:contains("SIGN UP"):visible').should("exist");
cy.get('input[type="text"]', { timeout: 20000 }).type(
@@ -126,9 +125,6 @@ export const genTest = (apiType, dbType) => {
roles[roleType].credentials.password
);
cy.get('button:contains("SIGN UP")').click();
// cy.wait(3000);
cy.get(`.nc-project-page-title:contains("My Projects"):visible`).should(
"exist"
);
@@ -277,9 +273,9 @@ export const genTest = (apiType, dbType) => {
});
it(`[${roles[roleType].name}] App store accessibility`, () => {
cy.visit("/#/apps").then(r =>{
cy.toastWait('You don\'t have enough permission to access the page.')
})
cy.visit("/#/apps").then((r) => {
cy.toastWait("You don't have enough permission to access the page.");
});
});
});
};