Skip to content

Commit 5b1dad0

Browse files
authored
Merge pull request #1057 from objectstack-ai/copilot/fix-ci-errors-daffb37d-4d46-4e26-845b-77aa68f3d102
2 parents f20d701 + 6704cbf commit 5b1dad0

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

apps/console/src/__tests__/RecordDetailEdit.test.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,13 @@ describe('RecordDetailView — detail schema features', () => {
156156
email: { name: 'email', label: 'Email', type: 'email' },
157157
status: { name: 'status', label: 'Status', type: 'select' },
158158
},
159+
views: {
160+
detail: {
161+
highlightFields: [
162+
{ name: 'status', label: 'Status' },
163+
],
164+
},
165+
},
159166
},
160167
];
161168

packages/plugin-dashboard/src/__tests__/ObjectDataTable.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ describe('ObjectDataTable', () => {
4848

4949
await waitFor(() => {
5050
const errorEl = container.querySelector('[data-testid="table-error"]');
51-
expect(errorEl).toBeDefined();
51+
expect(errorEl).toBeTruthy();
5252
});
5353

54-
expect(screen.getByText('Connection refused')).toBeDefined();
54+
expect(screen.getByText('Connection refused')).toBeTruthy();
5555
});
5656

5757
it('should show empty state when no data returned', async () => {

0 commit comments

Comments
 (0)