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