Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ngunner15 committed Oct 15, 2024
1 parent e46c742 commit 998c044
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ describe('A Class Seedlot Registration form, Parent Tree and SMP part-3(Calculat
cy.get(`.${prefix}--modal-container[aria-label="Seedlot registration"]`)
.should('be.visible');

cy.get(`h3.${prefix}--modal-header__heading`)
cy.get(`.${prefix}--modal-container[aria-label="Seedlot registration"]`)
.find(`h3.${prefix}--modal-header__heading`)
.should('have.text', regFormData.submission.title);

cy.get(`.${prefix}--modal-content`)
.find('p')
cy.get(`.${prefix}--modal-container[aria-label="Seedlot registration"]`)
.find(`.${prefix}--modal-content`)
.children('p')
.should('have.text', regFormData.submission.subtitle);

cy.get(`.${prefix}--modal-container[aria-label="Seedlot registration"]`)
Expand Down

0 comments on commit 998c044

Please sign in to comment.