Skip to content

feat: kind based nostr permissions #6417

feat: kind based nostr permissions

feat: kind based nostr permissions #6417

Triggered via pull request February 20, 2024 10:05
Status Failure
Total duration 3m 45s
Artifacts

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 1 notice
[chromium] › 001-createWallets.spec.ts:47:7 › Create or connect wallets › successfully connects to an existing Alby testnet wallet: tests/e2e/helpers/loadExtension.ts#L71
1) [chromium] › 001-createWallets.spec.ts:47:7 › Create or connect wallets › successfully connects to an existing Alby testnet wallet TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:48:31
[chromium] › 001-createWallets.spec.ts:47:7 › Create or connect wallets › successfully connects to an existing Alby testnet wallet: tests/e2e/helpers/loadExtension.ts#L71
1) [chromium] › 001-createWallets.spec.ts:47:7 › Create or connect wallets › successfully connects to an existing Alby testnet wallet Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:48:31
[chromium] › 001-createWallets.spec.ts:47:7 › Create or connect wallets › successfully connects to an existing Alby testnet wallet: tests/e2e/helpers/loadExtension.ts#L71
1) [chromium] › 001-createWallets.spec.ts:47:7 › Create or connect wallets › successfully connects to an existing Alby testnet wallet Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:48:31
[chromium] › 001-createWallets.spec.ts:54:7 › Create or connect wallets › successfully connects to LNbits wallet: tests/e2e/helpers/loadExtension.ts#L71
2) [chromium] › 001-createWallets.spec.ts:54:7 › Create or connect wallets › successfully connects to LNbits wallet TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:55:42
[chromium] › 001-createWallets.spec.ts:54:7 › Create or connect wallets › successfully connects to LNbits wallet: tests/e2e/helpers/loadExtension.ts#L71
2) [chromium] › 001-createWallets.spec.ts:54:7 › Create or connect wallets › successfully connects to LNbits wallet Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:55:42
[chromium] › 001-createWallets.spec.ts:54:7 › Create or connect wallets › successfully connects to LNbits wallet: tests/e2e/helpers/loadExtension.ts#L71
2) [chromium] › 001-createWallets.spec.ts:54:7 › Create or connect wallets › successfully connects to LNbits wallet Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:55:42
[chromium] › 001-createWallets.spec.ts:71:7 › Create or connect wallets › successfully connects to LND: tests/e2e/helpers/loadExtension.ts#L71
3) [chromium] › 001-createWallets.spec.ts:71:7 › Create or connect wallets › successfully connects to LND TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:72:42
[chromium] › 001-createWallets.spec.ts:71:7 › Create or connect wallets › successfully connects to LND: tests/e2e/helpers/loadExtension.ts#L71
3) [chromium] › 001-createWallets.spec.ts:71:7 › Create or connect wallets › successfully connects to LND Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:72:42
[chromium] › 001-createWallets.spec.ts:71:7 › Create or connect wallets › successfully connects to LND: tests/e2e/helpers/loadExtension.ts#L71
3) [chromium] › 001-createWallets.spec.ts:71:7 › Create or connect wallets › successfully connects to LND Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:72:42
[chromium] › 001-createWallets.spec.ts:131:7 › Create or connect wallets › successfully connects to Umbrel LND: tests/e2e/helpers/loadExtension.ts#L71
4) [chromium] › 001-createWallets.spec.ts:131:7 › Create or connect wallets › successfully connects to Umbrel LND TypeError: containerHandle.executionContext is not a function at helpers/loadExtension.ts:71 69 | // get document from onboard page 70 | const $document = await getDocument(page); > 71 | await findByText($document, "Set an unlock passcode"); | ^ 72 | 73 | // type user password and confirm password 74 | const passwordField = await getByLabelText( at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:101:8 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at processQuery (/github/workspace/node_modules/pptr-testing-library/dist/index.js:96:12) at /github/workspace/node_modules/pptr-testing-library/lib/index.ts:144:12 at /github/workspace/node_modules/pptr-testing-library/dist/index.js:8:71 at __awaiter (/github/workspace/node_modules/pptr-testing-library/dist/index.js:4:12) at findByText (/github/workspace/node_modules/pptr-testing-library/dist/index.js:115:16) at createNewWalletWithPassword (/github/workspace/tests/e2e/helpers/loadExtension.ts:71:9) at /github/workspace/tests/e2e/001-createWallets.spec.ts:132:42
🎭 Playwright Run Summary
11 failed [chromium] › 001-createWallets.spec.ts:47:7 › Create or connect wallets › successfully connects to an existing Alby testnet wallet [chromium] › 001-createWallets.spec.ts:54:7 › Create or connect wallets › successfully connects to LNbits wallet [chromium] › 001-createWallets.spec.ts:71:7 › Create or connect wallets › successfully connects to LND [chromium] › 001-createWallets.spec.ts:131:7 › Create or connect wallets › successfully connects to Umbrel LND [chromium] › 001-createWallets.spec.ts:164:7 › Create or connect wallets › successfully connects to myNode LND [chromium] › 001-createWallets.spec.ts:197:7 › Create or connect wallets › successfully connects to StartOS [chromium] › 002-walletFeatures.spec.ts:15:7 › Wallet features › change password ─────────────── [chromium] › 002-walletFeatures.spec.ts:42:7 › Wallet features › opens discover screen by default [chromium] › 002-walletFeatures.spec.ts:52:7 › Wallet features › create invoice ──────────────── [chromium] › 002-walletFeatures.spec.ts:80:7 › Wallet features › send to a LN-address ────────── [chromium] › 002-walletFeatures.spec.ts:103:7 › Wallet features › auth via LNURL ─────────────── 4 skipped
e2e-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [chromium] › 001-createWallets.spec.ts#L1
[chromium] › 001-createWallets.spec.ts took 25.4s
Slow Test: [chromium] › 002-walletFeatures.spec.ts#L1
[chromium] › 002-walletFeatures.spec.ts took 21.0s
e2e-tests
No files were found with the provided path: playwright-report/ test-results/. No artifacts will be uploaded.