Skip to content

Playwright test for ReefKnot #11

Playwright test for ReefKnot

Playwright test for ReefKnot #11

Triggered via pull request December 12, 2024 12:55
Status Failure
Total duration 5m 37s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @metamask: playwright-tests/services/browser/browser.service.ts#L42
1) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @MetaMask TypeError: this.walletPage.switchNetwork is not a function at ../services/browser/browser.service.ts:42 40 | await this.setup(this.commonWalletConfig, this.standConfig); 41 | await this.walletPage.setupNetwork(REEF_KNOT_CONFIG.STAND_CONFIG); > 42 | await this.walletPage.switchNetwork( | ^ 43 | REEF_KNOT_CONFIG.STAND_CONFIG.chainName, 44 | ); 45 | await this.browserContextService.closePages(); at BrowserService.initWalletSetup (/home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser.service.ts:42:27) at /home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser-setup.service.ts:21:5 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:23:48
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @metamask: playwright-tests/tests/matomo-event-connected-wallet.spec.ts#L33
1) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @MetaMask TypeError: Cannot read properties of undefined (reading 'disconnectWalletForce') 31 | 32 | test.afterAll(async () => { > 33 | await reefKnotService.disconnectWalletForce(); | ^ 34 | await browserService.teardown(); 35 | }); 36 | at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:33:31
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @metamask: playwright-tests/services/browser/browser.service.ts#L42
1) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @MetaMask Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: this.walletPage.switchNetwork is not a function at ../services/browser/browser.service.ts:42 40 | await this.setup(this.commonWalletConfig, this.standConfig); 41 | await this.walletPage.setupNetwork(REEF_KNOT_CONFIG.STAND_CONFIG); > 42 | await this.walletPage.switchNetwork( | ^ 43 | REEF_KNOT_CONFIG.STAND_CONFIG.chainName, 44 | ); 45 | await this.browserContextService.closePages(); at BrowserService.initWalletSetup (/home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser.service.ts:42:27) at /home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser-setup.service.ts:21:5 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:23:48
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @metamask: playwright-tests/tests/matomo-event-connected-wallet.spec.ts#L33
1) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @MetaMask Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'disconnectWalletForce') 31 | 32 | test.afterAll(async () => { > 33 | await reefKnotService.disconnectWalletForce(); | ^ 34 | await browserService.teardown(); 35 | }); 36 | at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:33:31
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx: playwright-tests/services/browser/browser.service.ts#L42
2) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx TypeError: this.walletPage.switchNetwork is not a function at ../services/browser/browser.service.ts:42 40 | await this.setup(this.commonWalletConfig, this.standConfig); 41 | await this.walletPage.setupNetwork(REEF_KNOT_CONFIG.STAND_CONFIG); > 42 | await this.walletPage.switchNetwork( | ^ 43 | REEF_KNOT_CONFIG.STAND_CONFIG.chainName, 44 | ); 45 | await this.browserContextService.closePages(); at BrowserService.initWalletSetup (/home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser.service.ts:42:27) at /home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser-setup.service.ts:21:5 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:23:48
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx: playwright-tests/tests/matomo-event-connected-wallet.spec.ts#L33
2) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx TypeError: Cannot read properties of undefined (reading 'disconnectWalletForce') 31 | 32 | test.afterAll(async () => { > 33 | await reefKnotService.disconnectWalletForce(); | ^ 34 | await browserService.teardown(); 35 | }); 36 | at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:33:31
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx: playwright-tests/services/browser/browser.service.ts#L42
2) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: this.walletPage.switchNetwork is not a function at ../services/browser/browser.service.ts:42 40 | await this.setup(this.commonWalletConfig, this.standConfig); 41 | await this.walletPage.setupNetwork(REEF_KNOT_CONFIG.STAND_CONFIG); > 42 | await this.walletPage.switchNetwork( | ^ 43 | REEF_KNOT_CONFIG.STAND_CONFIG.chainName, 44 | ); 45 | await this.browserContextService.closePages(); at BrowserService.initWalletSetup (/home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser.service.ts:42:27) at /home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser-setup.service.ts:21:5 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:23:48
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx: playwright-tests/tests/matomo-event-connected-wallet.spec.ts#L33
2) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'disconnectWalletForce') 31 | 32 | test.afterAll(async () => { > 33 | await reefKnotService.disconnectWalletForce(); | ^ 34 | await browserService.teardown(); 35 | }); 36 | at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:33:31
[reef-knot] › matomo-event-connected-wallet.spec.ts:82:9 › ReefKnot. Matomo events (Browser) › Connect Browser wallet (Qase ID: 432) @connectedWallet @browser+metamask: playwright-tests/services/browser/browser.service.ts#L42
3) [reef-knot] › matomo-event-connected-wallet.spec.ts:82:9 › ReefKnot. Matomo events (Browser) › Connect Browser wallet (Qase ID: 432) @connectedWallet @browser+metamask TypeError: this.walletPage.switchNetwork is not a function at ../services/browser/browser.service.ts:42 40 | await this.setup(this.commonWalletConfig, this.standConfig); 41 | await this.walletPage.setupNetwork(REEF_KNOT_CONFIG.STAND_CONFIG); > 42 | await this.walletPage.switchNetwork( | ^ 43 | REEF_KNOT_CONFIG.STAND_CONFIG.chainName, 44 | ); 45 | await this.browserContextService.closePages(); at BrowserService.initWalletSetup (/home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser.service.ts:42:27) at /home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser-setup.service.ts:21:5 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:70:9
[reef-knot] › matomo-event-connected-wallet.spec.ts:82:9 › ReefKnot. Matomo events (Browser) › Connect Browser wallet (Qase ID: 432) @connectedWallet @browser+metamask: playwright-tests/tests/matomo-event-connected-wallet.spec.ts#L78
3) [reef-knot] › matomo-event-connected-wallet.spec.ts:82:9 › ReefKnot. Matomo events (Browser) › Connect Browser wallet (Qase ID: 432) @connectedWallet @browser+metamask TypeError: Cannot read properties of undefined (reading 'disconnectWalletForce') 76 | 77 | test.afterAll(async () => { > 78 | await reefKnotService.disconnectWalletForce(); | ^ 79 | await browserService.teardown(); 80 | }); 81 | at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:78:29
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
8 failed [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @MetaMask [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (okx) › Connect okx wallet (Qase ID: 432) @connectedWallet @okx [reef-knot] › matomo-event-connected-wallet.spec.ts:82:9 › ReefKnot. Matomo events (Browser) › Connect Browser wallet (Qase ID: 432) @connectedWallet @browser+metamask [reef-knot] › matomo-event.spec.ts:27:9 › ReefKnot. Matomo events › Click to "XDEFI" wallet (Qase ID: 430) [reef-knot] › wallet-connection.spec.ts:33:11 › ReefKnot. Wallet connection (metamask) › Connect wallet (Qase ID: 434) @connectedWallet @MetaMask [reef-knot] › wallet-connection.spec.ts:33:11 › ReefKnot. Wallet connection (okx) › Connect wallet (Qase ID: 434) @connectedWallet @okx [reef-knot] › wallet-stats.spec.ts:36:11 › ReefKnot. Check statistic (metamask) › Check provider name (Qase ID: 435) @connectedWallet @MetaMask [reef-knot] › wallet-stats.spec.ts:36:11 › ReefKnot. Check statistic (okx) › Check provider name (Qase ID: 435) @connectedWallet @okx 14 did not run 16 passed (4.7m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
85.8 MB