diff --git a/.env.e2e b/.env.e2e index d0d39919..ba2a38d6 100644 --- a/.env.e2e +++ b/.env.e2e @@ -1,15 +1,13 @@ DHIS2_IMAGE="dhis2/core:2.41" -DHIS2_DB_DUMP_URL=https://github.com/dhis2/push-analytics/releases/download/1.0.0/dump.sql.gz - +DHIS2_DB_DUMP_URL="https://github.com/dhis2/push-analytics/releases/download/1.0.1/PUSH_ANALYTICS_41_2025_DUMP_MEASLES_TWEAK.sql.gz" FAKESMTP_AUTHENTICATION_USERNAME=myuser FAKESMTP_AUTHENTICATION_PASSWORD=mysecretpassword FAKESMTP_PORT=8030 FAKESMTP_SERVER_PORT=8031 FAKESMTP_MANAGEMENT_SERVER_PORT=8032 - -HOST=http://push-analytics +HOST="http://push-analytics" PORT=1337 -DHIS2_CORE_URL=http://web:8080 +DHIS2_CORE_URL="http://web:8080" DHIS2_CORE_MAJOR_VERSION=41 DHIS2_CORE_ADMIN_USERNAME=push_analytics_admin DHIS2_CORE_ADMIN_PASSWORD=Test123! diff --git a/e2e/__fixtures__/KQVXh5tlzW2_test_user_bo.txt b/e2e/__fixtures__/KQVXh5tlzW2_test_user_bo.txt index ade8524d..2049664f 100644 --- a/e2e/__fixtures__/KQVXh5tlzW2_test_user_bo.txt +++ b/e2e/__fixtures__/KQVXh5tlzW2_test_user_bo.txt @@ -1,1471 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

Measles (user org unit)

Measles: Coverage and drop-out (user org unit children)

Measles: Follow-up, new, referrals by facility type (user org unit)

\ No newline at end of file diff --git a/e2e/__fixtures__/KQVXh5tlzW2_test_user_bonthe.txt b/e2e/__fixtures__/KQVXh5tlzW2_test_user_bonthe.txt index 742eba6e..f9a2c363 100644 --- a/e2e/__fixtures__/KQVXh5tlzW2_test_user_bonthe.txt +++ b/e2e/__fixtures__/KQVXh5tlzW2_test_user_bonthe.txt @@ -1,967 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

Measles (user org unit)

Measles: Coverage and drop-out (user org unit children)

Measles: Follow-up, new, referrals by facility type (user org unit)

\ No newline at end of file diff --git a/e2e/__fixtures__/KQVXh5tlzW2_test_user_national.txt b/e2e/__fixtures__/KQVXh5tlzW2_test_user_national.txt index 9a388816..74097537 100644 --- a/e2e/__fixtures__/KQVXh5tlzW2_test_user_national.txt +++ b/e2e/__fixtures__/KQVXh5tlzW2_test_user_national.txt @@ -1,1577 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

Measles (user org unit)

Measles: Coverage and drop-out (user org unit children)

Measles: Follow-up, new, referrals by facility type (user org unit)

\ No newline at end of file diff --git a/e2e/__fixtures__/KQVXh5tlzW2_test_user_national_nb.txt b/e2e/__fixtures__/KQVXh5tlzW2_test_user_national_nb.txt index fe33843c..0a2cb234 100644 --- a/e2e/__fixtures__/KQVXh5tlzW2_test_user_national_nb.txt +++ b/e2e/__fixtures__/KQVXh5tlzW2_test_user_national_nb.txt @@ -1,1577 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

Norwegian dashboard name

Norwegian viz name

Measles: Follow-up, new, referrals by facility type (user org unit)

