H-1978, H-1979, H-2013, H-2014: Update type icons, labels, dataTypes #13754
test.yml
on: pull_request
setup
20s
Matrix: Build
Matrix: Integration
Matrix: Publish
Matrix: Unit
Tests passed
7s
Annotations
15 errors, 4 warnings, and 1 notice
Integration (@tests/hash-backend-integration)
@tests/hash-backend-integration#test:integration: command (/home/runner/work/hash/hash/tests/hash-backend-integration) /opt/hostedtoolcache/node/20.18.1/x64/bin/yarn run test:integration exited (1)
|
src/tests/graph/ontology/primitive/entity-type.test.ts > Entity type CRU > can read a closed entity type:
tests/hash-backend-integration/src/tests/graph/ontology/primitive/entity-type.test.ts#L319
AssertionError: expected [ { schema: { …(7) }, …(1) } ] to deeply equal [ { metadata: { …(4) }, …(1) } ]
- Expected
+ Received
Array [
Object {
"metadata": Object {
"ownedById": "5cbae513-02ec-4011-b019-40414f6e0fc6",
"provenance": Object {
"edition": Object {
"createdById": "33bc5cd7-9e32-4a34-941d-6ad0a1a22dc6",
},
},
"recordId": Object {
"baseUrl": "https://hash.ai/@hash/types/entity-type/user/",
"version": 6,
},
"temporalVersioning": Object {
"transactionTime": Object {
"end": Object {
"kind": "unbounded",
},
"start": Object {
"kind": "inclusive",
"limit": "2024-12-20T09:09:42.106183000Z",
},
},
},
},
"schema": Object {
"$id": "https://hash.ai/@hash/types/entity-type/user/v/6",
"allOf": Array [
Object {
"$id": "https://hash.ai/@hash/types/entity-type/user/v/6",
"depth": 0,
+ "icon": "/icons/types/user.svg",
+ "labelProperty": "https://hash.ai/@hash/types/property-type/preferred-name/",
},
Object {
"$id": "https://hash.ai/@hash/types/entity-type/actor/v/2",
"depth": 1,
},
],
"description": "A user of the HASH application.",
"links": Object {
"https://hash.ai/@hash/types/entity-type/has-avatar/v/1": Object {
"items": Object {
"oneOf": Array [
Object {
"$ref": "https://hash.ai/@hash/types/entity-type/image-file/v/2",
},
],
},
"maxItems": 1,
"minItems": 0,
"type": "array",
},
"https://hash.ai/@hash/types/entity-type/has-bio/v/1": Object {
"items": Object {
"oneOf": Array [
Object {
"$ref": "https://hash.ai/@hash/types/entity-type/profile-bio/v/1",
},
],
},
"maxItems": 1,
"minItems": 0,
"type": "array",
},
"https://hash.ai/@hash/types/entity-type/has-service-account/v/1": Object {
"items": Object {
"oneOf": Array [
Object {
"$ref": "https://hash.ai/@hash/types/entity-type/service-account/v/1",
},
],
},
"type": "array",
},
"https://hash.ai/@hash/types/entity-type/has/v/1": Object {
"items": Object {
"oneOf": Array [
Object {
"$ref": "https://hash.ai/@hash/types/entity-type/browser-plugin-settings/v/1",
},
],
},
"type": "array",
},
"https://hash.ai/@hash/types/entity-type/is-member-of/v/1": Object {
"items": Object {
"oneOf": Array [
Object {
"$ref": "https://hash.ai/@hash/types/entity-type/organization/v/2",
},
],
},
"type": "array",
},
},
"properties": Object {
"https://blockprotocol.org/@blockprotocol/types/property-type/display-name/": Object {
"$ref": "https://blockprotocol.org/@blockprotocol/types/property-type/display-name/v/1",
},
"https://hash.ai/@hash/types/property-type/application-preferences/": Object {
"$ref": "https://hash.ai/@hash/types/property-type/application-preferences/v/1",
},
"https://hash.ai/@hash/types/property-type/email/": Object {
"items": Object {
"$ref": "https://hash.ai/@hash/types/property-type/email/v/1",
},
"minItems": 1,
"type": "array",
},
"https://hash.ai/@hash/types/property-type/enabled-feature-flags/": Object {
"$re
|
Integration (@tests/hash-backend-integration)
Process completed with exit code 1.
|
[chromium] › entity-editing.spec.ts:112:1 › user can update values on property table:
tests/hash-playwright/tests/shared/runtime.ts#L40
1) [chromium] › entity-editing.spec.ts:112:1 › user can update values on property table ──────────
Error: Unexpected browser console messages during test
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 3
- Array []
+ Array [
+ "[error] Failed to load resource: the server responded with a status of 404 (Not Found)",
+ ]
at shared/runtime.ts:40
38 | messages,
39 | "Unexpected browser console messages during test",
> 40 | ).toStrictEqual([]);
| ^
41 | },
42 | });
43 |
at Object.page (/home/runner/work/hash/hash/tests/hash-playwright/tests/shared/runtime.ts:40:7)
|
[chromium] › entity-editing.spec.ts:112:1 › user can update values on property table:
tests/hash-playwright/tests/shared/runtime.ts#L40
1) [chromium] › entity-editing.spec.ts:112:1 › user can update values on property table ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected browser console messages during test
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 3
- Array []
+ Array [
+ "[error] Failed to load resource: the server responded with a status of 404 (Not Found)",
+ ]
at shared/runtime.ts:40
38 | messages,
39 | "Unexpected browser console messages during test",
> 40 | ).toStrictEqual([]);
| ^
41 | },
42 | });
43 |
at Object.page (/home/runner/work/hash/hash/tests/hash-playwright/tests/shared/runtime.ts:40:7)
|
[chromium] › entity-editing.spec.ts:112:1 › user can update values on property table:
tests/hash-playwright/tests/shared/runtime.ts#L40
1) [chromium] › entity-editing.spec.ts:112:1 › user can update values on property table ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected browser console messages during test
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 3
- Array []
+ Array [
+ "[error] Failed to load resource: the server responded with a status of 404 (Not Found)",
+ ]
at shared/runtime.ts:40
38 | messages,
39 | "Unexpected browser console messages during test",
> 40 | ).toStrictEqual([]);
| ^
41 | },
42 | });
43 |
at Object.page (/home/runner/work/hash/hash/tests/hash-playwright/tests/shared/runtime.ts:40:7)
|
[chromium] › entity-editing.spec.ts:155:1 › both the link and properties tables renders some content:
tests/hash-playwright/tests/shared/runtime.ts#L40
2) [chromium] › entity-editing.spec.ts:155:1 › both the link and properties tables renders some content
Error: Unexpected browser console messages during test
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 3
- Array []
+ Array [
+ "[error] Failed to load resource: the server responded with a status of 404 (Not Found)",
+ ]
at shared/runtime.ts:40
38 | messages,
39 | "Unexpected browser console messages during test",
> 40 | ).toStrictEqual([]);
| ^
41 | },
42 | });
43 |
at Object.page (/home/runner/work/hash/hash/tests/hash-playwright/tests/shared/runtime.ts:40:7)
|
[chromium] › entity-editing.spec.ts:155:1 › both the link and properties tables renders some content:
tests/hash-playwright/tests/shared/runtime.ts#L40
2) [chromium] › entity-editing.spec.ts:155:1 › both the link and properties tables renders some content
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected browser console messages during test
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 3
- Array []
+ Array [
+ "[error] Failed to load resource: the server responded with a status of 404 (Not Found)",
+ ]
at shared/runtime.ts:40
38 | messages,
39 | "Unexpected browser console messages during test",
> 40 | ).toStrictEqual([]);
| ^
41 | },
42 | });
43 |
at Object.page (/home/runner/work/hash/hash/tests/hash-playwright/tests/shared/runtime.ts:40:7)
|
[chromium] › entity-editing.spec.ts:155:1 › both the link and properties tables renders some content:
tests/hash-playwright/tests/shared/runtime.ts#L40
2) [chromium] › entity-editing.spec.ts:155:1 › both the link and properties tables renders some content
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected browser console messages during test
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 3
- Array []
+ Array [
+ "[error] Failed to load resource: the server responded with a status of 404 (Not Found)",
+ ]
at shared/runtime.ts:40
38 | messages,
39 | "Unexpected browser console messages during test",
> 40 | ).toStrictEqual([]);
| ^
41 | },
42 | });
43 |
at Object.page (/home/runner/work/hash/hash/tests/hash-playwright/tests/shared/runtime.ts:40:7)
|
[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
3) [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
3) [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
47 × 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
|
Integration (@tests/hash-playwright)
@tests/hash-playwright#test:integration: command (/home/runner/work/hash/hash/tests/hash-playwright) /opt/hostedtoolcache/node/20.18.1/x64/bin/yarn run test:integration exited (1)
|
Integration (@tests/hash-playwright)
Process completed with exit code 1.
|
Integration (@tests/hash-playwright)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Tests passed
Process completed with exit code 1.
|
Integration (@tests/hash-backend-integration)
No files were found with the provided path: tests/hash-playwright/playwright-report. No artifacts will be uploaded.
|
Slow Test:
tests/hash-playwright/[chromium] › browser-plugin.spec.ts#L1
tests/hash-playwright/[chromium] › browser-plugin.spec.ts took 40.3s
|
Slow Test:
tests/hash-playwright/[chromium] › inbox-page.spec.ts#L1
tests/hash-playwright/[chromium] › inbox-page.spec.ts took 28.3s
|
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
2 failed
[chromium] › entity-editing.spec.ts:112:1 › user can update values on property table ───────────
[chromium] › entity-editing.spec.ts:155:1 › both the link and properties tables renders some content
1 flaky
[chromium] › entities-page.spec.ts:10:1 › user can visit a page listing entities of a type ─────
5 skipped
16 passed (2.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
-logs
|
73.4 KB |
|
-report
|
26.6 MB |
|
hashintel~hash~AP0KZQ.dockerbuild
|
96.6 KB |
|
hashintel~hash~JVSADY.dockerbuild
|
97 KB |
|
hashintel~hash~WHOWWK.dockerbuild
|
99.3 KB |
|
tests.hash-backend-load-logs
|
13.4 KB |
|