feat(web): add sidebar nav layout and dashboard home page
This commit is contained in:
@@ -7,8 +7,13 @@ describe('Home page', () => {
|
||||
expect(screen.getByRole('heading', { name: /insignia tower/i })).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('renders the platform tagline', () => {
|
||||
it('renders a link to the search page', () => {
|
||||
render(<Home />);
|
||||
expect(screen.getByText(/community knowledge infrastructure/i)).toBeInTheDocument();
|
||||
expect(screen.getByRole('link', { name: /search/i })).toHaveAttribute('href', '/search');
|
||||
});
|
||||
|
||||
it('renders a link to the groups page', () => {
|
||||
render(<Home />);
|
||||
expect(screen.getByRole('link', { name: /groups/i })).toHaveAttribute('href', '/groups');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user