Skip to content

Commit

Permalink
fix: cy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Oct 21, 2024
1 parent 001c400 commit ec3fed8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Then(/^the user successfully transfers the enrollment/, () => {

cy.get('[data-test="widget-enrollment"]').within(() => {
cy.get('[data-test="widget-enrollment-owner-orgunit"]')
.contains('Owned by: Njandama MCHP')
.contains('Owned by:Njandama MCHP')
.should('exist');
});
});
Expand All @@ -246,7 +246,7 @@ Then(/^the user types in (.*)/, (orgunit) => {
Given(/^the enrollment owner organisation unit is (.*)/, (orgunit) => {
cy.get('[data-test="widget-enrollment"]').within(() => {
cy.get('[data-test="widget-enrollment-owner-orgunit"]')
.contains(`Owned by: ${orgunit}`)
.contains(`Owned by:${orgunit}`)
.should('exist');
});
});
Expand Down

0 comments on commit ec3fed8

Please sign in to comment.