Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Commit 90d0825

Browse files
committed
Fix dashboard link state test
1 parent 8765d58 commit 90d0825

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/EmergencyManagement/webui/src/pages/__tests__/DashboardPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ describe('DashboardPage', () => {
113113
expect(screen.getByText('/tmp/config.json')).toBeInTheDocument();
114114
expect(screen.getByText('/tmp/storage')).toBeInTheDocument();
115115
expect(screen.getByText('https://example.com')).toBeInTheDocument();
116-
expect(screen.getByText('connected')).toBeInTheDocument();
116+
expect(screen.getAllByText('connected')).toHaveLength(2);
117117
expect(screen.getByText('Connected to LXMF server abc123')).toBeInTheDocument();
118118
const timestampMatches = screen.getAllByText('2025-09-23T12:34:56Z');
119119
expect(timestampMatches).toHaveLength(2);

0 commit comments

Comments
 (0)