Skip to content

CI & Test Scaffolding #7

CI & Test Scaffolding

CI & Test Scaffolding #7

Triggered via pull request April 18, 2024 14:21
Status Failure
Total duration 4m 23s
Billable time 8m
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 1 warning, and 1 notice
tests/utils/smartContractMeta.test.ts > smartContractMeta > filtering > when filtering for capabilities an account would be granting > should return the capabilities that are granting > should return the capabilities that are granting: tests/utils/smartContractMeta.test.ts#L50
AssertionError: Only Granter Capabilities should be found - Expected + Received Array [ Object { "args": Array [ "customer", "escrow", Object { "decimal": "2.2", }, ], "name": "coin.TRANSFER", }, Object { "args": Array [ + "order-id", + "hash-of-data", + "merchant", + "customer", + Object { + "decimal": "2.2", + }, + ], + "name": "n_eef68e581f767dd66c4d4c39ed922be944ede505.delivery.CREATE_ORDER_LINE", + }, + Object { + "args": Array [ + "order-id", + "hash-of-data-2", + "merchant", + "customer", + Object { + "decimal": "2.2", + }, + ], + "name": "n_eef68e581f767dd66c4d4c39ed922be944ede505.delivery.CREATE_ORDER_LINE", + }, + Object { + "args": Array [ "customer", "escrow", Object { "decimal": "2.2", }, ], "name": "n_eef68e581f767dd66c4d4c39ed922be944ede505.webauthn-wallet.TRANSFER", }, Object { "args": Array [ "customer", Object { "int": "2", }, Object { "decimal": "2.2", }, ], "name": "n_eef68e581f767dd66c4d4c39ed922be944ede505.webauthn-wallet.GAS_PAYER", }, ] ❯ tests/utils/smartContractMeta.test.ts:50:18
tests/utils/smartContractMeta.test.ts > smartContractMeta > filtering > when filtering for capabilities an account would be granting > should return the capabilities that are granting > should return the capabilities that are accepting: tests/utils/smartContractMeta.test.ts#L75
AssertionError: Only Acceptor capabilities should be found - Expected + Received - Array [ - Object { - "args": Array [ - "order-id", - "hash-of-data", - "merchant", - "customer", - Object { - "decimal": "2.2", - }, - ], - "name": "n_eef68e581f767dd66c4d4c39ed922be944ede505.delivery.CREATE_ORDER_LINE", - }, - Object { - "args": Array [ - "order-id", - "hash-of-data-2", - "merchant", - "customer", - Object { - "decimal": "2.2", - }, - ], - "name": "n_eef68e581f767dd66c4d4c39ed922be944ede505.delivery.CREATE_ORDER_LINE", - }, - ] + Array [] ❯ tests/utils/smartContractMeta.test.ts:75:18
tests/utils/translation.test.ts > translation > when customizing translations > when customizing translations for n_eef68e581f767dd66c4d4c39ed922be944ede505.delivery.CREATE_ORDER_LINE > should show `For 5KDA you are receiving a Pizza Margherita`: tests/utils/translation.test.ts#L152
AssertionError: Should retrieve the custom translation with plugs - Expected + Received - For 5.5KDA you are making a Pizza Margherita + You are preparing DtOzsHEctJWrc4h5ne5k09n6CnIc80J4S0KjHSbz5P8 from c:zxy for 5.5 KDA ❯ tests/utils/translation.test.ts:152:16
build
Process completed with exit code 1.
[SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey: e2e/tests/create-account.test.ts#L1
1) [SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey › Start Registration Test timeout of 30000ms exceeded.
[SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey: e2e/page-objects/pages/welcome.page.ts#L15
1) [SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey › Start Registration Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Register' }) at e2e/page-objects/pages/welcome.page.ts:15 13 | 14 | async startRegistration(): Promise<void> { > 15 | await this.registerBtn.click(); | ^ 16 | } 17 | } 18 | at WelcomePage.startRegistration (/home/runner/work/webauthn-wallet/webauthn-wallet/e2e/page-objects/pages/welcome.page.ts:15:28) at /home/runner/work/webauthn-wallet/webauthn-wallet/e2e/tests/create-account.test.ts:18:23 at /home/runner/work/webauthn-wallet/webauthn-wallet/e2e/tests/create-account.test.ts:17:14
[SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey: e2e/tests/create-account.test.ts#L1
1) [SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey › Start Registration Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey: e2e/page-objects/pages/welcome.page.ts#L15
1) [SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey › Start Registration Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Register' }) at e2e/page-objects/pages/welcome.page.ts:15 13 | 14 | async startRegistration(): Promise<void> { > 15 | await this.registerBtn.click(); | ^ 16 | } 17 | } 18 | at WelcomePage.startRegistration (/home/runner/work/webauthn-wallet/webauthn-wallet/e2e/page-objects/pages/welcome.page.ts:15:28) at /home/runner/work/webauthn-wallet/webauthn-wallet/e2e/tests/create-account.test.ts:18:23 at /home/runner/work/webauthn-wallet/webauthn-wallet/e2e/tests/create-account.test.ts:17:14
e2e
Process completed with exit code 1.
Slow Test: [setup] › e2e/setup/devnet.setup.ts#L1
[setup] › e2e/setup/devnet.setup.ts took 26.9s
🎭 Playwright Run Summary
1 failed [SpireKey] › e2e/tests/create-account.test.ts:10:5 › Create new Wallet using SpireKey ────────── 1 passed (2.9m)