Support for 2025 CHIPs, loops, and performance improvements #104
Annotations
10 errors, 2 warnings, and 1 notice
Test development build:
tests/template-settings.spec.ts#L27
1) [webkit] › template-settings.spec.ts:5:5 › can modify template settings ───────────────────────
Error: Screenshot comparison failed:
5809 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-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-webkit/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-webkit/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
- 5809 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
- 5809 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 development build:
tests/template-settings.spec.ts#L27
1) [webkit] › template-settings.spec.ts:5:5 › can modify template settings ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5809 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-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-webkit-retry1/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-webkit-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
- 5809 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
- 5809 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 development build:
tests/template-settings.spec.ts#L27
1) [webkit] › template-settings.spec.ts:5:5 › can modify template settings ───────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5809 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-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-webkit-retry2/can-modify-template-settings-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-modify-template-settings-webkit-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
- 5809 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
- 5809 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 development build:
tests/template-settings.spec.ts#L58
2) [webkit] › template-settings.spec.ts:46:5 › can reset template ────────────────────────────────
Error: Screenshot comparison failed:
3580 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-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-webkit/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-webkit/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
- 3580 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
- 3580 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 development build:
tests/template-settings.spec.ts#L58
2) [webkit] › template-settings.spec.ts:46:5 › can reset template ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3580 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-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-webkit-retry1/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-webkit-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
- 3580 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
- 3580 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 development build:
tests/template-settings.spec.ts#L58
2) [webkit] › template-settings.spec.ts:46:5 › can reset template ────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3580 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-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-webkit-retry2/can-reset-template-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/template-settings-can-reset-template-webkit-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
- 3580 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
- 3580 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 development build:
tests/template-settings.spec.ts#L93
3) [webkit] › 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 development build:
tests/template-settings.spec.ts#L93
3) [webkit] › 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 development build:
tests/template-settings.spec.ts#L93
3) [webkit] › 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 development build:
tests/welcome.spec.ts#L32
4) [webkit] › welcome.spec.ts:21:16 › loads the welcome screen and guide ─────────────────────────
Error: Screenshot comparison failed:
53 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-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-welcome-screen-and-guide-webkit/loads-the-welcome-screen-and-guide-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-welcome-screen-and-guide-webkit/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
- 53 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
- 53 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 development build:
[webkit] › routing.spec.ts#L1
[webkit] › routing.spec.ts took 40.5s
|
Test development build
10 failed
[webkit] › template-settings.spec.ts:5:5 › can modify template settings ────────────────────────
[webkit] › template-settings.spec.ts:46:5 › can reset template ─────────────────────────────────
[webkit] › template-settings.spec.ts:72:5 › can download and re-import template ────────────────
[webkit] › welcome.spec.ts:21:16 › loads the welcome screen and guide ──────────────────────────
[webkit] › welcome.spec.ts:59:5 › loads the single signature template ──────────────────────────
[webkit] › welcome.spec.ts:89:5 › loads the multisig template ──────────────────────────────────
[webkit] › welcome.spec.ts:109:5 › loads the recoverable vault template ────────────────────────
[webkit] › welcome.spec.ts:130:5 › loads the scratch pad template ──────────────────────────────
[webkit] › welcome.spec.ts:145:5 › can import a template ───────────────────────────────────────
[mobile-webkit] › autosave.spec.ts:3:5 › autosaves after every action ──────────────────────────
12 passed (4.8m)
|
Loading