Add P2S and OP_EVAL support #101
Annotations
10 errors, 2 warnings, and 1 notice
Test production build:
tests/notifier.spec.ts#L50
1) [chromium] › notifier.spec.ts:38:5 › displays telemetry consent request, can decline ──────────
Error: Screenshot comparison failed:
8 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/notifier.spec.ts-snapshots/displays-telemetry-consent-request-can-decline-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/notifier-displays-telemetry-consent-request-can-decline-chromium/displays-telemetry-consent-request-can-decline-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/notifier-displays-telemetry-consent-request-can-decline-chromium/displays-telemetry-consent-request-can-decline-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 8 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 8 pixels (ratio 0.01 of all image pixels) are different.
48 | );
49 | await expect(page.getByText('sharing usage information')).toBeVisible();
> 50 | await expect(page).toHaveScreenshot();
| ^
51 | let logs = '';
52 | page.on('console', (msg) => {
53 | logs += msg.text();
at /__w/bitauth-ide/bitauth-ide/tests/notifier.spec.ts:50:22
|
Test production build:
tests/notifier.spec.ts#L50
1) [chromium] › notifier.spec.ts:38:5 › displays telemetry consent request, can decline ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
8 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/notifier.spec.ts-snapshots/displays-telemetry-consent-request-can-decline-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/notifier-displays-telemetry-consent-request-can-decline-chromium-retry1/displays-telemetry-consent-request-can-decline-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/notifier-displays-telemetry-consent-request-can-decline-chromium-retry1/displays-telemetry-consent-request-can-decline-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 8 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 8 pixels (ratio 0.01 of all image pixels) are different.
48 | );
49 | await expect(page.getByText('sharing usage information')).toBeVisible();
> 50 | await expect(page).toHaveScreenshot();
| ^
51 | let logs = '';
52 | page.on('console', (msg) => {
53 | logs += msg.text();
at /__w/bitauth-ide/bitauth-ide/tests/notifier.spec.ts:50:22
|
Test production build:
tests/notifier.spec.ts#L50
1) [chromium] › notifier.spec.ts:38:5 › displays telemetry consent request, can decline ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
8 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/notifier.spec.ts-snapshots/displays-telemetry-consent-request-can-decline-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/notifier-displays-telemetry-consent-request-can-decline-chromium-retry2/displays-telemetry-consent-request-can-decline-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/notifier-displays-telemetry-consent-request-can-decline-chromium-retry2/displays-telemetry-consent-request-can-decline-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 8 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 8 pixels (ratio 0.01 of all image pixels) are different.
48 | );
49 | await expect(page.getByText('sharing usage information')).toBeVisible();
> 50 | await expect(page).toHaveScreenshot();
| ^
51 | let logs = '';
52 | page.on('console', (msg) => {
53 | logs += msg.text();
at /__w/bitauth-ide/bitauth-ide/tests/notifier.spec.ts:50:22
|
Test production build:
tests/template-settings.spec.ts#L27
2) [chromium] › template-settings.spec.ts:5:5 › can modify template settings ─────────────────────
Error: Screenshot comparison failed:
5757 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts-snapshots/can-modify-template-settings-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-chromium/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-chromium/can-modify-template-settings-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5757 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5757 pixels (ratio 0.01 of all image pixels) are different.
25 | .first()
26 | .click();
> 27 | await expect(page).toHaveScreenshot();
| ^
28 | await page.getByRole('button', { name: 'Done' }).click();
29 | const link1 = page.getByRole('link', { name: 'libauth.org' });
30 | await expect(link1).toBeVisible();
at /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts:27:22
|
Test production build:
tests/template-settings.spec.ts#L27
2) [chromium] › template-settings.spec.ts:5:5 › can modify template settings ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5757 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts-snapshots/can-modify-template-settings-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-chromium-retry1/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-chromium-retry1/can-modify-template-settings-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5757 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5757 pixels (ratio 0.01 of all image pixels) are different.
25 | .first()
26 | .click();
> 27 | await expect(page).toHaveScreenshot();
| ^
28 | await page.getByRole('button', { name: 'Done' }).click();
29 | const link1 = page.getByRole('link', { name: 'libauth.org' });
30 | await expect(link1).toBeVisible();
at /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts:27:22
|
Test production build:
tests/template-settings.spec.ts#L27
2) [chromium] › template-settings.spec.ts:5:5 › can modify template settings ─────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5757 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts-snapshots/can-modify-template-settings-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-chromium-retry2/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-chromium-retry2/can-modify-template-settings-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5757 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5757 pixels (ratio 0.01 of all image pixels) are different.
25 | .first()
26 | .click();
> 27 | await expect(page).toHaveScreenshot();
| ^
28 | await page.getByRole('button', { name: 'Done' }).click();
29 | const link1 = page.getByRole('link', { name: 'libauth.org' });
30 | await expect(link1).toBeVisible();
at /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts:27:22
|
Test production build:
tests/template-settings.spec.ts#L58
3) [chromium] › template-settings.spec.ts:46:5 › can reset template ──────────────────────────────
Error: Screenshot comparison failed:
3450 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts-snapshots/can-reset-template-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-chromium/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-chromium/can-reset-template-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 3450 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 3450 pixels (ratio 0.01 of all image pixels) are different.
56 | .getByRole('button', { name: 'Reset to a Built-in Template...' })
57 | .click();
> 58 | await expect(page).toHaveScreenshot();
| ^
59 | await page.getByRole('button', { name: 'Cancel' }).click();
60 | await expect(page.locator('h1 .title')).toHaveText(
61 | 'Single Signature (P2PKH)',
at /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts:58:22
|
Test production build:
tests/template-settings.spec.ts#L58
3) [chromium] › template-settings.spec.ts:46:5 › can reset template ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3450 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts-snapshots/can-reset-template-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-chromium-retry1/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-chromium-retry1/can-reset-template-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 3450 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 3450 pixels (ratio 0.01 of all image pixels) are different.
56 | .getByRole('button', { name: 'Reset to a Built-in Template...' })
57 | .click();
> 58 | await expect(page).toHaveScreenshot();
| ^
59 | await page.getByRole('button', { name: 'Cancel' }).click();
60 | await expect(page.locator('h1 .title')).toHaveText(
61 | 'Single Signature (P2PKH)',
at /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts:58:22
|
Test production build:
tests/template-settings.spec.ts#L58
3) [chromium] › template-settings.spec.ts:46:5 › can reset template ──────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3450 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts-snapshots/can-reset-template-1-chromium-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-chromium-retry2/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-chromium-retry2/can-reset-template-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 3450 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 3450 pixels (ratio 0.01 of all image pixels) are different.
56 | .getByRole('button', { name: 'Reset to a Built-in Template...' })
57 | .click();
> 58 | await expect(page).toHaveScreenshot();
| ^
59 | await page.getByRole('button', { name: 'Cancel' }).click();
60 | await expect(page.locator('h1 .title')).toHaveText(
61 | 'Single Signature (P2PKH)',
at /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts:58:22
|
Test production build:
tests/template-settings.spec.ts#L93
4) [chromium] › template-settings.spec.ts:72:5 › can download and re-import template ─────────────
Error: The downloaded file at test-results/single_signature_p2pkh.wallet-template.json must be equivalent to the expected file: tests/fixtures/single_signature_p2pkh.wallet-template.json
expect(received).toStrictEqual(expected) // deep equality
- Expected - 0
+ Received + 1
@@ -45,6 +45,7 @@
"BCH_2024_05",
"BCH_2025_05",
"BCH_2026_05",
"BCH_SPEC",
],
+ "version": 0,
}
91 | JSON.parse(readFileSync(path, { encoding: 'utf8' })),
92 | `The downloaded file at ${path} must be equivalent to the expected file: ${fixture}`,
> 93 | ).toStrictEqual(
| ^
94 | JSON.parse(readFileSync(`tests/fixtures/${file}`, { encoding: 'utf8' })),
95 | );
96 | await loadTemplate(page, path);
at /__w/bitauth-ide/bitauth-ide/tests/template-settings.spec.ts:93:5
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test production build:
[chromium] › routing.spec.ts#L1
[chromium] › routing.spec.ts took 23.9s
|
Test production build
9 failed
[chromium] › notifier.spec.ts:38:5 › displays telemetry consent request, can decline ───────────
[chromium] › template-settings.spec.ts:5:5 › can modify template settings ──────────────────────
[chromium] › template-settings.spec.ts:46:5 › can reset template ───────────────────────────────
[chromium] › template-settings.spec.ts:72:5 › can download and re-import template ──────────────
[chromium] › welcome.spec.ts:21:16 › loads the welcome screen and guide ────────────────────────
[chromium] › welcome.spec.ts:59:5 › loads the single signature template ────────────────────────
[chromium] › welcome.spec.ts:89:5 › loads the multisig template ────────────────────────────────
[chromium] › welcome.spec.ts:109:5 › loads the recoverable vault template ──────────────────────
[chromium] › welcome.spec.ts:130:5 › loads the scratch pad template ────────────────────────────
13 passed (3.4m)
|
Loading