-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into hv/fix/DHIS2-17101_…
…ConsiderPreventAddingEventsToStageProgramRule
- Loading branch information
Showing
222 changed files
with
5,570 additions
and
7,488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
cypress/e2e/WidgetsForEnrollmentPages/WidgetEnrollmentComment/index.js
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
cypress/e2e/WidgetsForEnrollmentPages/WidgetEnrollmentNote/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { When, Then } from '@badeball/cypress-cucumber-preprocessor'; | ||
|
||
Then('the stages and events should be loaded', () => { | ||
cy.contains('Stages and Events').should('exist'); | ||
}); | ||
|
||
When(/^you fill in the note: (.*)$/, (note) => { | ||
cy.get('[data-test="enrollment-note-widget"]').within(() => { | ||
cy.get('[data-test="note-textfield"]').type(note); | ||
cy.wait(100); | ||
|
||
cy.get('[data-test="add-note-btn"]').should('exist'); | ||
cy.get('[data-test="add-note-btn"]').click(); | ||
}); | ||
}); | ||
|
||
Then(/^list should contain the new note: (.*)$/, (note) => { | ||
cy.get('[data-test="enrollment-note-widget"]').within(() => { | ||
cy.get('[data-test="note-item"]').contains(note).should('exist'); | ||
}); | ||
}); |
Oops, something went wrong.