github-actions[bot] commented on PR #596:
URL:
https://github.com/apache/fineract-backoffice-ui/pull/596#issuecomment-5788984719
<!-- e2e-report-backend -->
### E2E โ real Fineract
## ๐ญ E2E Tests
**โ 1 failing** โ 77 passed ยท 1 failed ยท 0 skipped ยท 2 flaky, across 24 spec
files in 7m 12s.
### โ Failures
- **Screens added for platform parity โบ a report definition can be created,
edited and deleted; a core one cannot** โ `parity-screens.spec.ts`
- Error: expect(locator).toHaveAttribute(expected) failed
### โ ๏ธ Passed on retry
Green overall, but these needed more than one attempt โ the shape a flake
takes.
- **Batch API enclosingTransaction semantics against Fineract โบ does not
roll back the earlier steps when enclosingTransaction is false and a later step
fails** โ `batch-api-operations.spec.ts` (1 retry/retries)
- **Loan product accounting โบ a cash-accounting product is configured,
round-trips on edit, and posts to the ledger** โ
`loan-product-accounting.spec.ts` (1 retry/retries)
### By spec file
| Spec | โ
| โ | โญ๏ธ | ๐ | Time |
| --- | ---: | ---: | ---: | ---: | ---: |
| backend.setup.ts | 3 | 0 | 0 | 0 | 6.1s |
| batch-api-operations.spec.ts | 5 | 0 | 0 | 0 | 30.8s |
| center-servicing.spec.ts | 2 | 0 | 0 | 0 | 17.1s |
| client-legal-form-search.spec.ts | 1 | 0 | 0 | 0 | 4.9s |
| client-transfer.spec.ts | 4 | 0 | 0 | 0 | 43.0s |
| deposit-account-servicing.spec.ts | 3 | 0 | 0 | 0 | 24.7s |
| deposit-product-configuration.spec.ts | 3 | 0 | 0 | 0 | 14.9s |
| group-membership.spec.ts | 3 | 0 | 0 | 0 | 44.8s |
| loan-account-actions.spec.ts | 3 | 0 | 0 | 0 | 22.1s |
| loan-charge-off.spec.ts | 2 | 0 | 0 | 0 | 22.1s |
| loan-product-accounting.spec.ts | 1 | 0 | 0 | 0 | 48.1s |
| loan-servicing.spec.ts | 2 | 0 | 0 | 0 | 19.6s |
| login.spec.ts | 4 | 0 | 0 | 0 | 6.5s |
| **parity-screens.spec.ts** | 7 | 1 | 0 | 0 | 59.0s |
| rbac-backend-restricted-user.spec.ts | 7 | 0 | 0 | 0 | 34.7s |
| rbac-multi-permission.spec.ts | 9 | 0 | 0 | 0 | 58.4s |
| full-demo.spec.ts | 1 | 0 | 0 | 0 | 1m 6s |
| loan-lifecycle.spec.ts | 4 | 0 | 0 | 0 | 2m 7s |
| loan-schedule-type.spec.ts | 3 | 0 | 0 | 0 | 36.6s |
| report-parameter-backend.spec.ts | 4 | 0 | 0 | 0 | 23.4s |
| savings-transaction-correction.spec.ts | 1 | 0 | 0 | 0 | 6.9s |
| share-account-servicing.spec.ts | 2 | 0 | 0 | 0 | 18.5s |
| share-product-accounting.spec.ts | 1 | 0 | 0 | 0 | 24.1s |
| teller-cash-management.spec.ts | 2 | 0 | 0 | 0 | 37.0s |
<details>
<summary><b>All 78 tests</b> โ click to expand</summary>
**`backend.setup.ts`**
- โ
seed backend reference data โ `1.8s`
- โ
seed backend reference data โ `2.1s`
- โ
seed backend reference data โ `2.3s`
**`batch-api-operations.spec.ts`**
- โ
Batch API Operations against Fineract โบ runs the sample batch scenario โ
create client, create loan, add and read back a charge โ `5.9s`
- โ
Batch API Operations against Fineract โบ shows a parse error instead of
submitting when the batch input is not valid JSON โ `6.1s`
- โ
Batch API enclosingTransaction semantics against Fineract โบ rolls back
the earlier steps when enclosingTransaction is true and a later step fails โ
`5.7s`
- โ
Batch API enclosingTransaction semantics against Fineract โบ does not
roll back the earlier steps when enclosingTransaction is false and a later step
fails โ `9.0s` _(retried 1ร)_
- โ
Batch API Operations on a mobile viewport against Fineract โบ the sample
batch scenario is reachable and works by touch at mobile width โ `4.1s`
**`center-servicing.spec.ts`**
- โ
Center servicing โบ a center is activated, staffed and given a group โ
`12.3s`
- โ
Center servicing โบ notes are recorded against the center โ `4.8s`
**`client-legal-form-search.spec.ts`**
- โ
Client list: legal form filtering โบ an entity client appears in the main
client list โ `4.9s`
**`client-transfer.spec.ts`**
- โ
Client transfer between offices โบ a proposed transfer is held until the
destination accepts, and then the client moves โ `10.5s`
- โ
Client transfer between offices โบ a rejected transfer leaves the client
on hold, and withdrawing is the way back โ `11.8s`
- โ
Client transfer between offices โบ a client can be transferred in one
step when the user may act for both offices โ `9.6s`
- โ
Client staff assignment โบ an officer can be assigned and then removed โ
`11.1s`
**`deposit-account-servicing.spec.ts`**
- โ
Term deposit account servicing โบ an account is approved, activated and
closed before maturity โ `10.2s`
- โ
Term deposit account servicing โบ a deposit is recorded, listed, and
reversed without leaving the list โ `9.1s`
- โ
Term deposit account servicing โบ an application can be rejected instead
of approved โ `5.5s`
**`deposit-product-configuration.spec.ts`**
- โ
Deposit product configuration โบ a fixed deposit product survives being
edited โ `5.3s`
- โ
Deposit product configuration โบ a recurring deposit product can be
created at all โ `4.1s`
- โ
Deposit product configuration โบ a savings product carries its accounting
configuration โ `5.6s`
**`group-membership.spec.ts`**
- โ
Group membership and lifecycle โบ a group is activated, staffed, given
members and a committee, then emptied โ `19.0s`
- โ
Group membership and lifecycle โบ notes are recorded against the group
and can be removed again โ `7.6s`
- โ
Group membership and lifecycle โบ an empty group is closed with a reason,
and a group with members is refused โ `18.2s`
**`loan-account-actions.spec.ts`**
- โ
Loan account lifecycle actions โบ new action menu items appear only for
active loans โ `6.8s`
- โ
Loan account lifecycle actions โบ undo disbursal shows a confirm dialog
and reverts the loan to Approved โ `7.8s`
- โ
Loan account lifecycle actions โบ write off requires confirmation and
moves the loan out of Active status โ `7.6s`
**`loan-charge-off.spec.ts`**
- โ
Loan servicing commands โบ charges a loan off through the UI and reverses
it โ `9.4s`
- โ
Loan servicing commands โบ records a goodwill credit through the shared
transaction form โ `12.7s`
**`loan-product-accounting.spec.ts`**
- โ
Loan product accounting โบ a cash-accounting product is configured,
round-trips on edit, and posts to the ledger โ `48.1s` _(retried 1ร)_
**`loan-servicing.spec.ts`**
- โ
Loan servicing: notes and transaction adjustment โบ notes can be added
and removed, with a confirm dialog on delete โ `8.6s`
- โ
Loan servicing: notes and transaction adjustment โบ a repayment
transaction can be viewed and adjusted with a corrected amount โ `11.0s`
**`login.spec.ts`**
- โ
Login โบ login page displays correctly โ `1.5s`
- โ
Login โบ login form has required fields โ `1.4s`
- โ
Login โบ submit button is disabled when form is empty โ `2.2s`
- โ
Login โบ submit button is enabled when form is filled โ `1.3s`
**`parity-screens.spec.ts`**
- โ
Screens added for platform parity โบ a manual journal entry can be read
whole and reversed โ `5.3s`
- โ
Screens added for platform parity โบ an entry that is already reversed is
not offered again โ `5.3s`
- โ Screens added for platform parity โบ a report definition can be created,
edited and deleted; a core one cannot โ `19.4s` _(retried 2ร)_
- โ
Screens added for platform parity โบ a core report opens read-only with
only its in-use setting โ `5.4s`
- โ
Screens added for platform parity โบ a pending loan is approved from the
queue, in a batch โ `6.0s`
- โ
Screens added for platform parity โบ a fixed deposit is listed as a
deposit, not as a savings account โ `5.9s`
- โ
Screens added for platform parity โบ an office has a screen, and it
carries its custom fields โ `4.7s`
- โ
Screens added for platform parity โบ a savings account carries notes, and
the note survives a reload โ `7.2s`
**`rbac-backend-restricted-user.spec.ts`**
- โ
a genuinely restricted Fineract user โบ holds exactly the permissions
their role was granted โ `240ms`
- โ
a genuinely restricted Fineract user โบ reaches the screen their
permission covers โ `4.2s`
- โ
a genuinely restricted Fineract user โบ is refused a screen their
permission does not cover, by URL and by the backend โ `5.3s`
- โ
a genuinely restricted Fineract user โบ is refused a write screen they
can read the list for, and the write itself โ `6.1s`
- โ
a genuinely restricted Fineract user โบ is not offered the actions it
would be refused for โ `5.0s`
- โ
a genuinely restricted Fineract user โบ is shown an action it cannot
take, disabled and saying what it needs โ `5.3s`
- โ
a genuinely restricted Fineract user โบ the superuser the rest of the
suite uses is unaffected โ `8.6s`
**`rbac-multi-permission.spec.ts`**
- โ
a route declaring more than one permission code (OR semantics) โบ is
admitted by either declared code alone โ `5.5s`
- โ
a route declaring more than one permission code (OR semantics) โบ is
admitted by the other declared code alone โ `4.3s`
- โ
a route declaring more than one permission code (OR semantics) โบ is
refused when holding neither declared code, by the router and by the backend โ
`5.4s`
- โ
ALL_FUNCTIONS_READ, against the real Fineract permission catalogue โบ
reaches read screens across modules it holds no specific code for โ `9.8s`
- โ
ALL_FUNCTIONS_READ, against the real Fineract permission catalogue โบ is
refused every write screen, and the writes themselves โ `7.0s`
- โ
a restricted session across a real page reload โบ keeps the same
permission boundary after reloading, not just after a fresh login โ `9.8s`
- โ
a second real action-level gate, distinct from loan repayment โบ is shown
the Approve action disabled and naming what it needs, refused by the backend
too โ `6.2s`
- โ
Security module writes (users, roles), against the real backend โบ
reaches the list screens but is refused the write screens โ `10.1s`
- โ
Security module writes (users, roles), against the real backend โบ is
refused creating a user and modifying a role, by the backend itself โ `290ms`
**`full-demo.spec.ts`**
- โ
Full feature demo recording โบ walk through loan schedule type,
lifecycle, custom fields, collateral, and disbursement โ `1m 6s`
**`loan-lifecycle.spec.ts`**
- โ
Loan lifecycle: creation, approval, disbursement โบ create, approve, and
disburse a Cumulative loan โ `32.8s`
- โ
Loan lifecycle: creation, approval, disbursement โบ create, approve, and
disburse a Progressive loan โ `34.5s`
- โ
Loan lifecycle: creation, approval, disbursement โบ an approved loan can
be returned to pending approval โ `30.4s`
- โ
Loan lifecycle: creation, approval, disbursement โบ the delinquency tab
reads a real loan, and the empty data tabs stay hidden โ `29.7s`
**`loan-schedule-type.spec.ts`**
- โ
Loan Schedule Type (Cumulative vs Progressive) โบ loan products list
shows a schedule type chip per product โ `9.8s`
- โ
Loan Schedule Type (Cumulative vs Progressive) โบ create a Progressive
loan product end-to-end and verify it round-trips โ `15.7s`
- โ
Loan Schedule Type (Cumulative vs Progressive) โบ loan creation shows the
schedule type badge for a Progressive product โ `11.0s`
**`report-parameter-backend.spec.ts`**
- โ
Dynamic report parameters against Fineract โบ keeps the parameter form
available when a report has cascading lookups โ `5.0s`
- โ
Dynamic report parameters against Fineract โบ changing Office changes the
Client Listing row set โ `6.6s`
- โ
Cascading report parameters against Fineract โบ sends the parent value to
the child lookup and clears the child when it changes โ `7.5s`
- โ
Chart reports against Fineract โบ renders a chart report as a chart
rather than a table โ `4.3s`
**`savings-transaction-correction.spec.ts`**
- โ
Savings transaction correction โบ a deposit is reversed and a hold is
released โ `6.9s`
**`share-account-servicing.spec.ts`**
- โ
Share account servicing โบ an account is approved, activated, traded and
closed โ `12.3s`
- โ
Share account servicing โบ an application can be rejected โ `6.2s`
**`share-product-accounting.spec.ts`**
- โ
Share product accounting โบ a share product is mapped to equity and
round-trips on edit โ `24.1s`
**`teller-cash-management.spec.ts`**
- โ
Teller cash management โบ a cashier is listed, receives an allocation,
and settles cash back โ `24.8s`
- โ
Teller cash management โบ settling more than the cashier holds is refused
and the form stays usable โ `12.2s`
</details>
<details>
<summary><b>Slowest 10</b> โ what the shard counts should be tuned
against</summary>
| Test | Spec | Time |
| --- | --- | ---: |
| Full feature demo recording โบ walk through loan schedule type, lifecycle,
custom fields, collateral, and disbursement | `full-demo.spec.ts` | 1m 6s |
| Loan product accounting โบ a cash-accounting product is configured,
round-trips on edit, and posts to the ledger |
`loan-product-accounting.spec.ts` | 48.1s |
| Loan lifecycle: creation, approval, disbursement โบ create, approve, and
disburse a Progressive loan | `loan-lifecycle.spec.ts` | 34.5s |
| Loan lifecycle: creation, approval, disbursement โบ create, approve, and
disburse a Cumulative loan | `loan-lifecycle.spec.ts` | 32.8s |
| Loan lifecycle: creation, approval, disbursement โบ an approved loan can be
returned to pending approval | `loan-lifecycle.spec.ts` | 30.4s |
| Loan lifecycle: creation, approval, disbursement โบ the delinquency tab
reads a real loan, and the empty data tabs stay hidden |
`loan-lifecycle.spec.ts` | 29.7s |
| Teller cash management โบ a cashier is listed, receives an allocation, and
settles cash back | `teller-cash-management.spec.ts` | 24.8s |
| Share product accounting โบ a share product is mapped to equity and
round-trips on edit | `share-product-accounting.spec.ts` | 24.1s |
| Screens added for platform parity โบ a report definition can be created,
edited and deleted; a core one cannot | `parity-screens.spec.ts` | 19.4s |
| Group membership and lifecycle โบ a group is activated, staffed, given
members and a committee, then emptied | `group-membership.spec.ts` | 19.0s |
</details>
๐ผ [Download the HTML report, videos and
traces](https://github.com/apache/fineract-backoffice-ui/actions/runs/35787088713)
โ see the `playwright-report-backend` artifact.
<sub>Generated by [run
35787088713](https://github.com/apache/fineract-backoffice-ui/actions/runs/35787088713)
from `12b6493`. The run executed a fork branch, so treat its contents as
unverified.</sub>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]