\ No newline at end of file diff --git a/e2e/__fixtures__/YN2Dju6t32Z_admin.txt b/e2e/__fixtures__/YN2Dju6t32Z_admin.txt deleted file mode 100644 index 61d55bfb..00000000 --- a/e2e/__fixtures__/YN2Dju6t32Z_admin.txt +++ /dev/null @@ -1,1144 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/e2e/__fixtures__/ceneQPMhemM_test_user_national.txt b/e2e/__fixtures__/ceneQPMhemM_test_user_national.txt new file mode 100644 index 00000000..42d25101 --- /dev/null +++ b/e2e/__fixtures__/ceneQPMhemM_test_user_national.txt @@ -0,0 +1,4 @@ +

One of everything

ANC: 1-3 dropout rate Yearly

ANC: 1st visit coverage (%) by district last year

Inpatient: Cases last quarter (case)

Report dateOrganisation unit nameAdmission DateAge in yearsDiagnosis (ICD-10)Discharge DateGenderMode of Discharge
2024-10-15 00:00:00.0Ngelehun CHC2019-10-15 00:00:00.0B54 Unspecified malaria2019-11-02 00:00:00.0Transferred
2024-11-01 00:00:00.0Ngelehun CHC2019-11-05 00:00:00.0A009 Cholera, unspecified2019-11-13 00:00:00.0MaleDied
2024-11-23 00:00:00.0Kamagbewu MCHP2019-11-17 00:00:00.056B54 Unspecified malaria2019-11-23 00:00:00.0FemaleAbsconded
2024-11-11 00:00:00.0Ngelehun CHC2019-11-11 00:00:00.0A009 Cholera, unspecified2019-11-17 00:00:00.0MaleTransferred
2024-11-04 00:00:00.0Ngelehun CHC2018-11-04 00:00:00.018B16 Acute hepatitis B2018-11-05 00:00:00.0MaleDischarged
2024-12-10 00:00:00.0Sienga CHP2019-12-04 00:00:00.06N390 Urinary tract infection, site not specified2019-12-10 00:00:00.0MaleDischarged
2024-11-05 00:00:00.0Ngelehun CHC2018-11-04 00:00:00.023C108 Overlapping lesion of oropharynx2018-11-05 00:00:00.0MaleDischarged
2024-11-04 00:00:00.0Ngelehun CHC2018-11-04 00:00:00.023A001 Cholera due to Vibrio cholerae 01, biovar eltor2018-11-05 00:00:00.0FemaleDischarged
2024-11-03 00:00:00.0Ngelehun CHC2018-11-04 00:00:00.019D100 Lip2018-11-04 00:00:00.0FemaleDischarged
2024-10-17 00:00:00.0Gandorhun (Gbane) CHC2019-10-11 00:00:00.057B54 Unspecified malaria2019-10-17 00:00:00.0FemaleAbsconded
2024-11-04 00:00:00.0Ngelehun CHC2019-11-04 00:00:00.025B54 Unspecified malaria2019-11-05 00:00:00.0MaleDischarged
2024-11-29 00:00:00.0Helegombu MCHP2019-11-23 00:00:00.022P374 Other congenital malaria2019-11-29 00:00:00.0MaleDied
2024-11-22 00:00:00.0Giema (Luawa) MCHP2019-11-16 00:00:00.015D649 Anaemia, unspecified2019-11-22 00:00:00.0MaleDischarged
2024-12-03 00:00:00.0Menika MCHP2019-11-27 00:00:00.050B54 Unspecified malaria2019-12-03 00:00:00.0MaleDied
2024-11-12 00:00:00.0EPI Headquarter2019-11-06 00:00:00.077P374 Other congenital malaria2019-11-12 00:00:00.0FemaleTransferred
2024-11-15 00:00:00.0Govt. Hosp. Makeni2019-11-09 00:00:00.049N390 Urinary tract infection, site not specified2019-11-15 00:00:00.0FemaleDischarged
2024-12-18 00:00:00.0Nyandehun (Mano Sakrim) MCHP2019-12-12 00:00:00.068N390 Urinary tract infection, site not specified2019-12-18 00:00:00.0MaleTransferred
2024-11-09 00:00:00.0Menika MCHP2019-11-03 00:00:00.059D649 Anaemia, unspecified2019-11-09 00:00:00.0MaleTransferred
2024-11-15 00:00:00.0Kumala CHP2019-11-09 00:00:00.07N390 Urinary tract infection, site not specified2019-11-15 00:00:00.0MaleDied
2024-10-22 00:00:00.0Komneh CHP2019-10-16 00:00:00.012J988 Other specified respiratory disorders2019-10-22 00:00:00.0MaleDischarged
2024-11-27 00:00:00.0Griema MCHP2019-11-21 00:00:00.014D649 Anaemia, unspecified2019-11-27 00:00:00.0FemaleTransferred
2024-10-23 00:00:00.0Gbahama (P. Bongre) CHP2019-10-17 00:00:00.019J180 Bronchopneumonia, unspecified2019-10-23 00:00:00.0MaleDischarged
2024-12-22 00:00:00.0Dulukoro MCHP2019-12-16 00:00:00.053J988 Other specified respiratory disorders2019-12-22 00:00:00.0MaleDied
2024-10-03 00:00:00.0Calaba town CHC2019-09-27 00:00:00.035N390 Urinary tract infection, site not specified2019-10-03 00:00:00.0MaleTransferred
2024-10-09 00:00:00.0Yataya CHP2019-10-03 00:00:00.076J988 Other specified respiratory disorders2019-10-09 00:00:00.0MaleTransferred
2024-12-02 00:00:00.0Agape CHP2019-11-26 00:00:00.069D649 Anaemia, unspecified2019-12-02 00:00:00.0FemaleDischarged
2024-11-08 00:00:00.0Morfindor CHP2019-11-02 00:00:00.038B54 Unspecified malaria2019-11-08 00:00:00.0FemaleAbsconded
2024-12-17 00:00:00.0Banka Makuloh MCHP2019-12-11 00:00:00.075J988 Other specified respiratory disorders2019-12-17 00:00:00.0MaleTransferred
2024-11-11 00:00:00.0Bongor MCHP2019-11-05 00:00:00.061D649 Anaemia, unspecified2019-11-11 00:00:00.0MaleDied
2024-10-10 00:00:00.0Madina (Malema) MCHP2019-10-04 00:00:00.013D649 Anaemia, unspecified2019-10-10 00:00:00.0MaleDischarged
2024-12-19 00:00:00.0Menika MCHP2019-12-13 00:00:00.048B54 Unspecified malaria2019-12-19 00:00:00.0MaleTransferred
2024-10-11 00:00:00.0Menika MCHP2019-10-05 00:00:00.036N390 Urinary tract infection, site not specified2019-10-11 00:00:00.0FemaleTransferred
2024-11-30 00:00:00.0Hill Station MCHP2019-11-24 00:00:00.046D649 Anaemia, unspecified2019-11-30 00:00:00.0FemaleAbsconded
2024-10-22 00:00:00.0Ngo Town CHP2019-10-16 00:00:00.026P374 Other congenital malaria2019-10-22 00:00:00.0FemaleAbsconded
2024-11-15 00:00:00.0SLRCS (Nongowa) clinic2019-11-09 00:00:00.077N390 Urinary tract infection, site not specified2019-11-15 00:00:00.0FemaleDied
2024-12-04 00:00:00.0Matoto MCHP2019-11-28 00:00:00.021J988 Other specified respiratory disorders2019-12-04 00:00:00.0MaleDied
2024-10-28 00:00:00.0Menika MCHP2019-10-22 00:00:00.073N390 Urinary tract infection, site not specified2019-10-28 00:00:00.0MaleDied
2024-11-10 00:00:00.0Charlotte CHP2019-11-04 00:00:00.024D649 Anaemia, unspecified2019-11-10 00:00:00.0FemaleDied
2024-12-25 00:00:00.0Kambawama MCHP2019-12-19 00:00:00.029J988 Other specified respiratory disorders2019-12-25 00:00:00.0FemaleDied
2024-11-26 00:00:00.0Buedu CHC2019-11-20 00:00:00.026J988 Other specified respiratory disorders2019-11-26 00:00:00.0FemaleTransferred
2024-10-26 00:00:00.0Kangama CHP2019-10-20 00:00:00.012N390 Urinary tract infection, site not specified2019-10-26 00:00:00.0FemaleDischarged
2024-12-21 00:00:00.0Gbangba MCHP2019-12-15 00:00:00.058J180 Bronchopneumonia, unspecified2019-12-21 00:00:00.0MaleDischarged
2024-11-22 00:00:00.0Bradford CHC2019-11-16 00:00:00.050J180 Bronchopneumonia, unspecified2019-11-22 00:00:00.0MaleDischarged
2024-10-24 00:00:00.0Serabu (Bumpe Ngao) UFC2019-10-18 00:00:00.062N390 Urinary tract infection, site not specified2019-10-24 00:00:00.0MaleTransferred
2024-12-25 00:00:00.0Adonkia CHP2019-12-19 00:00:00.022N390 Urinary tract infection, site not specified2019-12-25 00:00:00.0MaleAbsconded
2024-10-06 00:00:00.0SLC. RHC Port Loko2019-09-30 00:00:00.069P374 Other congenital malaria2019-10-06 00:00:00.0FemaleDied
2024-11-20 00:00:00.0Thellia CHP2019-11-14 00:00:00.056J180 Bronchopneumonia, unspecified2019-11-20 00:00:00.0FemaleDischarged
2024-12-18 00:00:00.0Panderu MCHP2019-12-12 00:00:00.028N390 Urinary tract infection, site not specified2019-12-18 00:00:00.0FemaleDischarged
2024-11-26 00:00:00.0Panderu MCHP2019-11-20 00:00:00.08J988 Other specified respiratory disorders2019-11-26 00:00:00.0MaleDischarged
2024-12-03 00:00:00.0Kaimunday CHP2019-11-27 00:00:00.011N390 Urinary tract infection, site not specified2019-12-03 00:00:00.0FemaleDischarged

