Build, TypeScripts, tests #1613
Annotations
9 errors, 1 warning, and 1 notice
[Desktop Chrome] › STF_01.spec.ts:10:1 › STF_01: Add items to the basket:
__tests__/STF_01.spec.ts#L1
1) [Desktop Chrome] › STF_01.spec.ts:10:1 › STF_01: Add items to the basket ──────────────────────
Test timeout of 60000ms exceeded.
|
[Desktop Chrome] › STF_01.spec.ts:10:1 › STF_01: Add items to the basket:
__tests__/utils.ts#L47
1) [Desktop Chrome] › STF_01.spec.ts:10:1 › STF_01: Add items to 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_01.spec.ts:14:2
|
[Desktop Chrome] › STF_02.spec.ts:9:1 › STF_02: Remove items from the basket:
__tests__/STF_02.spec.ts#L1
2) [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
2) [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_03.spec.ts:10:1 › STF_03: Check if price are calculating correctly:
__tests__/STF_03.spec.ts#L1
3) [Desktop Chrome] › STF_03.spec.ts:10:1 › STF_03: Check if price are calculating correctly ─────
Test timeout of 60000ms exceeded.
|
[Desktop Chrome] › STF_03.spec.ts:10:1 › STF_03: Check if price are calculating correctly:
__tests__/utils.ts#L47
3) [Desktop Chrome] › STF_03.spec.ts:10:1 › STF_03: Check if price are calculating correctly ─────
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_03.spec.ts:14:2
|
[Desktop Chrome] › STF_05.spec.ts:9:1 › STF_05: Checkout as a unlogged user:
__tests__/STF_05.spec.ts#L1
4) [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__/utils.ts#L13
4) [Desktop Chrome] › STF_05.spec.ts:9:1 › STF_05: Checkout as a unlogged user ───────────────────
Error: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('ProductElement').first() to be visible
at utils.ts:13
11 | export async function clickOnNthProductElement({ page, nth }: { page: Page; nth: number }) {
12 | const productLinks = page.getByTestId("ProductElement");
> 13 | await productLinks.first().waitFor();
| ^
14 | const randomProductLink = productLinks.nth(nth);
15 |
16 | const name = await randomProductLink.getByRole("heading").textContent();
at clickOnNthProductElement (/home/runner/work/storefront/storefront/__tests__/utils.ts:13:29)
at /home/runner/work/storefront/storefront/__tests__/STF_05.spec.ts:12:24
|
build_and_test
Process completed with exit code 1.
|
build_and_test
Failed to restore: Cache service responded with 403
|
🎭 Playwright Run Summary
4 failed
[Desktop Chrome] › STF_01.spec.ts:10:1 › STF_01: Add items to the basket ───────────────────────
[Desktop Chrome] › STF_02.spec.ts:9:1 › STF_02: Remove items from the basket ───────────────────
[Desktop Chrome] › STF_03.spec.ts:10:1 › STF_03: Check if price are calculating correctly ──────
[Desktop Chrome] › STF_05.spec.ts:9:1 › STF_05: Checkout as a unlogged user ────────────────────
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
1.44 MB |
|