Skip to content

Commit

Permalink
fix IAM permission tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tfhuhtal committed Oct 23, 2024
1 parent a4e37df commit 4c245a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/integration/IAMpermissions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ describe('IAM permission tests', () => {
cy.visit('/yearly')
cy.reload()
cy.get('[data-cy=nav-report]').click()
cy.get('[data-cy=report-select-all-accordion]').click()
cy.get('[data-cy=report-select-all]').click()
cy.get('[data-cy=report-question-review_of_last_years_situation_report_text]').should('be.visible').click()
cy.get('[data-cy=report-question-content-review_of_last_years_situation_report_text]').should(
Expand Down Expand Up @@ -185,6 +186,7 @@ describe('IAM permission tests', () => {
cy.visit('/yearly')
cy.get('[data-cy=nav-report]').click()
cy.selectYear(defaultYears[1])
cy.get('[data-cy=report-select-all-accordion]').click()
cy.get('[data-cy=report-select-all]').should('contain', 'all')
cy.get('[data-cy=report-select-all]').click()
cy.get('[data-cy=report-question-review_of_last_years_situation_report_text]').click()
Expand Down

0 comments on commit 4c245a1

Please sign in to comment.