Add P2S and OP_EVAL support #101
Annotations
10 errors, 2 warnings, and 1 notice
Test production build:
tests/template-settings.spec.ts#L27
1) [firefox] › template-settings.spec.ts:5:5 › can modify template settings ──────────────────────
Error: Screenshot comparison failed:
6293 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-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-firefox/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-firefox/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
- 6293 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
- 6293 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
1) [firefox] › template-settings.spec.ts:5:5 › can modify template settings ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
6293 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-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-firefox-retry1/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-firefox-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
- 6293 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
- 6293 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
1) [firefox] › template-settings.spec.ts:5:5 › can modify template settings ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
6293 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-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-firefox-retry2/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-firefox-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
- 6293 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
- 6293 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
2) [firefox] › template-settings.spec.ts:46:5 › can reset template ───────────────────────────────
Error: Screenshot comparison failed:
2916 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-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-firefox/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-firefox/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
- 2916 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
- 2916 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
2) [firefox] › template-settings.spec.ts:46:5 › can reset template ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
2916 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-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-firefox-retry1/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-firefox-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
- 2916 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
- 2916 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
2) [firefox] › template-settings.spec.ts:46:5 › can reset template ───────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
2916 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-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-firefox-retry2/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-firefox-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
- 2916 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
- 2916 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
3) [firefox] › 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
|
Test production build:
tests/template-settings.spec.ts#L93
3) [firefox] › template-settings.spec.ts:72:5 › can download and re-import template ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
Test production build:
tests/template-settings.spec.ts#L93
3) [firefox] › template-settings.spec.ts:72:5 › can download and re-import template ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
|
Test production build:
tests/welcome.spec.ts#L32
4) [firefox] › welcome.spec.ts:21:16 › loads the welcome screen and guide ────────────────────────
Error: Screenshot comparison failed:
8 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts-snapshots/loads-the-welcome-screen-and-guide-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-welcome-screen-and-guide-firefox/loads-the-welcome-screen-and-guide-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-welcome-screen-and-guide-firefox/loads-the-welcome-screen-and-guide-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.
30 | page.getByRole('heading', { name: 'Choose a template to begin' }),
31 | ).toBeVisible();
> 32 | await expect(page).toHaveScreenshot();
| ^
33 | await expect(
34 | page.getByText('New to Bitauth IDE? Check out the guide!'),
35 | ).toBeVisible({ timeout: 10_000 }); /* Approx. 3 second delay */
at /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts:32:24
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test production build:
[firefox] › routing.spec.ts#L1
[firefox] › routing.spec.ts took 37.7s
|
Test production build
9 failed
[firefox] › template-settings.spec.ts:5:5 › can modify template settings ───────────────────────
[firefox] › template-settings.spec.ts:46:5 › can reset template ────────────────────────────────
[firefox] › template-settings.spec.ts:72:5 › can download and re-import template ───────────────
[firefox] › welcome.spec.ts:21:16 › loads the welcome screen and guide ─────────────────────────
[firefox] › welcome.spec.ts:59:5 › loads the single signature template ─────────────────────────
[firefox] › welcome.spec.ts:89:5 › loads the multisig template ─────────────────────────────────
[firefox] › welcome.spec.ts:109:5 › loads the recoverable vault template ───────────────────────
[firefox] › welcome.spec.ts:130:5 › loads the scratch pad template ─────────────────────────────
[firefox] › welcome.spec.ts:145:5 › can import a template ──────────────────────────────────────
13 passed (4.2m)
|
Loading