Skip to content

Commit 279eea5

Browse files
simonadomnisoruJoakimSM
authored andcommitted
feat: [DHIS2-15238] show and filter on assigned user in program stage WL (#3821)
chore(release): cut 101.9.0 [skip release] * [DHIS2-15238] show and filter on assigned user in program stage WL ([#3821](#3821)) ([e032d50](e032d50)) fix(translations): sync translations from transifex (master) Automatically merged. chore(release): cut 101.9.1 [skip release] * **translations:** sync translations from transifex (master) ([2603f34](2603f34)) feat: [DHIS2-17771] Org unit context in tables and lists (#3813) * feat: update client to list converter * feat: changes in tooltip component * feat: add orgunit context stages and events widget * feat: use cache for subvalues * feat: orgunit context event workspace * fix: renaming of return statement chore(release): cut 101.10.0 [skip release] * [DHIS2-17771] Org unit context in tables and lists ([#3813](#3813)) ([b1a720a](b1a720a)) fix: [DHIS2-18028] User is able to add invalid related stages event (#3795) * fix: change logic for linkable events * fix: split up all and linkable events * chore: remove redundant filter chore(release): cut 101.10.1 [skip release] * [DHIS2-18028] User is able to add invalid related stages event ([#3795](#3795)) ([301585e](301585e)) test: cleanup after running NewPage tests (#3843) fix: cleanup after tests are run chore: [DHIS2-17915] remove opt-in functionality (#3796) fix: [DHIS2-18215] selected working list not persisted on navigate (#3838) * fix: persist working list on navigate * fix: allow navigate back despite displayFrontPageList * chore: review chore(release): cut 101.10.2 [skip release] * [DHIS2-18215] selected working list not persisted on navigate ([#3838](#3838)) ([599b2c1](599b2c1)) feat: [DHIS2-17970] Auto-select orgUnit if there is only one available (#3798) * feat: pre select * feat: review changes * fix: remove children check * fix: review change * feat: merge hooks for auto select * Revert "feat: merge hooks for auto select" This reverts commit 9b97d2e. * fix: review changes chore(release): cut 101.11.0 [skip release] * [DHIS2-17970] Auto-select orgUnit if there is only one available ([#3798](#3798)) ([de06f8b](de06f8b)) fix: [DHIS2-16993] Text and long text DEs are missing arrows in changelog when deleted (#3827) * fix: make arrow size static * fix: revert changes to text chore(release): cut 101.11.1 [skip release] * [DHIS2-16993] Text and long text DEs are missing arrows in changelog when deleted ([#3827](#3827)) ([5e6dfa6](5e6dfa6)) fix: [DHIS2-18056] use linkedEntityFormFoundation instead of the searchFormFoundation (#3835) chore(release): cut 101.11.2 [skip release] * [DHIS2-18056] use linkedEntityFormFoundation instead of the searchFormFoundation ([#3835](#3835)) ([cbfe70b](cbfe70b)) feat: [DHIS2-17956] Display name for org unit in changelog (#3826) * feat: update client to list converter * feat: changes in tooltip component * feat: add orgunit context stages and events widget * feat: use cache for subvalues * feat: orgunit context event workspace * fix: renaming of return statement * feat: display name for orgunit * fix: merge conflict * fix: improve flow type chore(release): cut 101.12.0 [skip release] * [DHIS2-17956] Display name for org unit in changelog ([#3826](#3826)) ([5299f37](5299f37)) fix: [DHIS2-17978] use title instead of alt on missing icons (#3847) * fix: use title instead of alt on missing icons * chore: fix failing tests chore(release): cut 101.12.1 [skip release] * [DHIS2-17978] use title instead of alt on missing icons ([#3847](#3847)) ([b5940f2](b5940f2)) fix(translations): sync translations from transifex (master) Automatically merged. chore(release): cut 101.12.2 [skip release] * **translations:** sync translations from transifex (master) ([9bf7696](9bf7696)) feat: [DHIS2-17991] Show orgUnit selector in Enter details now (#3824) * feat: add org unit selector * feat: select org unit for linked event * feat: add validation feat: [DHIS2-16992] Fixed size for changelog modal and columns (#3834) * feat: temp * feat: fixed size table and columns * fix: remove console log * fix: fixed size improvement chore(release): cut 101.13.0 [skip release] * [DHIS2-16992] Fixed size for changelog modal and columns ([#3834](#3834)) ([3b021cf](3b021cf)) * [DHIS2-17991] Show orgUnit selector in Enter details now ([#3824](#3824)) ([bf2f1ca](bf2f1ca)) feat: [DHIS2-17792] Org unit context in forms (#3828) * feat: update client to list converter * feat: changes in tooltip component * feat: add orgunit context stages and events widget * feat: use cache for subvalues * feat: orgunit context event workspace * fix: renaming of return statement * feat: add org unit context to forms * fix: translation * fix: cy tests breakes after translation fix * fix: cy tests chore(release): cut 101.14.0 [skip release] * [DHIS2-17792] Org unit context in forms ([#3828](#3828)) ([c8ccf63](c8ccf63)) fix: [DHIS2-16010] app crashes on invalid programid (#3765) * fix: app crash on invalid programid * fix: app stuck in loading state when url has invalid enrollmentId or teiId * fix: useProgramInfo hook breaks the app chore(release): cut 101.14.1 [skip release] * [DHIS2-16010] app crashes on invalid programid ([#3765](#3765)) ([9133a63](9133a63)) fix(translations): sync translations from transifex (master) Automatically merged. chore(release): cut 101.14.2 [skip release] * **translations:** sync translations from transifex (master) ([57a7b83](57a7b83)) docs: improve docs (#3865) fix: [DHIS2-17843] Disable delete enrollment button when user does not have authority (#3859) * fix: string adjustment * fix: disable button and add tooltip * fix: revert wrong commit * fix: create generic authorities hook chore(release): cut 101.14.3 [skip release] * [DHIS2-17843] Disable delete enrollment button when user does not have authority ([#3859](#3859)) ([edee6d3](edee6d3)) fix: [DHIS2-18228] Image Deleted on Update (#3857) * fix: image deleted on update * fix: remove call to fileresources chore(release): cut 101.14.4 [skip release] * [DHIS2-18228] Image Deleted on Update ([#3857](#3857)) ([4656864](4656864)) fix: [DHIS2-18248] pass on createdAt to rules engine when editing (#3848)
1 parent aaa3e3b commit 279eea5

167 files changed

Lines changed: 1691 additions & 2408 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,123 @@
1+
## [101.14.4](https://github.com/dhis2/capture-app/compare/v101.14.3...v101.14.4) (2024-10-29)
2+
3+
4+
### Bug Fixes
5+
6+
* [DHIS2-18228] Image Deleted on Update ([#3857](https://github.com/dhis2/capture-app/issues/3857)) ([4656864](https://github.com/dhis2/capture-app/commit/46568640482a3d6a610533573b1132c160329296))
7+
8+
## [101.14.3](https://github.com/dhis2/capture-app/compare/v101.14.2...v101.14.3) (2024-10-29)
9+
10+
11+
### Bug Fixes
12+
13+
* [DHIS2-17843] Disable delete enrollment button when user does not have authority ([#3859](https://github.com/dhis2/capture-app/issues/3859)) ([edee6d3](https://github.com/dhis2/capture-app/commit/edee6d350fb2672a3470ef4c282460b34fa726eb))
14+
15+
## [101.14.2](https://github.com/dhis2/capture-app/compare/v101.14.1...v101.14.2) (2024-10-27)
16+
17+
18+
### Bug Fixes
19+
20+
* **translations:** sync translations from transifex (master) ([57a7b83](https://github.com/dhis2/capture-app/commit/57a7b8300c841d043da84735ed32dfce0b64e25b))
21+
22+
## [101.14.1](https://github.com/dhis2/capture-app/compare/v101.14.0...v101.14.1) (2024-10-22)
23+
24+
25+
### Bug Fixes
26+
27+
* [DHIS2-16010] app crashes on invalid programid ([#3765](https://github.com/dhis2/capture-app/issues/3765)) ([9133a63](https://github.com/dhis2/capture-app/commit/9133a63e138517c633a192b5d51f39a43c57e327))
28+
29+
# [101.14.0](https://github.com/dhis2/capture-app/compare/v101.13.0...v101.14.0) (2024-10-21)
30+
31+
32+
### Features
33+
34+
* [DHIS2-17792] Org unit context in forms ([#3828](https://github.com/dhis2/capture-app/issues/3828)) ([c8ccf63](https://github.com/dhis2/capture-app/commit/c8ccf63e0cde97a190cec6248dc25a4a4d747646))
35+
36+
# [101.13.0](https://github.com/dhis2/capture-app/compare/v101.12.2...v101.13.0) (2024-10-21)
37+
38+
39+
### Features
40+
41+
* [DHIS2-16992] Fixed size for changelog modal and columns ([#3834](https://github.com/dhis2/capture-app/issues/3834)) ([3b021cf](https://github.com/dhis2/capture-app/commit/3b021cf5569338db5038d8ed231a810a0fa909f3))
42+
* [DHIS2-17991] Show orgUnit selector in Enter details now ([#3824](https://github.com/dhis2/capture-app/issues/3824)) ([bf2f1ca](https://github.com/dhis2/capture-app/commit/bf2f1cabebe4ddf100cb8054be0a4af2fbec3965))
43+
44+
## [101.12.2](https://github.com/dhis2/capture-app/compare/v101.12.1...v101.12.2) (2024-10-20)
45+
46+
47+
### Bug Fixes
48+
49+
* **translations:** sync translations from transifex (master) ([9bf7696](https://github.com/dhis2/capture-app/commit/9bf7696de59baf42dd8f8ee1869f4696f83c007a))
50+
51+
## [101.12.1](https://github.com/dhis2/capture-app/compare/v101.12.0...v101.12.1) (2024-10-16)
52+
53+
54+
### Bug Fixes
55+
56+
* [DHIS2-17978] use title instead of alt on missing icons ([#3847](https://github.com/dhis2/capture-app/issues/3847)) ([b5940f2](https://github.com/dhis2/capture-app/commit/b5940f21204cf26afce6c28ba88b50c09728265f))
57+
58+
# [101.12.0](https://github.com/dhis2/capture-app/compare/v101.11.2...v101.12.0) (2024-10-15)
59+
60+
61+
### Features
62+
63+
* [DHIS2-17956] Display name for org unit in changelog ([#3826](https://github.com/dhis2/capture-app/issues/3826)) ([5299f37](https://github.com/dhis2/capture-app/commit/5299f37d33448616c0074ec6568a82c9c96f65cb))
64+
65+
## [101.11.2](https://github.com/dhis2/capture-app/compare/v101.11.1...v101.11.2) (2024-10-15)
66+
67+
68+
### Bug Fixes
69+
70+
* [DHIS2-18056] use linkedEntityFormFoundation instead of the searchFormFoundation ([#3835](https://github.com/dhis2/capture-app/issues/3835)) ([cbfe70b](https://github.com/dhis2/capture-app/commit/cbfe70b850554678c7a8bad40e0874ea227fe65c))
71+
72+
## [101.11.1](https://github.com/dhis2/capture-app/compare/v101.11.0...v101.11.1) (2024-10-15)
73+
74+
75+
### Bug Fixes
76+
77+
* [DHIS2-16993] Text and long text DEs are missing arrows in changelog when deleted ([#3827](https://github.com/dhis2/capture-app/issues/3827)) ([5e6dfa6](https://github.com/dhis2/capture-app/commit/5e6dfa6bb4b82a68305741bd4bb672a5a1af8f5f))
78+
79+
# [101.11.0](https://github.com/dhis2/capture-app/compare/v101.10.2...v101.11.0) (2024-10-14)
80+
81+
82+
### Features
83+
84+
* [DHIS2-17970] Auto-select orgUnit if there is only one available ([#3798](https://github.com/dhis2/capture-app/issues/3798)) ([de06f8b](https://github.com/dhis2/capture-app/commit/de06f8b1b5480ba7315ca648784ef414f8473e06))
85+
86+
## [101.10.2](https://github.com/dhis2/capture-app/compare/v101.10.1...v101.10.2) (2024-10-14)
87+
88+
89+
### Bug Fixes
90+
91+
* [DHIS2-18215] selected working list not persisted on navigate ([#3838](https://github.com/dhis2/capture-app/issues/3838)) ([599b2c1](https://github.com/dhis2/capture-app/commit/599b2c1e29c94fd0258844aadb7eef20e03024eb))
92+
93+
## [101.10.1](https://github.com/dhis2/capture-app/compare/v101.10.0...v101.10.1) (2024-10-14)
94+
95+
96+
### Bug Fixes
97+
98+
* [DHIS2-18028] User is able to add invalid related stages event ([#3795](https://github.com/dhis2/capture-app/issues/3795)) ([301585e](https://github.com/dhis2/capture-app/commit/301585ed17379900db642a05e0157d52107f96a2))
99+
100+
# [101.10.0](https://github.com/dhis2/capture-app/compare/v101.9.1...v101.10.0) (2024-10-14)
101+
102+
103+
### Features
104+
105+
* [DHIS2-17771] Org unit context in tables and lists ([#3813](https://github.com/dhis2/capture-app/issues/3813)) ([b1a720a](https://github.com/dhis2/capture-app/commit/b1a720afc58b281ec7fc50e5af39ac19f4ec0cf4))
106+
107+
## [101.9.1](https://github.com/dhis2/capture-app/compare/v101.9.0...v101.9.1) (2024-10-13)
108+
109+
110+
### Bug Fixes
111+
112+
* **translations:** sync translations from transifex (master) ([2603f34](https://github.com/dhis2/capture-app/commit/2603f342d3e34e1f4ac631797c60b93e2aa3606a))
113+
114+
# [101.9.0](https://github.com/dhis2/capture-app/compare/v101.8.0...v101.9.0) (2024-10-09)
115+
116+
117+
### Features
118+
119+
* [DHIS2-15238] show and filter on assigned user in program stage WL ([#3821](https://github.com/dhis2/capture-app/issues/3821)) ([e032d50](https://github.com/dhis2/capture-app/commit/e032d5004de91ee30fff89a53e273faf52bea234))
120+
1121
# [101.8.0](https://github.com/dhis2/capture-app/compare/v101.7.4...v101.8.0) (2024-10-08)
2122

3123

cypress/e2e/EnrollmentAddEventPage/EnrollmentAddEventPageForm/EnrollmentAddEventPageForm.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Feature: User interacts with the Enrollment New Event Workspace
5050

5151
Scenario: User should be asked to create new event after completing a stage and choose to cancel
5252
Given you land on the enrollment new event page by having typed #/enrollmentEventNew?enrollmentId=zRfAPUpjoG3&orgUnitId=DiszpKrYNg8&programId=M3xtLkYBlKI&stageId=CWaAcQYKVpq&teiId=S3JjTA4QMNe
53-
And the data store is clean
5453
Then you see the following Enrollment: New Event
5554
And you see the widget header Foci investigation & classification
5655
And you type 2022-01-01 in the input number 0

cypress/e2e/EnrollmentPage/BreakingTheGlass/BreakingTheGlass.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Feature: Breaking the glass page
44
@skip
55
Scenario: User with search scope access tries to access an enrollment in a protected program
66
Given the tei created by this test is cleared from the database
7-
And the data store is clean
87
And you create a new tei in Child programme from Ngelehun CHC
98
And you change program to WHO RMNCH Tracker
109
And you enroll the tei from Njandama MCHP

cypress/e2e/MainPage/MainPage.feature

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ Feature: User interacts with Main page
3535
Then the current url is /#/?orgUnitId=DiszpKrYNg8&programId=uy2gU8kT1jF&selectedTemplateId=uy2gU8kT1jF-default
3636
And the TEI working list is displayed
3737

38-
Scenario: The admin user can optout from using the new Enrollment Dashboard
39-
Given you open the main page with Ngelehun and child programme context
40-
And the data store is clean
41-
And you see the opt out component for Child Programme
42-
When you opt out to use the new enrollment Dashboard for Child Programme
43-
Then you see the opt in component for Child Programme
44-
When you opt in to use the new enrollment Dashboard for Child Programme
45-
Then you see the opt out component for Child Programme
46-
4738
@v<41
4839
Scenario: The icon is rendered as an svg
4940
Given you are in the main page with no selections made

cypress/e2e/MainPage/MainPage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Given, Then, defineStep as And } from '@badeball/cypress-cucumber-preprocessor';
1+
import { defineStep as And, Given, Then } from '@badeball/cypress-cucumber-preprocessor';
22

33
Given('you are in the search page with Ngelehun and MNCH PNC context', () => {
44
cy.visit('/#/search?orgUnitId=DiszpKrYNg8&programId=uy2gU8kT1jF');
@@ -20,13 +20,13 @@ And('you can load the view with the name Events assigned to me', () => {
2020
});
2121

2222
Then('the icon is rendered as a custom icon', () => {
23-
cy.get('[alt="child_program_positive"]')
23+
cy.get('[title="child_program_positive"]')
2424
.invoke('attr', 'src')
2525
.should('match', /\/icons\/child_program_positive\/icon$/);
2626
});
2727

2828
Then('the icon is rendered as an svg', () => {
29-
cy.get('[alt="child_program_positive"]')
29+
cy.get('[title="child_program_positive"]')
3030
.invoke('attr', 'src')
3131
.should('match', /\/icons\/child_program_positive\/icon.svg$/);
3232
});

cypress/e2e/NewPage/NewPage.feature

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Feature: User creates a new entries from the registration page
77
@v>=41
88
Scenario: New person in Tracker Program > Filling the Allergies with multiple options
99
Given you are in the WHO RMNCH program registration page
10-
And the data store is clean
1110
When you fill in multiple Allergies options
1211
Then you can see the multiple selections in the form
1312
And you fill the WHO RMNCH program registration form with its required unique values
@@ -103,14 +102,12 @@ Feature: User creates a new entries from the registration page
103102

104103
Scenario: New person > Submitting the form with unique name navigates you to the user dashboard
105104
Given you are in the Person registration page
106-
And the data store is clean
107105
When you fill in a unique first name
108106
And you click the save person submit button
109107
Then you are navigated to the enrollment dashboard page without enrollment
110108

111109
Scenario: New person > Submitting the form from the duplicates modal navigates you to the user dashboard
112110
Given you are in the Person registration page
113-
And the data store is clean
114111
When you fill in the first name with value that has duplicates
115112
And you click the save person submit button
116113
And you see the possible duplicates modal
@@ -152,7 +149,6 @@ Feature: User creates a new entries from the registration page
152149

153150
Scenario: New person in Tracker Program > Submitting the form with unique values navigates you to the user dashboard
154151
Given you are in the WHO RMNCH program registration page
155-
And the data store is clean
156152
When you fill the WHO RMNCH program registration form with its required unique values
157153
And you click the save person submit button
158154
Then you see the enrollment event Edit page
@@ -166,7 +162,6 @@ Feature: User creates a new entries from the registration page
166162

167163
Scenario: New person in Tracker Program > Submitting the form from the duplicates modal navigates you to the user dashboard
168164
Given you are in the WHO RMNCH program registration page
169-
And the data store is clean
170165
When you fill the WHO RMNCH program registration form with its required values
171166
And you click the save person submit button
172167
And you see the possible duplicates modal
@@ -192,10 +187,12 @@ Feature: User creates a new entries from the registration page
192187

193188
Scenario: Go to enrollment event when Open data entry form after enrollment is checked
194189
Given you are in the Malaria case diagnosis, treatment and investigation program registration page
195-
And the data store is clean
196190
And you fill the Malaria case diagnosis registration form with values
197191
And you click the save malaria entity submit button
198192
Then you see the enrollment event Edit page
193+
# Cleanup
194+
And you delete the recently added malaria entity
195+
199196

200197
## New enrollment of existing TEI
201198

cypress/e2e/NewPage/NewPage.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Given, When, Then, defineStep as And } from '@badeball/cypress-cucumber-preprocessor';
1+
import { defineStep as And, Given, Then, When } from '@badeball/cypress-cucumber-preprocessor';
22
import moment from 'moment';
33
import { getCurrentYear } from '../../support/date';
44

@@ -17,7 +17,7 @@ And('there should be informative message explaining you need to select an organi
1717
});
1818

1919
And('you select tracked entity type person', () => {
20-
cy.get('[data-test="dhis2-uicore-select"')
20+
cy.get('[data-test="dhis2-uicore-select"]')
2121
.click();
2222
cy.get('[data-test="dhis2-uicore-singleselectoption"]')
2323
.contains('Person')
@@ -645,6 +645,17 @@ And('you delete the recently added tracked entity', () => {
645645
cy.url().should('include', 'selectedTemplateId=IpHINAT79UW');
646646
});
647647

648+
And('you delete the recently added malaria entity', () => {
649+
cy.get('[data-test="widget-profile-overflow-menu"]')
650+
.click();
651+
cy.contains('Delete Malaria Entity')
652+
.click();
653+
cy.get('[data-test="widget-profile-delete-modal"]').within(() => {
654+
cy.contains('Yes, delete Malaria Entity')
655+
.click();
656+
});
657+
});
658+
648659
And(/^you select (.*) from the available tracked entity types/, (selection) => {
649660
cy.get('[data-test="dhis2-uicore-select-input"]')
650661
.click();

cypress/e2e/ScopeSelector/ScopeSelector.feature

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ Feature: User uses the ScopeSelector to navigate
2828
When you select both org unit and program Malaria case registration
2929
Then you should see the table
3030

31-
# DHIS2-16010 - App crashes on invalid program id
32-
@skip
3331
Scenario: Main page > Url with invalid program id
3432
Given you land on a main page with an invalid program id
3533
Then you should see error message

cypress/e2e/SearchPage/SearchPage.feature

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Feature: User interacts with Search page
2424

2525
Scenario: Searching using unique identifier returns results
2626
Given you are on the default search page
27-
And the data store is clean
2827
When you select the search domain WHO RMNCH Tracker
2928
And you fill in the unique identifier field with values that will return a tracked entity instance
3029
And you click find
@@ -97,7 +96,6 @@ Feature: User interacts with Search page
9796

9897
Scenario: Searching using attributes in Tracker Program navigates user to the dashboard view
9998
Given you are on the default search page
100-
And the data store is clean
10199
When you select the search domain WHO RMNCH Tracker
102100
And you expand the attributes search area
103101
And you fill in the last name with values that will return results
@@ -108,7 +106,6 @@ Feature: User interacts with Search page
108106

109107
Scenario: Searching using attributes in TEType navigates user to dashboard view
110108
Given you are on the default search page
111-
And the data store is clean
112109
When you select the search domain Person
113110
And you expand the attributes search area
114111
And you fill in the the form with first name value: Cla
@@ -165,7 +162,6 @@ Feature: User interacts with Search page
165162

166163
Scenario: Pressing enter should trigger search unique identifier returns results
167164
Given you are on the default search page
168-
And the data store is clean
169165
When you select the search domain WHO RMNCH Tracker
170166
And you press enter after filling in the unique identifier field with values that will return a tracked entity instance
171167
Then you are navigated to the enrollment dashboard page

cypress/e2e/WidgetsForEnrollmentPages/WidgetEnrollment/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Then('the user sees the enrollment organisation unit', () => {
6666
cy.get('[data-test="widget-enrollment"]').within(() => {
6767
cy.get('[data-test="widget-enrollment-icon-orgunit"]').should('exist');
6868
cy.get('[data-test="widget-enrollment-orgunit"]')
69-
.contains('Started at: Ngelehun CHC')
69+
.contains('Started at:Ngelehun CHC')
7070
.should('exist');
7171
});
7272
});
@@ -77,7 +77,7 @@ Then('the user sees the owner organisation unit', () => {
7777
'exist',
7878
);
7979
cy.get('[data-test="widget-enrollment-owner-orgunit"]')
80-
.contains('Owned by: Ngelehun CHC')
80+
.contains('Owned by:Ngelehun CHC')
8181
.should('exist');
8282
});
8383
});
@@ -232,7 +232,7 @@ Then(/^the user successfully transfers the enrollment/, () => {
232232

233233
cy.get('[data-test="widget-enrollment"]').within(() => {
234234
cy.get('[data-test="widget-enrollment-owner-orgunit"]')
235-
.contains('Owned by: Njandama MCHP')
235+
.contains('Owned by:Njandama MCHP')
236236
.should('exist');
237237
});
238238
});
@@ -246,7 +246,7 @@ Then(/^the user types in (.*)/, (orgunit) => {
246246
Given(/^the enrollment owner organisation unit is (.*)/, (orgunit) => {
247247
cy.get('[data-test="widget-enrollment"]').within(() => {
248248
cy.get('[data-test="widget-enrollment-owner-orgunit"]')
249-
.contains(`Owned by: ${orgunit}`)
249+
.contains(`Owned by:${orgunit}`)
250250
.should('exist');
251251
});
252252
});

0 commit comments

Comments
 (0)