Build, TypeScripts, tests #1651
Triggered via deployment status
August 21, 2024 09:10
vercel[bot]
created
50800ad
Status
Failure
Total duration
1m 55s
Artifacts
1
Annotations
5 errors, 3 warnings, and 1 notice
[Desktop Chrome] › STF_02.spec.ts:9:1 › STF_02: Remove items from the basket:
__tests__/STF_02.spec.ts#L1
1) [Desktop Chrome] › STF_02.spec.ts:9:1 › STF_02: Remove items from the basket ──────────────────
Test timeout of 60000ms exceeded.
|
[Desktop Chrome] › STF_02.spec.ts:9:1 › STF_02: Remove items from the basket:
__tests__/utils.ts#L47
1) [Desktop Chrome] › STF_02.spec.ts:9:1 › STF_02: Remove items from the basket ──────────────────
Error: page.waitForURL: Test timeout of 60000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
at utils.ts:47
45 | } catch {}
46 |
> 47 | await page.waitForURL(/\?variant=.+/);
| ^
48 | }
49 |
50 | export async function addCurrentProductToCart({ page }: { page: Page }) {
at selectRandomAvailableVariant (/home/runner/work/storefront/storefront/__tests__/utils.ts:47:13)
at /home/runner/work/storefront/storefront/__tests__/STF_02.spec.ts:13:2
|
[Desktop Chrome] › STF_05.spec.ts:9:1 › STF_05: Checkout as a unlogged user:
__tests__/STF_05.spec.ts#L1
2) [Desktop Chrome] › STF_05.spec.ts:9:1 › STF_05: Checkout as a unlogged user ───────────────────
Test timeout of 60000ms exceeded.
|
[Desktop Chrome] › STF_05.spec.ts:9:1 › STF_05: Checkout as a unlogged user:
__tests__/STF_05.spec.ts#L37
2) [Desktop Chrome] › STF_05.spec.ts:9:1 › STF_05: Checkout as a unlogged user ───────────────────
Error: locator.fill: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('paymentMethods').frameLocator('iframe').getByLabel('Card number')
35 | await page.getByTestId("paymentMethods").waitFor();
36 | const stripeIframe = page.getByTestId("paymentMethods").frameLocator("iframe");
> 37 | await stripeIframe.getByLabel("Card number").fill("4242424242424242");
| ^
38 | await stripeIframe.getByLabel("Expiration").fill("03/30");
39 | await stripeIframe.getByLabel("CVC").fill("737");
40 | await page.getByRole("button", { name: "Pay now" }).click();
at /home/runner/work/storefront/storefront/__tests__/STF_05.spec.ts:37:47
|
build_and_test
Process completed with exit code 1.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
build_and_test
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, patrickedqvist/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build_and_test
Failed to restore: Cache service responded with 403
|
🎭 Playwright Run Summary
2 failed
[Desktop Chrome] › STF_02.spec.ts:9:1 › STF_02: Remove items from the basket ───────────────────
[Desktop Chrome] › STF_05.spec.ts:9:1 › STF_05: Checkout as a unlogged user ────────────────────
2 passed (1.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
1.96 MB |
|