Skip to content

Personalization use case redesign INTER-152 #393

Personalization use case redesign INTER-152

Personalization use case redesign INTER-152 #393

Triggered via pull request October 27, 2023 08:21
Status Success
Total duration 7m 30s
Artifacts 1

playwright.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 notices
[webkit] › coupon-fraud.spec.js:26:7 › Coupon fraud › should prevent spamming multiple coupons: e2e/coupon-fraud.spec.js#L1
1) [webkit] › coupon-fraud.spec.js:26:7 › Coupon fraud › should prevent spamming multiple coupons Test timeout of 30000ms exceeded.
[webkit] › coupon-fraud.spec.js:26:7 › Coupon fraud › should prevent spamming multiple coupons: e2e/coupon-fraud.spec.js#L30
1) [webkit] › coupon-fraud.spec.js:26:7 › Coupon fraud › should prevent spamming multiple coupons Error: page.waitForSelector: Page closed =========================== logs =========================== waiting for locator('text="Coupon claimed"') to be visible ============================================================ 28 | await page.click('button:has-text("Apply")'); 29 | await page.waitForLoadState('networkidle'); > 30 | await page.waitForSelector('text="Coupon claimed"'); | ^ 31 | 32 | await page.fill('#coupon_code', 'BlackFriday', {}); 33 | await page.click('button:has-text("Apply")'); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/coupon-fraud.spec.js:30:16
[webkit] › credential-stuffing.spec.js:20:7 › Credential stuffing › should lock user after 5 invalid login attempts: e2e/credential-stuffing.spec.js#L1
2) [webkit] › credential-stuffing.spec.js:20:7 › Credential stuffing › should lock user after 5 invalid login attempts Test timeout of 30000ms exceeded.
[webkit] › credential-stuffing.spec.js:20:7 › Credential stuffing › should lock user after 5 invalid login attempts: e2e/credential-stuffing.spec.js#L33
2) [webkit] › credential-stuffing.spec.js:20:7 › Credential stuffing › should lock user after 5 invalid login attempts Error: page.waitForSelector: Page closed =========================== logs =========================== waiting for locator('text="You had more than 5 attempts during the last 24 hours. This login attempt was not performed."') to be visible ============================================================ 31 | } 32 | > 33 | await page.waitForSelector( | ^ 34 | 'text="You had more than 5 attempts during the last 24 hours. This login attempt was not performed."' 35 | ); 36 | }); at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/credential-stuffing.spec.js:33:16
[webkit] › loan-risk.spec.ts:49:7 › Loan risk › should correctly calculate loan and approve it on first submit: e2e/loan-risk.spec.ts#L56
3) [webkit] › loan-risk.spec.ts:49:7 › Loan risk › should correctly calculate loan and approve it on first submit Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('[data-test="monthlyInstallmentValue"]') Expected string: "$ 575" Received string: "$ 288" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('[data-test="monthlyInstallmentValue"]') - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" - locator resolved to <div data-test="monthlyInstallmentValue" class="loanR…>…</div> - unexpected value "$ 288" 54 | const monthInstallmentValue = page.locator(`[data-test="${testIds.monthlyInstallmentValue}"]`); 55 | > 56 | await expect(monthInstallmentValue).toHaveText('$ 575'); | ^ 57 | await waitForSuccessfulSubmit(page); 58 | }); 59 | at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/loan-risk.spec.ts:56:41
[webkit] › payment-fraud.spec.js:41:7 › Payment fraud › should prevent card cracking after 3 attempts: e2e/payment-fraud.spec.js#L1
4) [webkit] › payment-fraud.spec.js:41:7 › Payment fraud › should prevent card cracking after 3 attempts Test timeout of 30000ms exceeded.
[webkit] › payment-fraud.spec.js:41:7 › Payment fraud › should prevent card cracking after 3 attempts: e2e/payment-fraud.spec.js#L14
4) [webkit] › payment-fraud.spec.js:41:7 › Payment fraud › should prevent card cracking after 3 attempts Error: page.waitForSelector: Page closed =========================== logs =========================== waiting for locator('text="Incorrect card details, try again."') to be visible ============================================================ 12 | await page.click('[type="submit"]'); 13 | > 14 | await page.waitForSelector('text="Incorrect card details, try again."'); | ^ 15 | } 16 | 17 | test.describe('Payment fraud', () => { at waitForInvalidCardSubmit (/home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/payment-fraud.spec.js:14:14) at /home/runner/work/fingerprintjs-pro-use-cases/fingerprintjs-pro-use-cases/e2e/payment-fraud.spec.js:44:5
🎭 Playwright Run Summary
26 passed (2.3m)
🎭 Playwright Run Summary
26 passed (2.8m)
🎭 Playwright Run Summary
4 flaky [webkit] › coupon-fraud.spec.js:26:7 › Coupon fraud › should prevent spamming multiple coupons ─ [webkit] › credential-stuffing.spec.js:20:7 › Credential stuffing › should lock user after 5 invalid login attempts [webkit] › loan-risk.spec.ts:49:7 › Loan risk › should correctly calculate loan and approve it on first submit [webkit] › payment-fraud.spec.js:41:7 › Payment fraud › should prevent card cracking after 3 attempts 22 passed (4.5m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
5.04 MB