Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gl 503 category assessments #1414

Merged
merged 3 commits into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions cypress/support/adminCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,11 @@ Cypress.Commands.add('verifyNewCategoryAssessmentPage', (service) => {
cy.get('#category-assessment-regulation-id-error').contains('Regulation is not present');
cy.get('#category-assessment-regulation-role-error').contains('Regulation role is not present');
cy.get('#category-assessment-theme-id-error').contains('Theme is not present');
// verify the Category Assessment hyperlink functionality in NewCategoryAssessmentPage
cy.get('.govuk-breadcrumbs__link').should('have.attr', 'href', '/xi/green_lanes/category_assessments').click();
cy.url().should('include', '/xi/green_lanes/category_assessments');
cy.contains('Manage category assessments');
cy.contains('Add a Category Assessment').click();
cy.contains('Back').click();
cy.contains('Manage category assessments');
cy.contains('Add a Category Assessment');
Expand Down