Latest Libauth, add P2SH32 support #87
Annotations
10 errors, 1 warning, 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:
6285 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
- 6285 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
- 6285 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:
6285 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
- 6285 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
- 6285 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:
6285 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
- 6285 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
- 6285 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/welcome.spec.ts#L81
3) [firefox] › welcome.spec.ts:59:5 › loads the single signature template ────────────────────────
Error: Screenshot comparison failed:
2056 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts-snapshots/loads-the-single-signature-template-2-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-single-signature-template-firefox/loads-the-single-signature-template-2-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-single-signature-template-firefox/loads-the-single-signature-template-2-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
- 2056 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
- 2056 pixels (ratio 0.01 of all image pixels) are different.
79 | 'rgb(217, 218, 162)',
80 | );
> 81 | await expect(page).toHaveScreenshot();
| ^
82 | await page.getByText('OP_DUP').first().hover();
83 | await expect(
84 | page.getByText('Duplicate the top item on the stack.'),
at /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts:81:22
|
Test production build:
tests/welcome.spec.ts#L81
3) [firefox] › welcome.spec.ts:59:5 › loads the single signature template ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
2056 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts-snapshots/loads-the-single-signature-template-2-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-single-signature-template-firefox-retry1/loads-the-single-signature-template-2-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-single-signature-template-firefox-retry1/loads-the-single-signature-template-2-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
- 2056 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
- 2056 pixels (ratio 0.01 of all image pixels) are different.
79 | 'rgb(217, 218, 162)',
80 | );
> 81 | await expect(page).toHaveScreenshot();
| ^
82 | await page.getByText('OP_DUP').first().hover();
83 | await expect(
84 | page.getByText('Duplicate the top item on the stack.'),
at /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts:81:22
|
Test production build:
tests/welcome.spec.ts#L81
3) [firefox] › welcome.spec.ts:59:5 › loads the single signature template ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
2056 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts-snapshots/loads-the-single-signature-template-2-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-single-signature-template-firefox-retry2/loads-the-single-signature-template-2-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-single-signature-template-firefox-retry2/loads-the-single-signature-template-2-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
- 2056 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
- 2056 pixels (ratio 0.01 of all image pixels) are different.
79 | 'rgb(217, 218, 162)',
80 | );
> 81 | await expect(page).toHaveScreenshot();
| ^
82 | await page.getByText('OP_DUP').first().hover();
83 | await expect(
84 | page.getByText('Duplicate the top item on the stack.'),
at /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts:81:22
|
Test production build:
tests/welcome.spec.ts#L101
4) [firefox] › welcome.spec.ts:89:5 › loads the multisig template ────────────────────────────────
Error: Screenshot comparison failed:
3388 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts-snapshots/loads-the-multisig-template-2-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-multisig-template-firefox/loads-the-multisig-template-2-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/welcome-loads-the-multisig-template-firefox/loads-the-multisig-template-2-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
- 3388 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
- 3388 pixels (ratio 0.01 of all image pixels) are different.
99 | page.getByRole('heading', { name: 'Cosigner 1 & 2 P2SH' }),
100 | ).toBeVisible();
> 101 | await expect(page).toHaveScreenshot();
| ^
102 | await page.getByRole('button', { name: 'Cosigner 2 & 3' }).click();
103 | await expect(
104 | page.getByRole('heading', { name: 'Cosigner 2 & 3 P2SH' }),
at /__w/bitauth-ide/bitauth-ide/tests/welcome.spec.ts:101:22
|
Test production build:
[firefox] › routing.spec.ts#L1
[firefox] › routing.spec.ts took 35.5s
|
Test production build
7 failed
[firefox] › template-settings.spec.ts:5:5 › can modify template settings ───────────────────────
[firefox] › template-settings.spec.ts:46:5 › can reset template ────────────────────────────────
[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 ──────────────────────────────────────
1 flaky
[firefox] › welcome.spec.ts:21:16 › loads the welcome screen and guide ─────────────────────────
14 passed (3.8m)
|
Loading