Add to Cheatsheet: Create a test that tests a user/user role's ability to create multiple content types

Created on 20 November 2023, about 1 year ago
Updated 1 December 2023, about 1 year ago

Pseudocode Proposal:

  • Using the previously created support commands, create a test that checks the ability to create content and/or fail by role.
describe('Verify that content types can only be created by specific roles.', () => {
  it('Login as an Admin and create each content type.', () => {
    cy.login('cypress', 'cypress');
    cy.createDocument();
    cy.createEvent();
    cy.createPage();
    cy.createPerson();
    cy.logout();
  })
})
✨ Feature request
Status

Fixed

Component

Commands

Created by

πŸ‡ΊπŸ‡ΈUnited States stockfoot

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024