-
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.
feat: [DHIS2-15238] show and filter on assigned user in program stage…
… WL (#3821)
- Loading branch information
1 parent
640067d
commit e032d50
Showing
16 changed files
with
234 additions
and
88 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
cypress/e2e/WorkingLists/EventWorkingLists/EventWorkingListsDev/EventWorkingListsDev.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
2 changes: 1 addition & 1 deletion
2
cypress/e2e/WorkingLists/EventWorkingLists/EventWorkingListsUser/EventWorkingListsUser.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
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,18 @@ | ||
import { When, Then } from '@badeball/cypress-cucumber-preprocessor'; | ||
import '../sharedSteps'; | ||
|
||
When('you set the assignee filter to anyone', () => { | ||
cy.get('[data-test="event-working-lists"]') | ||
.contains('Assigned to') | ||
.click(); | ||
|
||
cy.get('[data-test="list-view-filter-contents"]') | ||
.contains('Anyone') | ||
.click(); | ||
}); | ||
|
||
Then('the assigned to filter button should show that the anyone filter is in effect', () => { | ||
cy.get('[data-test="event-working-lists"]') | ||
.contains('Assigned to: Anyone') | ||
.should('exist'); | ||
}); |
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
2 changes: 1 addition & 1 deletion
2
cypress/e2e/WorkingLists/TeiWorkingLists/TeiWorkingListsDev/TeiWorkingListsDev.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { When, Then } from '@badeball/cypress-cucumber-preprocessor'; | ||
import '../sharedSteps'; | ||
|
||
When(/^you set the assginee filter to (.*)$/, (assignedUser) => { | ||
cy.get('[data-test="tei-working-lists"]') | ||
.contains('Assigned to') | ||
.click(); | ||
|
||
cy.get('[data-test="list-view-filter-contents"]') | ||
.contains(assignedUser) | ||
.click(); | ||
}); | ||
|
||
Then(/^the assignee filter button should show that (.*) filter is in effect/, (assignedUser) => { | ||
cy.get('[data-test="tei-working-lists"]') | ||
.contains(`Assigned to: ${assignedUser}`) | ||
.should('exist'); | ||
}); |
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
Oops, something went wrong.