Add P2S and OP_EVAL support #101
Annotations
10 errors, 1 warning, and 1 notice
Test development build:
tests/editor.spec.ts#L13
1) [mobile-webkit] › editor.spec.ts:3:5 › renders spacers as expected ────────────────────────────
Error: Screenshot comparison failed:
729 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/renders-spacers-as-expected-1-mobile-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-renders-spacers-as-expected-mobile-webkit/renders-spacers-as-expected-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-renders-spacers-as-expected-mobile-webkit/renders-spacers-as-expected-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
- 729 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
- 729 pixels (ratio 0.01 of all image pixels) are different.
11 | `window._IDE_E2E_TESTING_VIEW_CONFIG.setFrames2SplitHeight(10)`,
12 | );
> 13 | await expect(page).toHaveScreenshot();
| ^
14 | await page.getByRole('button', { name: 'False' }).click();
15 | await expect(page).toHaveScreenshot();
16 | });
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:13:22
|
Test development build:
tests/editor.spec.ts#L13
1) [mobile-webkit] › editor.spec.ts:3:5 › renders spacers as expected ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
729 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/renders-spacers-as-expected-1-mobile-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-renders-spacers-as-expected-mobile-webkit-retry1/renders-spacers-as-expected-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-renders-spacers-as-expected-mobile-webkit-retry1/renders-spacers-as-expected-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
- 729 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
- 729 pixels (ratio 0.01 of all image pixels) are different.
11 | `window._IDE_E2E_TESTING_VIEW_CONFIG.setFrames2SplitHeight(10)`,
12 | );
> 13 | await expect(page).toHaveScreenshot();
| ^
14 | await page.getByRole('button', { name: 'False' }).click();
15 | await expect(page).toHaveScreenshot();
16 | });
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:13:22
|
Test development build:
tests/editor.spec.ts#L13
1) [mobile-webkit] › editor.spec.ts:3:5 › renders spacers as expected ────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
729 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/renders-spacers-as-expected-1-mobile-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-renders-spacers-as-expected-mobile-webkit-retry2/renders-spacers-as-expected-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-renders-spacers-as-expected-mobile-webkit-retry2/renders-spacers-as-expected-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
- 729 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
- 729 pixels (ratio 0.01 of all image pixels) are different.
11 | `window._IDE_E2E_TESTING_VIEW_CONFIG.setFrames2SplitHeight(10)`,
12 | );
> 13 | await expect(page).toHaveScreenshot();
| ^
14 | await page.getByRole('button', { name: 'False' }).click();
15 | await expect(page).toHaveScreenshot();
16 | });
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:13:22
|
Test development build:
tests/editor.spec.ts#L25
2) [mobile-webkit] › editor.spec.ts:18:5 › renders error as expected for a non-push opcode in unlocking script
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Unlock', exact: true })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Unlock', exact: true })
23 | await expect(
24 | page.getByRole('heading', { name: 'Unlock', exact: true }),
> 25 | ).toBeVisible();
| ^
26 | await expect(
27 | page.getByText('Unlocking bytecode may contain only push operations.'),
28 | ).toBeVisible();
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:25:5
|
Test development build:
tests/editor.spec.ts#L25
2) [mobile-webkit] › editor.spec.ts:18:5 › renders error as expected for a non-push opcode in unlocking script
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Unlock', exact: true })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Unlock', exact: true })
23 | await expect(
24 | page.getByRole('heading', { name: 'Unlock', exact: true }),
> 25 | ).toBeVisible();
| ^
26 | await expect(
27 | page.getByText('Unlocking bytecode may contain only push operations.'),
28 | ).toBeVisible();
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:25:5
|
Test development build:
tests/editor.spec.ts#L25
2) [mobile-webkit] › editor.spec.ts:18:5 › renders error as expected for a non-push opcode in unlocking script
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Unlock', exact: true })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Unlock', exact: true })
23 | await expect(
24 | page.getByRole('heading', { name: 'Unlock', exact: true }),
> 25 | ).toBeVisible();
| ^
26 | await expect(
27 | page.getByText('Unlocking bytecode may contain only push operations.'),
28 | ).toBeVisible();
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:25:5
|
Test development build:
tests/editor.spec.ts#L35
3) [mobile-webkit] › editor.spec.ts:32:5 › displays evaluation of tested scripts ─────────────────
Error: Screenshot comparison failed:
27135 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/displays-evaluation-of-tested-scripts-1-mobile-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-mobile-webkit/displays-evaluation-of-tested-scripts-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-mobile-webkit/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
- 27135 pixels (ratio 0.04 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
- 27135 pixels (ratio 0.04 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
|
Test development build:
tests/editor.spec.ts#L35
3) [mobile-webkit] › editor.spec.ts:32:5 › displays evaluation of tested scripts ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
27135 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/displays-evaluation-of-tested-scripts-1-mobile-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-mobile-webkit-retry1/displays-evaluation-of-tested-scripts-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-mobile-webkit-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
- 27135 pixels (ratio 0.04 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
- 27135 pixels (ratio 0.04 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
|
Test development build:
tests/editor.spec.ts#L35
3) [mobile-webkit] › editor.spec.ts:32:5 › displays evaluation of tested scripts ─────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
27135 pixels (ratio 0.04 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/displays-evaluation-of-tested-scripts-1-mobile-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-mobile-webkit-retry2/displays-evaluation-of-tested-scripts-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-displays-evaluation-of-tested-scripts-mobile-webkit-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
- 27135 pixels (ratio 0.04 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
- 27135 pixels (ratio 0.04 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
|
Test development build:
tests/editor.spec.ts#L74
4) [mobile-webkit] › editor.spec.ts:64:5 › ignores misleading unicode characters, shows compilation on hover
Error: Screenshot comparison failed:
620 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts-snapshots/ignores-misleading-unicode-characters-shows-compilation-on-hover-1-mobile-webkit-linux.png
Received: /__w/bitauth-ide/bitauth-ide/test-results/editor-ignores-misleading--189cc--shows-compilation-on-hover-mobile-webkit/ignores-misleading-unicode-38c32-hows-compilation-on-hover-1-actual.png
Diff: /__w/bitauth-ide/bitauth-ide/test-results/editor-ignores-misleading--189cc--shows-compilation-on-hover-mobile-webkit/ignores-misleading-unicode-38c32-hows-compilation-on-hover-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
- 620 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
- 620 pixels (ratio 0.01 of all image pixels) are different.
72 | await page.getByText('<').first().hover();
73 | await expect(page.getByText('Compiled: 0x03666974')).toBeVisible();
> 74 | await expect(page).toHaveScreenshot();
| ^
75 | });
76 |
77 | test('renders loops as expected', async ({ page }) => {
at /__w/bitauth-ide/bitauth-ide/tests/editor.spec.ts:74:22
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test development build
12 failed
[mobile-webkit] › editor.spec.ts:3:5 › renders spacers as expected ─────────────────────────────
[mobile-webkit] › editor.spec.ts:18:5 › renders error as expected for a non-push opcode in unlocking script
[mobile-webkit] › editor.spec.ts:32:5 › displays evaluation of tested scripts ──────────────────
[mobile-webkit] › editor.spec.ts:64:5 › ignores misleading unicode characters, shows compilation on hover
[mobile-webkit] › editor.spec.ts:77:5 › renders loops as expected ──────────────────────────────
[mobile-webkit] › entity-settings.spec.ts:3:5 › renders entity settings ────────────────────────
[mobile-webkit] › entity-settings.spec.ts:30:5 › allows single entity deletion and recreation ──
[mobile-webkit] › entity-settings.spec.ts:98:5 › can switch between entities ───────────────────
[mobile-webkit] › import-export.spec.ts:3:5 › import template from file ────────────────────────
[mobile-webkit] › import-export.spec.ts:21:5 › shows JSON errors ───────────────────────────────
[mobile-webkit] › notifier.spec.ts:3:5 › displays update notifier, can delay update ────────────
[mobile-webkit] › notifier.spec.ts:38:5 › displays telemetry consent request, can decline ──────
9 passed (8.1m)
|
Loading