This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/fineract-backoffice-ui.git
from 9f77e1d Merge pull request #168 from
apache/dependabot/npm_and_yarn/multi-1133c64998
add 14cb978 build(e2e): make db init repeatable and cover e2e in the
license check
add a4f8836 fix(a11y): give every form control an accessible name
add 4d70880 test(e2e): seed the backend instead of gating the specs on it
add 192d161 fix(cd): render async-loaded state via signals, and audit the
rest
add 8931dcf fix(cd): convert the loan lifecycle screens to signals
add 7cc3323 fix(loans): stop prefilling a transaction date the backend
always rejects
add 9fa1767 fix(ui): give modal dialogs a scroll container
add d8dfe6e test(e2e): make the full demo a real test
add 30f91dd fix(lint): extract the nested ternary in DialogService
add 08bc174 fix(lint): name the css class literals in the DialogService
spec
add e6866da fix(cd): render the loan form's selected-product details
add 9284188 test(e2e): keep Playwright's artifacts out of the watched tree
new b3e847e Merge pull request #169 from
Aman-Mittal/feature/e2e-hardening-and-spec-sync
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/e2e.yml | 8 +-
deploy/init-db.sql | 16 +-
e2e/backend.setup.ts | 55 ++++
e2e/full-demo.spec.ts | 289 +++++++++++++--------
e2e/loan-lifecycle.spec.ts | 59 +++--
e2e/loan-schedule-type.spec.ts | 112 ++++----
e2e/loan-servicing.spec.ts | 15 +-
e2e/utils/backend-env.ts | 88 +++++++
e2e/utils/fineract-login.ts | 11 +-
e2e/utils/ionic-locators.ts | 18 ++
e2e/utils/seed-api.ts | 201 +++++++++++++-
e2e/utils/seeded-backend.ts | 44 ----
e2e/utils/select-option.ts | 11 +-
package.json | 1 +
playwright.config.ts | 21 +-
scripts/audit-async-state.mjs | 123 +++++++++
scripts/check-license.sh | 4 +-
scripts/codemod-aria-labels.mjs | 132 ++++++++++
scripts/codemod-signals.mjs | Bin 0 -> 6466 bytes
scripts/e2e-summary.mjs | 3 +-
src/app/core/services/dialog.service.spec.ts | 28 ++
src/app/core/services/dialog.service.ts | 8 +-
.../accounting-closure-form.component.ts | 2 +
.../accounting/accounting-rule-form.component.ts | 36 ++-
.../accounting/charges/charge-form.component.ts | 12 +-
.../financial-activity-mapping-form.component.ts | 14 +-
.../accounting/gl-account-form.component.ts | 31 ++-
.../accounting/journal-entry-form.component.ts | 19 +-
.../provisioning-categories-form.component.ts | 2 +
.../provisioning-criteria-form.component.ts | 1 +
.../batch-operations/batch-operations.component.ts | 7 +-
.../admin/cob-tools/cob-tools.component.ts | 18 +-
.../external-events/external-events.component.ts | 20 +-
.../admin/inline-job/inline-job.component.ts | 13 +-
.../progressive-loan-model.component.ts | 6 +-
.../forgot-password/forgot-password.component.ts | 1 +
.../features/calendars/calendar-form.component.ts | 15 +-
.../email-campaign-form.component.ts | 27 +-
.../email-messages/email-messages.component.ts | 23 +-
.../sms-campaigns/sms-campaign-form.component.ts | 24 +-
src/app/features/centers/center-form.component.ts | 8 +-
.../charges/client-charge-form.component.ts | 10 +-
.../clients/client-action-dialog.component.ts | 13 +-
src/app/features/clients/client-form.component.ts | 47 +++-
.../features/clients/client-search-v2.component.ts | 1 +
src/app/features/clients/clients-list.component.ts | 1 +
.../collateral/client-collateral-form.component.ts | 2 +
.../clients/kyc/client-address-form.component.ts | 12 +
.../clients/kyc/client-document-form.component.ts | 8 +-
.../kyc/client-family-member-form.component.ts | 10 +
.../kyc/client-identifier-form.component.ts | 4 +
.../clients/kyc/client-note-form.component.ts | 1 +
.../collection-sheet/collection-sheet.component.ts | 8 +-
src/app/features/groups/group-form.component.ts | 8 +-
.../interop/interop-account-view.component.ts | 5 +-
.../interop/interop-party-lookup.component.ts | 16 +-
.../features/interop/interop-quotes.component.ts | 16 +-
.../interop/interop-transfers.component.ts | 27 +-
.../bulk-loan-reassignment.component.ts | 3 +
.../bulk-reassignment.component.ts | 3 +
.../loans/charges/loan-charge-form.component.ts | 2 +
.../cob-catchup/loan-cob-catchup.component.ts | 12 +-
.../loans/collateral/collateral-form.component.ts | 25 +-
.../loans/guarantors/guarantor-form.component.ts | 41 ++-
.../loan-account-lock.component.ts | 13 +-
.../features/loans/loan-documents-tab.component.ts | 12 +-
src/app/features/loans/loan-form.component.ts | 67 +++--
src/app/features/loans/loan-notes-tab.component.ts | 7 +-
.../loan-schedule-modify.component.ts | 15 +-
.../loans/loan-transaction-form.component.ts | 65 +++--
src/app/features/loans/loan-view.component.ts | 25 +-
src/app/features/loans/loans-list.component.ts | 1 +
.../point-in-time/loans-point-in-time.component.ts | 6 +-
.../post-dated-check-form.component.ts | 16 +-
.../rescheduling/reschedule-form.component.ts | 8 +
.../loans/transaction-detail-dialog.component.ts | 14 +-
.../features/meetings/meeting-form.component.ts | 1 +
.../features/mix/mapping/mix-mapping.component.ts | 19 +-
.../features/mix/report/mix-report.component.ts | 14 +-
.../account-number-format-form.component.ts | 2 +
.../organization/funds/fund-form.component.ts | 13 +-
.../office-transaction-form.component.ts | 16 +-
.../organization/offices/office-form.component.ts | 14 +-
.../payment-types/payment-type-form.component.ts | 14 +-
.../organization/staff/staff-form.component.ts | 11 +-
.../products/account-action-form.component.spec.ts | 4 +-
.../products/account-action-form.component.ts | 118 +++++----
.../collateral-management-form.component.ts | 24 +-
.../fixed-deposits/fixed-deposit-form.component.ts | 5 +
.../fixed-deposit-product-form.component.ts | 14 +-
.../floating-rates/floating-rate-form.component.ts | 8 +-
.../interest-rate-chart-form.component.ts | 13 +-
.../interest-rate-chart-slabs.component.ts | 18 +-
.../loan-originator-form.component.ts | 22 +-
.../products/loan-product-form.component.ts | 142 +++++-----
.../products/loan-product-view.component.ts | 42 +--
.../payment-credit-allocation-editor.component.ts | 3 +
.../products/product-mix/product-mix.component.ts | 1 +
.../features/products/rates/rate-form.component.ts | 15 +-
...recurring-deposit-transaction-form.component.ts | 8 +-
.../recurring-deposit-form.component.ts | 6 +
.../recurring-deposit-product-form.component.ts | 13 +-
.../products/savings-account-form.component.ts | 2 +
.../savings-account-transaction-form.component.ts | 9 +-
.../savings-charge-form.component.ts | 2 +
.../products/savings-product-form.component.ts | 6 +
.../share-dividend-form.component.ts | 1 +
.../shares/share-account-form.component.ts | 4 +
.../shares/share-product-form.component.ts | 7 +
.../tax-components/tax-component-form.component.ts | 2 +
.../tax-groups/tax-group-form.component.ts | 2 +
src/app/features/reporting/run-report.component.ts | 6 +-
src/app/features/search/global-search.component.ts | 14 +-
.../audit-logs/audit-logs-list.component.ts | 10 +-
.../features/security/roles/role-form.component.ts | 2 +
.../features/security/users/user-form.component.ts | 27 +-
.../edit-configuration-dialog.component.ts | 8 +-
.../features/settings/holiday-form.component.ts | 10 +-
.../features/settings/holidays-list.component.ts | 1 +
.../settings/two-factor-config.component.ts | 1 +
.../features/settings/working-days.component.ts | 1 +
.../spm/likelihood/likelihood.component.ts | 7 +-
.../spm/poverty-line/poverty-line.component.ts | 7 +-
.../survey-responses/survey-responses.component.ts | 18 +-
.../spm/surveys/spm-surveys-form.component.ts | 26 +-
.../adhoc-query/adhoc-query-form.component.ts | 22 +-
.../system/bulk-import/bulk-import.component.ts | 1 +
.../business-steps/business-steps.component.ts | 7 +-
.../features/system/codes/code-form.component.ts | 7 +-
.../system/codes/code-value-form.component.ts | 20 +-
.../credit-bureau-config.component.ts | 6 +-
.../data-tables/datatables-form.component.ts | 6 +
.../entity-data-table-checks-form.component.ts | 17 +-
.../entity-mapping-form.component.ts | 10 +-
.../external-services.component.ts | 13 +-
.../field-configuration.component.ts | 7 +-
.../features/system/hooks/hooks-form.component.ts | 8 +-
.../system/oidc-config/oidc-config.component.ts | 42 ++-
.../report-mailing-jobs-form.component.ts | 22 +-
src/app/features/system/sms/sms-form.component.ts | 15 +-
.../system/templates/template-form.component.ts | 23 +-
.../cashier-journals-list.component.ts | 14 +-
.../tellers/cashiers/cashier-form.component.ts | 2 +
src/app/features/tellers/teller-form.component.ts | 5 +
.../transfers/account-transfer-form.component.ts | 10 +
.../standing-instruction-form.component.ts | 22 +-
.../breach/wc-breach-form.component.ts | 11 +-
.../wc-loan-product-form.component.ts | 22 ++
.../wc-loan-account-lock.component.ts | 13 +-
.../wc-loan-cob-catchup.component.ts | 12 +-
.../loans/wc-loan-action-form.component.ts | 16 +-
.../loans/wc-loan-form.component.ts | 36 ++-
.../near-breach/wc-near-breach-form.component.ts | 10 +-
.../client-search/client-search.component.spec.ts | 4 +-
.../client-search/client-search.component.ts | 28 +-
.../create-office-dialog.component.ts | 2 +
.../datatable-entry-dialog.component.ts | 2 +
.../entity-datatables.component.spec.ts | 4 +-
.../entity-datatables.component.ts | 10 +-
src/styles.scss | 1 +
src/styles/_dialogs.scss | 62 +++++
161 files changed, 2619 insertions(+), 676 deletions(-)
create mode 100644 e2e/backend.setup.ts
create mode 100644 e2e/utils/backend-env.ts
delete mode 100644 e2e/utils/seeded-backend.ts
create mode 100644 scripts/audit-async-state.mjs
create mode 100644 scripts/codemod-aria-labels.mjs
create mode 100644 scripts/codemod-signals.mjs
create mode 100644 src/styles/_dialogs.scss