feat(knowledge-base): implement Knowledge Base MCP Server (#57) #72

Closed
cardosofelipe wants to merge 110 commits from feature/57-knowledge-base-mcp-server into dev
5 changed files with 21 additions and 4 deletions
Showing only changes of commit db868c53c6 - Show all commits

18
frontend/e2e/global.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
/**
* Global type declarations for E2E tests
*/
declare global {
interface Window {
__TEST_AUTH_STORE__?: {
getState: () => {
isAuthenticated: boolean;
user: { id: string; email: string; is_superuser: boolean } | null;
accessToken: string | null;
refreshToken: string | null;
};
};
}
}
export {};

View File

@@ -238,7 +238,7 @@ test.describe('Issue Management', () => {
expect(count).toBeGreaterThan(0);
// First checkbox should have accessible label
await expect(checkboxes.first()).toHaveAccessibleName();
await expect(checkboxes.first()).toHaveAccessibleName(/.+/);
});
test('issue detail has proper radiogroup for status', async ({ page }) => {

View File

@@ -2,7 +2,7 @@
* IssueFilters Component Tests
*/
import { render, screen, fireEvent } from '@testing-library/react';
import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { IssueFilters } from '@/features/issues/components/IssueFilters';
import type { IssueFilters as IssueFiltersType } from '@/features/issues/types';

View File

@@ -2,7 +2,7 @@
* IssueTable Component Tests
*/
import { render, screen, fireEvent } from '@testing-library/react';
import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { IssueTable } from '@/features/issues/components/IssueTable';
import type { IssueSummary, IssueSort } from '@/features/issues/types';

View File

@@ -5,7 +5,6 @@
import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { StatusWorkflow } from '@/features/issues/components/StatusWorkflow';
import type { IssueStatus } from '@/features/issues/types';
describe('StatusWorkflow', () => {
const mockOnStatusChange = jest.fn();