Support for 2025 CHIPs, loops, and performance improvements #84
Annotations
10 errors, 1 warning, and 1 notice
tests/autosave.spec.ts#L49
1) [firefox] › autosave.spec.ts:3:5 › autosaves after every action ───────────────────────────────
Error: Screenshot comparison failed:
356 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/autosave.spec.ts-snapshots/autosaves-after-every-action-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/autosave-autosaves-after-every-action-firefox/autosaves-after-every-action-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/autosave-autosaves-after-every-action-firefox/autosaves-after-every-action-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
- 356 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
- 356 pixels (ratio 0.01 of all image pixels) are different.
47 | await expect(page.locator('.detected-link').first()).toBeVisible();
48 | await page.getByText('Paste a template below to import.').click();
> 49 | await expect(page).toHaveScreenshot();
| ^
50 | await page.getByRole('button', { name: 'Import Template' }).click();
51 | await expect(page.locator('h1 .title')).toHaveText('Untitled');
52 | await page.getByRole('button', { name: 'Scratch Pad' }).click();
at /__w/bitauth-ide/bitauth-ide/tests/autosave.spec.ts:49:22
|
tests/autosave.spec.ts#L49
1) [firefox] › autosave.spec.ts:3:5 › autosaves after every action ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
356 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/autosave.spec.ts-snapshots/autosaves-after-every-action-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/autosave-autosaves-after-every-action-firefox-retry1/autosaves-after-every-action-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/autosave-autosaves-after-every-action-firefox-retry1/autosaves-after-every-action-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
- 356 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
- 356 pixels (ratio 0.01 of all image pixels) are different.
47 | await expect(page.locator('.detected-link').first()).toBeVisible();
48 | await page.getByText('Paste a template below to import.').click();
> 49 | await expect(page).toHaveScreenshot();
| ^
50 | await page.getByRole('button', { name: 'Import Template' }).click();
51 | await expect(page.locator('h1 .title')).toHaveText('Untitled');
52 | await page.getByRole('button', { name: 'Scratch Pad' }).click();
at /__w/bitauth-ide/bitauth-ide/tests/autosave.spec.ts:49:22
|
tests/autosave.spec.ts#L49
1) [firefox] › autosave.spec.ts:3:5 › autosaves after every action ───────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
356 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/autosave.spec.ts-snapshots/autosaves-after-every-action-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/autosave-autosaves-after-every-action-firefox-retry2/autosaves-after-every-action-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/autosave-autosaves-after-every-action-firefox-retry2/autosaves-after-every-action-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
- 356 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
- 356 pixels (ratio 0.01 of all image pixels) are different.
47 | await expect(page.locator('.detected-link').first()).toBeVisible();
48 | await page.getByText('Paste a template below to import.').click();
> 49 | await expect(page).toHaveScreenshot();
| ^
50 | await page.getByRole('button', { name: 'Import Template' }).click();
51 | await expect(page.locator('h1 .title')).toHaveText('Untitled');
52 | await page.getByRole('button', { name: 'Scratch Pad' }).click();
at /__w/bitauth-ide/bitauth-ide/tests/autosave.spec.ts:49:22
|
tests/editor.spec.ts#L35
2) [firefox] › editor.spec.ts:32:5 › displays evaluation of tested scripts ───────────────────────
Error: Screenshot comparison failed:
20424 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/displays-evaluation-of-tested-scripts-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-firefox/displays-evaluation-of-tested-scripts-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-firefox/displays-evaluation-of-tested-scripts-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
- 20424 pixels (ratio 0.03 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
- 20424 pixels (ratio 0.03 of all image pixels) are different.
33 | await loadTemplate(page, 'tests/fixtures/state-merkle-trees.json');
34 | await page.getByRole('button', { name: 'Empty Leaf', exact: true }).click();
> 35 | await expect(page).toHaveScreenshot();
| ^
36 | await page.getByRole('button', { name: 'Filled Leaf', exact: true }).click();
37 | await expect(page).toHaveScreenshot();
38 | await page.getByRole('button', { name: 'Left Sibling', exact: true }).click();
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:35:22
|
tests/editor.spec.ts#L35
2) [firefox] › editor.spec.ts:32:5 › displays evaluation of tested scripts ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
20424 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/displays-evaluation-of-tested-scripts-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-firefox-retry1/displays-evaluation-of-tested-scripts-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-firefox-retry1/displays-evaluation-of-tested-scripts-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
- 20424 pixels (ratio 0.03 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
- 20424 pixels (ratio 0.03 of all image pixels) are different.
33 | await loadTemplate(page, 'tests/fixtures/state-merkle-trees.json');
34 | await page.getByRole('button', { name: 'Empty Leaf', exact: true }).click();
> 35 | await expect(page).toHaveScreenshot();
| ^
36 | await page.getByRole('button', { name: 'Filled Leaf', exact: true }).click();
37 | await expect(page).toHaveScreenshot();
38 | await page.getByRole('button', { name: 'Left Sibling', exact: true }).click();
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:35:22
|
tests/editor.spec.ts#L35
2) [firefox] › editor.spec.ts:32:5 › displays evaluation of tested scripts ───────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
20424 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/displays-evaluation-of-tested-scripts-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-firefox-retry2/displays-evaluation-of-tested-scripts-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-firefox-retry2/displays-evaluation-of-tested-scripts-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
- 20424 pixels (ratio 0.03 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
- 20424 pixels (ratio 0.03 of all image pixels) are different.
33 | await loadTemplate(page, 'tests/fixtures/state-merkle-trees.json');
34 | await page.getByRole('button', { name: 'Empty Leaf', exact: true }).click();
> 35 | await expect(page).toHaveScreenshot();
| ^
36 | await page.getByRole('button', { name: 'Filled Leaf', exact: true }).click();
37 | await expect(page).toHaveScreenshot();
38 | await page.getByRole('button', { name: 'Left Sibling', exact: true }).click();
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:35:22
|
tests/import-export.spec.ts#L16
3) [firefox] › import-export.spec.ts:3:5 › import template from file ─────────────────────────────
Error: Screenshot comparison failed:
5143 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/import-export.spec.ts-snapshots/import-template-from-file-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/import-export-import-template-from-file-firefox/import-template-from-file-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/import-export-import-template-from-file-firefox/import-template-from-file-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
- 4024 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
- 17 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1099 pixels (ratio 0.01 of all image pixels) are different.
- waiting 500ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5143 pixels (ratio 0.01 of all image pixels) are different.
14 | await expect(page.getByText('"2-of-3 Multisig"')).toBeVisible();
15 | await expect(page.locator('.detected-link').first()).toBeHidden();
> 16 | await expect(page).toHaveScreenshot();
| ^
17 | await page.getByRole('button', { name: 'Import Template' }).click();
18 | await expect(page.locator('h1 .title')).toHaveText('2-of-3 Multisig');
19 | });
at /__w/bitauth-ide/bitauth-ide/tests/import-export.spec.ts:16:22
|
tests/import-export.spec.ts#L16
3) [firefox] › import-export.spec.ts:3:5 › import template from file ─────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5143 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/import-export.spec.ts-snapshots/import-template-from-file-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/import-export-import-template-from-file-firefox-retry1/import-template-from-file-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/import-export-import-template-from-file-firefox-retry1/import-template-from-file-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
- 4024 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
- 17 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1099 pixels (ratio 0.01 of all image pixels) are different.
- waiting 500ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5143 pixels (ratio 0.01 of all image pixels) are different.
14 | await expect(page.getByText('"2-of-3 Multisig"')).toBeVisible();
15 | await expect(page.locator('.detected-link').first()).toBeHidden();
> 16 | await expect(page).toHaveScreenshot();
| ^
17 | await page.getByRole('button', { name: 'Import Template' }).click();
18 | await expect(page.locator('h1 .title')).toHaveText('2-of-3 Multisig');
19 | });
at /__w/bitauth-ide/bitauth-ide/tests/import-export.spec.ts:16:22
|
tests/import-export.spec.ts#L16
3) [firefox] › import-export.spec.ts:3:5 › import template from file ─────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5143 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/import-export.spec.ts-snapshots/import-template-from-file-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/import-export-import-template-from-file-firefox-retry2/import-template-from-file-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/import-export-import-template-from-file-firefox-retry2/import-template-from-file-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
- 4024 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
- 670 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 446 pixels (ratio 0.01 of all image pixels) are different.
- waiting 500ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5143 pixels (ratio 0.01 of all image pixels) are different.
14 | await expect(page.getByText('"2-of-3 Multisig"')).toBeVisible();
15 | await expect(page.locator('.detected-link').first()).toBeHidden();
> 16 | await expect(page).toHaveScreenshot();
| ^
17 | await page.getByRole('button', { name: 'Import Template' }).click();
18 | await expect(page.locator('h1 .title')).toHaveText('2-of-3 Multisig');
19 | });
at /__w/bitauth-ide/bitauth-ide/tests/import-export.spec.ts:16:22
|
tests/import-export.spec.ts#L33
4) [firefox] › import-export.spec.ts:21:5 › shows JSON errors ────────────────────────────────────
Error: Screenshot comparison failed:
417 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/import-export.spec.ts-snapshots/shows-JSON-errors-1-firefox-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/import-export-shows-JSON-errors-firefox/shows-JSON-errors-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/import-export-shows-JSON-errors-firefox/shows-JSON-errors-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
- 417 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
- 417 pixels (ratio 0.01 of all image pixels) are different.
31 | .getByRole('heading', { name: 'Import/Export Wallet Template' })
32 | .hover(); /* avoid any hover styling in editor */
> 33 | await expect(page).toHaveScreenshot();
| ^
34 | await page.getByText('(show)').click();
35 | await expect(
36 | page.getByText('Expected a JSON object, array or literal.'),
at /__w/bitauth-ide/bitauth-ide/tests/import-export.spec.ts:33:22
|
[firefox] › entity-settings.spec.ts#L1
[firefox] › entity-settings.spec.ts took 39.1s
|
4 failed
[firefox] › autosave.spec.ts:3:5 › autosaves after every action ────────────────────────────────
[firefox] › editor.spec.ts:32:5 › displays evaluation of tested scripts ────────────────────────
[firefox] › import-export.spec.ts:3:5 › import template from file ──────────────────────────────
[firefox] › import-export.spec.ts:21:5 › shows JSON errors ─────────────────────────────────────
18 passed (3.4m)
|
This job failed
Loading