Child health: Active status cases by gender last 12 months

cejWyOfXge6organisationunitJanuary 2024February 2024March 2024April 2024May 2024June 2024July 2024August 2024September 2024October 2024November 2024December 2024
MaleBo484355495847615154576241
MaleBombali543555443538432634423332
MaleBonthe262329232122181618302525
MaleKailahun232939353136412724362825
MaleKambia282428331716272913352519
MaleKenema594850545553465931344246
MaleKoinadugu212137291827253423312421
MaleKono332327322828403033322835
MaleMoyamba434943403427433641383941
MalePort Loko453639534941385147424539
MalePujehun262030261927192518292424
MaleTonkolili353637412736393348442839
MaleWestern Area363940462740465035445336
FemaleBo395353435448555347556443
FemaleBombali443242353838434534483831
FemaleBonthe181827232323172921312018
FemaleKailahun412634282325193230233433
FemaleKambia202326222521302921182633
FemaleKenema524049514544576045574046
FemaleKoinadugu252629222931223223262924
FemaleKono352734313043363535303121
FemaleMoyamba413148304647383944273938
FemalePort Loko464252374139454841565246
FemalePujehun422426312331301717242630
FemaleTonkolili273431413635313334414236
FemaleWestern Area423947343634425027433636

Inpatient: Age under 5 last 12 months (stacked)

Reports

Resources

Header + Italic + link + 🙂
\ No newline at end of file diff --git a/e2e/dashboardItemTypes.e2e.ts b/e2e/dashboardItemTypes.e2e.ts index f9ed013e..0e7ddc4f 100644 --- a/e2e/dashboardItemTypes.e2e.ts +++ b/e2e/dashboardItemTypes.e2e.ts @@ -17,8 +17,8 @@ describe('converting all types of dashboard items', () => { test(`produces the expected HTML for a dashboard with all dashboard item types`, async () => { const req = request(url) - const dashboardId = 'YN2Dju6t32Z' - const username = 'admin' + const dashboardId = 'ceneQPMhemM' + const username = 'test_user_national' const locale = 'en' const filePath = path.resolve(fixturesPath, `${dashboardId}_${username}.txt`) const expectedHtml = fs.readFileSync(filePath).toString()