Chore: Refactor and migrate Loan risk to app
directory INTER-911, INTER-459
#418
Annotations
10 errors and 1 notice
e2e/loan-risk.spec.ts#L1
1) [firefox] › loan-risk.spec.ts:25:7 › Loan risk › should correctly calculate loan and approve it on first submit
Test timeout of 30000ms exceeded.
|
e2e/loan-risk.spec.ts#L10
1) [firefox] › loan-risk.spec.ts:25:7 › Loan risk › should correctly calculate loan and approve it on first submit
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByText('Congratulations, your loan has been approved!') to be visible
8 | async function waitForSuccessfulSubmit(page: Page) {
9 | await page.getByTestId(testIds.submitApplication).click();
> 10 | await page.getByText(LOAN_RISK_COPY.approved).waitFor();
| ^
11 | }
12 |
13 | async function waitForBlockedLoanSubmit(page: Page) {
at waitForSuccessfulSubmit (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:10:49)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:32:5
|
e2e/loan-risk.spec.ts#L1
1) [firefox] › loan-risk.spec.ts:25:7 › Loan risk › should correctly calculate loan and approve it on first submit
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
e2e/loan-risk.spec.ts#L10
1) [firefox] › loan-risk.spec.ts:25:7 › Loan risk › should correctly calculate loan and approve it on first submit
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByText('Congratulations, your loan has been approved!') to be visible
8 | async function waitForSuccessfulSubmit(page: Page) {
9 | await page.getByTestId(testIds.submitApplication).click();
> 10 | await page.getByText(LOAN_RISK_COPY.approved).waitFor();
| ^
11 | }
12 |
13 | async function waitForBlockedLoanSubmit(page: Page) {
at waitForSuccessfulSubmit (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:10:49)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:32:5
|
e2e/loan-risk.spec.ts#L1
1) [firefox] › loan-risk.spec.ts:25:7 › Loan risk › should correctly calculate loan and approve it on first submit
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
e2e/loan-risk.spec.ts#L10
1) [firefox] › loan-risk.spec.ts:25:7 › Loan risk › should correctly calculate loan and approve it on first submit
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByText('Congratulations, your loan has been approved!') to be visible
8 | async function waitForSuccessfulSubmit(page: Page) {
9 | await page.getByTestId(testIds.submitApplication).click();
> 10 | await page.getByText(LOAN_RISK_COPY.approved).waitFor();
| ^
11 | }
12 |
13 | async function waitForBlockedLoanSubmit(page: Page) {
at waitForSuccessfulSubmit (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:10:49)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:32:5
|
e2e/loan-risk.spec.ts#L1
2) [firefox] › loan-risk.spec.ts:35:7 › Loan risk › should approve loan if only loan value or loan duration changes
Test timeout of 30000ms exceeded.
|
e2e/loan-risk.spec.ts#L10
2) [firefox] › loan-risk.spec.ts:35:7 › Loan risk › should approve loan if only loan value or loan duration changes
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByText('Congratulations, your loan has been approved!') to be visible
8 | async function waitForSuccessfulSubmit(page: Page) {
9 | await page.getByTestId(testIds.submitApplication).click();
> 10 | await page.getByText(LOAN_RISK_COPY.approved).waitFor();
| ^
11 | }
12 |
13 | async function waitForBlockedLoanSubmit(page: Page) {
at waitForSuccessfulSubmit (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:10:49)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:37:5
|
e2e/loan-risk.spec.ts#L1
2) [firefox] › loan-risk.spec.ts:35:7 › Loan risk › should approve loan if only loan value or loan duration changes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
e2e/loan-risk.spec.ts#L10
2) [firefox] › loan-risk.spec.ts:35:7 › Loan risk › should approve loan if only loan value or loan duration changes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByText('Congratulations, your loan has been approved!') to be visible
8 | async function waitForSuccessfulSubmit(page: Page) {
9 | await page.getByTestId(testIds.submitApplication).click();
> 10 | await page.getByText(LOAN_RISK_COPY.approved).waitFor();
| ^
11 | }
12 |
13 | async function waitForBlockedLoanSubmit(page: Page) {
at waitForSuccessfulSubmit (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:10:49)
at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:37:5
|
5 failed
[firefox] › loan-risk.spec.ts:25:7 › Loan risk › should correctly calculate loan and approve it on first submit
[firefox] › loan-risk.spec.ts:35:7 › Loan risk › should approve loan if only loan value or loan duration changes
[firefox] › loan-risk.spec.ts:63:9 › Loan risk › should not approve loan if name changes after first submit
[firefox] › loan-risk.spec.ts:63:9 › Loan risk › should not approve loan if surname changes after first submit
[firefox] › loan-risk.spec.ts:63:9 › Loan risk › should not approve loan if monthlyIncome changes after first submit
3 skipped
30 passed (10.0m)
|
This job failed
Loading