Skip to content

H-3699, H-3374: Use and set value dataTypeId in the entity editor #12949

H-3699, H-3374: Use and set value dataTypeId in the entity editor

H-3699, H-3374: Use and set value dataTypeId in the entity editor #12949

Triggered via pull request December 5, 2024 19:54
Status Failure
Total duration 13m 51s
Artifacts 7

test.yml

on: pull_request
Matrix: Build
Matrix: Integration
Matrix: Publish
Matrix: Unit
Tests passed
5s
Tests passed
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 3 warnings, and 1 notice
tests/entity.test.ts > propertyMetadata access: libs/@local/graph/sdk/typescript/tests/entity.test.ts#L143
AssertionError: expected { value: { …(1) }, …(1) } to deeply equal { confidence: 0.2 } - Expected + Received Object { + "metadata": Object { "confidence": 0.2, + }, + "value": Object { + "https://example.com/property-type/aa/": Object { + "value": Object { + "https://example.com/property-type/aaa/": Object { + "metadata": Object { + "confidence": 0.1, + "dataTypeId": "https://blockprotocol.org/@blockprotocol/types/data-type/text/v/1", + }, + }, + }, + }, + }, } ❯ tests/entity.test.ts:143:7
Unit (@local/hash-graph-sdk)
@local/hash-graph-sdk#test:unit: command (/home/runner/work/hash/hash/libs/@local/graph/sdk/typescript) /opt/hostedtoolcache/node/20.18.1/x64/bin/yarn run test:unit exited (1)
Unit (@local/hash-graph-sdk)
Process completed with exit code 1.
[chromium] › entities-page.spec.ts:10:1 › user can visit a page listing entities of a type: tests/hash-playwright/tests/entities-page.spec.ts#L1
1) [chromium] › entities-page.spec.ts:10:1 › user can visit a page listing entities of a type ──── Test timeout of 30000ms exceeded.
[chromium] › entities-page.spec.ts:10:1 › user can visit a page listing entities of a type: tests/hash-playwright/tests/entities-page.spec.ts#L31
1) [chromium] › entities-page.spec.ts:10:1 › user can visit a page listing entities of a type ──── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('text=Document').first() - locator resolved to <span class="MuiTypography-root MuiTypography-smallTextLabels css-mpg5zb">…</span> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 100ms 48 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 500ms 29 | 30 | // Click on 'Document' in the entities list > 31 | await page.locator("text=Document").first().click(); | ^ 32 | 33 | // Check if we are on the 'Document' entities page 34 | await page.waitForURL((url) => { at /home/runner/work/hash/hash/tests/hash-playwright/tests/entities-page.spec.ts:31:47
Tests passed
Process completed with exit code 1.
Slow Test: tests/hash-playwright/[chromium] › browser-plugin.spec.ts#L1
tests/hash-playwright/[chromium] › browser-plugin.spec.ts took 41.0s
Slow Test: tests/hash-playwright/[chromium] › inbox-page.spec.ts#L1
tests/hash-playwright/[chromium] › inbox-page.spec.ts took 28.4s
Tests passed
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 flaky [chromium] › entities-page.spec.ts:10:1 › user can visit a page listing entities of a type ───── 5 skipped 18 passed (2.5m)

Artifacts

Produced during runtime
Name Size
hashintel~hash~7XB27Z.dockerbuild Expired
94.2 KB
hashintel~hash~97J5BD.dockerbuild Expired
96.1 KB
hashintel~hash~B99C74.dockerbuild Expired
96.8 KB
tests.hash-backend-integration-logs Expired
33 KB
tests.hash-backend-load-logs Expired
9.76 KB
tests.hash-playwright-logs Expired
40.3 KB
tests.hash-playwright-report Expired
3.92 MB