Browse Source

chore(cypress): test name correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3796/head
Pranav C 2 years ago
parent
commit
cd9a24bc06
  1. 2
      scripts/cypress/integration/common/5a_user_role.js
  2. 3
      scripts/cypress/integration/common/5c_super_user_role.js

2
scripts/cypress/integration/common/5a_user_role.js

@ -269,7 +269,7 @@ export const genTest = (apiType, dbType) => {
}
});
it(`[${roles[roleType].name}] App store accessiblility`, () => {
it(`[${roles[roleType].name}] App store accessibility`, () => {
cy.visit("/#/apps").then(r =>{
cy.toastWait('You don\'t have enough permission to access the page.')
})

3
scripts/cypress/integration/common/5c_super_user_role.js

@ -2,9 +2,10 @@ import { loginPage } from '../../support/page_objects/navigation';
import { roles } from '../../support/page_objects/projectConstants';
export const genTest = (apiType, dbType) => {
describe(`${apiType.toUpperCase()} api - Table views: Create/Edit/Delete`, () => {
describe(`${apiType.toUpperCase()} api - Super user test`, () => {
before(() => {
loginPage.signIn(roles.owner.credentials);
cy.saveLocalStorage();
});
beforeEach(() => {

Loading…
Cancel
Save