improvement(ui): standardize overflow text #28768
ci.yml
on: pull_request
Detect Version
0s
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
4m 53s
Test and Build
/
Build App
3m 23s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
0s
Desktop Release
/
Build, Sign, Notarize
Annotations
11 errors and 9 warnings
|
app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section/connectors-section.test.tsx > Connector credential reauthorization > fails closed when the connector credential cannot be resolved:
apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section/connectors-section.tsx#L366
Error: [vitest] No "OverflowText" export is defined on the "@sim/emcn" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@sim/emcn"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ ConnectorCard app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section/connectors-section.tsx:366:18
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
app/workspace/[workspaceId]/components/resource/components/resource-options/resource-options.test.tsx > SortDropdown > renders long option labels in the truncatable span between both icons:
apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-options/resource-options.test.tsx#L66
Error: expect(element).toHaveClass("min-w-0 block truncate")
Expected the element to have class:
min-w-0 block truncate
Received:
block min-w-0 overflow-hidden text-clip whitespace-nowrap
❯ app/workspace/[workspaceId]/components/resource/components/resource-options/resource-options.test.tsx:66:19
|
|
app/workspace/[workspaceId]/settings/components/billing/billing.test.tsx > Billing payer scope > keeps cached billing content visible when a background refresh fails:
apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.tsx#L484
Error: [vitest] No "OverflowText" export is defined on the "@sim/emcn" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@sim/emcn"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Billing app/workspace/[workspaceId]/settings/components/billing/billing.tsx:484:14
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
app/workspace/[workspaceId]/settings/components/billing/billing.test.tsx > Billing payer scope > renders lapsed organization plans as ended rather than active:
apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.tsx#L484
Error: [vitest] No "OverflowText" export is defined on the "@sim/emcn" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@sim/emcn"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Billing app/workspace/[workspaceId]/settings/components/billing/billing.tsx:484:14
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
app/workspace/[workspaceId]/settings/components/billing/billing.test.tsx > Billing payer scope > renders an explicit free organization state without subscription controls:
apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.tsx#L484
Error: [vitest] No "OverflowText" export is defined on the "@sim/emcn" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@sim/emcn"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Billing app/workspace/[workspaceId]/settings/components/billing/billing.tsx:484:14
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
app/workspace/[workspaceId]/settings/components/billing/billing.test.tsx > Billing payer scope > does not add a dynamic header description for a free personal workspace:
apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.tsx#L484
Error: [vitest] No "OverflowText" export is defined on the "@sim/emcn" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@sim/emcn"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Billing app/workspace/[workspaceId]/settings/components/billing/billing.tsx:484:14
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
app/workspace/[workspaceId]/settings/components/billing/billing.test.tsx > Billing payer scope > does not override the route-owned header while billing transitions from loading to success:
apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.tsx#L484
Error: [vitest] No "OverflowText" export is defined on the "@sim/emcn" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@sim/emcn"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Billing app/workspace/[workspaceId]/settings/components/billing/billing.tsx:484:14
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
app/workspace/[workspaceId]/settings/components/billing/billing.test.tsx > Billing payer scope > uses a guaranteed personal payer workspace for account upgrades:
apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.tsx#L484
Error: [vitest] No "OverflowText" export is defined on the "@sim/emcn" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@sim/emcn"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Billing app/workspace/[workspaceId]/settings/components/billing/billing.tsx:484:14
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
app/workspace/[workspaceId]/settings/components/billing/billing.test.tsx > Billing payer scope > uses the target organization DTO for annual, canceled, credit, cap, and link state:
apps/sim/app/workspace/[workspaceId]/settings/components/billing/billing.tsx#L484
Error: [vitest] No "OverflowText" export is defined on the "@sim/emcn" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@sim/emcn"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ Billing app/workspace/[workspaceId]/settings/components/billing/billing.tsx:484:14
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
|
|
Test and Build / Lint and Test
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|