Skip to content

Commit

Permalink
#3055 Add test for hiding elements
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalizer committed Jan 2, 2025
1 parent 198d63b commit 08d465d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e-tests/cypress/e2e/approver/approver_role_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,16 @@ describe('Approver Role Tests', () => {
const chainerPrepend = assertChainPrepend ? assertChainPrepend : '';
cy.visit(`/administrator/projects/proj${projNum}/users/user2/skillEvents`);
cy.wait(`@getSettingsProj${projNum}`);

cy.get('[data-cy="deleteEventBtn"]').should(`${chainerPrepend}exist`)
cy.get('[data-cy="performedSkills-deleteSelected"]').should(`${chainerPrepend}exist`)
cy.get('[data-cy="performedSkills-deleteAll"]').should(`${chainerPrepend}exist`)
cy.get('.p-selection-column').should(`${chainerPrepend}exist`)

}
runCheck(2)
runCheck(1, 'View','not.')

});

it('/metrics page - approver role has no mutation controls', function () {
Expand Down

0 comments on commit 08d465d

Please sign in to comment.