fix(web): remove message center entry points #17111
Annotations
10 errors
|
Web workspace tests
Process completed with exit code 1.
|
|
Web workspace tests:
apps/web/tests/components/App.project-create-race.test.tsx#L1856
AssertionError: expected "vi.fn()" to be called with arguments: [ 'project-bound-a', …(1) ]
Received:
1st vi.fn() call:
@@ -24,8 +24,9 @@
"seatLimit": 5,
"usedSeats": 1,
},
"workspaceId": "ws-b",
"workspaceMemberId": "member-ws-b",
+ "workspaceName": "ws-b",
"workspaceType": "team",
},
]
Number of calls: 1
Ignored nodes: comments, script, style
<html
data-od-app-mounted="1"
data-theme="light"
style="--accent: #353535; --accent-strong: color-mix(in srgb, #353535 82%, var(--text-strong)); --accent-soft: color-mix(in srgb, #353535 12%, var(--bg-subtle)); --accent-tint: color-mix(in srgb, #353535 6%, var(--bg-panel)); --accent-hover: color-mix(in srgb, #353535 86%, var(--text-strong));"
>
<head />
<body>
<div>
<div
data-reduced-motion="user"
data-testid="motion-config"
>
<div
class="workspace-shell workspace-shell--web"
data-client-type="web"
>
<span
data-testid="workspace-tabs-active-project-workspace"
>
unresolved
</span>
<div
class="workspace-shell__body"
>
<main>
<div
data-testid="entry-home-surface"
/>
<div
data-testid="amr-login-status"
>
null
</div>
<button
type="button"
>
Create project
</button>
<button
type="button"
>
Create prompted project
</button>
<button
type="button"
>
Create plugin share project
</button>
<button
type="button"
>
Create project with working dir
</button>
<button
type="button"
>
Create project with context dirs
</button>
<button
type="button"
>
Host import folder
</button>
<button
type="button"
>
Refresh agents
</button>
<button
type="button"
>
Open settings from home
</button>
<button
type="button"
>
Open missing project
</button>
<button
type="button"
>
Open catalog project
</button>
<button
type="button"
>
Open updated catalog project
</button>
<button
type="button"
>
Open own unbound project
</button>
<button
type="button"
>
Open workspace A project
</button>
<button
type="button"
>
Open stale own workspace A project
</button>
<div
data-testid="entry-agent-list"
/>
<div
data-testid="entry-project-project-bound-a"
>
<span>
Workspace A local
</span>
<button
type="button"
>
Open
Workspace A local
</button>
<button
type="button"
>
Delete
Workspace A local
</button>
</div>
</main>
</div>
</div>
<div
aria-live="assertive"
class="od-toast tone-error placement-bottom"
role="alert"
>
<div
|
|
Web workspace tests:
apps/web/tests/components/App.project-create-race.test.tsx#L1683
AssertionError: expected "vi.fn()" to be called with arguments: [ 'project-shared', …(1) ]
Received:
1st vi.fn() call:
@@ -24,8 +24,9 @@
"seatLimit": 5,
"usedSeats": 1,
},
"workspaceId": "ws-1",
"workspaceMemberId": "wm-1",
+ "workspaceName": "ws-1",
"workspaceType": "team",
},
]
Number of calls: 1
❯ tests/components/App.project-create-race.test.tsx:1683:30
|
|
Web workspace tests:
apps/web/tests/components/App.project-create-race.test.tsx#L1552
AssertionError: expected "vi.fn()" to be called with arguments: [ 'project-new', …(3) ]
Received:
1st vi.fn() call:
@@ -26,8 +26,9 @@
"seatLimit": 5,
"usedSeats": 1,
},
"workspaceId": "ws-create",
"workspaceMemberId": "wm-create",
+ "workspaceName": "ws-create",
"workspaceType": "team",
},
]
Number of calls: 1
❯ tests/components/App.project-create-race.test.tsx:1552:44
|
|
Web workspace tests:
apps/web/tests/useWorkspaceContext.sign-in-refresh.test.tsx#L141
AssertionError: expected { workspaceType: 'team', …(12) } to deeply equal { workspaceType: 'team', …(11) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
@@ -22,7 +22,8 @@
"usedSeats": 2,
},
"teamName": "Acme",
"workspaceId": "ws-1",
"workspaceMemberId": "member-1",
+ "workspaceName": "Acme",
"workspaceType": "team",
}
❯ tests/useWorkspaceContext.sign-in-refresh.test.tsx:141:56
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
|
Web workspace tests:
apps/web/tests/useWorkspaceContext.sign-in-refresh.test.tsx#L111
AssertionError: expected { workspaceType: 'team', …(12) } to deeply equal { workspaceType: 'team', …(11) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
@@ -22,7 +22,8 @@
"usedSeats": 2,
},
"teamName": "Acme",
"workspaceId": "ws-1",
"workspaceMemberId": "member-1",
+ "workspaceName": "Acme",
"workspaceType": "team",
}
❯ tests/useWorkspaceContext.sign-in-refresh.test.tsx:111:56
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
|
Web workspace tests:
apps/web/tests/use-project-collab.context-seed.test.tsx#L281
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/use-project-collab.context-seed.test.tsx:281:53
|
|
Web workspace tests:
apps/web/tests/use-project-collab.context-seed.test.tsx#L235
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/use-project-collab.context-seed.test.tsx:235:53
|
|
Web workspace tests:
apps/web/tests/use-project-collab.context-seed.test.tsx#L193
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ tests/use-project-collab.context-seed.test.tsx:193:47
|
|
Web workspace tests:
apps/web/tests/use-project-collab.context-seed.test.tsx#L156
AssertionError: expected true to be false // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
<div />
<div />
</body>
</html>
- Expected
+ Received
- false
+ true
❯ tests/use-project-collab.context-seed.test.tsx:156:49
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
background
wait
wait-all
cancel
parallel
Loading