add git diffs and permission support

This commit is contained in:
2026-01-19 23:45:03 -05:00
parent 313ac44337
commit 61a2e9b8af
44 changed files with 2051 additions and 267 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
import { test, expect } from '@playwright/test';
import { E2E_BACKEND_URL } from '../playwright.config';
test.describe('Basic E2E Tests', () => {
test('backend health check', async ({ request }) => {
const response = await request.get('http://localhost:3000/api/health');
const response = await request.get(`${E2E_BACKEND_URL}/api/health`);
expect(response.ok()).toBeTruthy();
const body = await response.json();
expect(body.status).toBe('ok');
@@ -15,7 +16,7 @@ test.describe('Basic E2E Tests', () => {
});
test('sessions list loads empty', async ({ request }) => {
const response = await request.get('http://localhost:3000/api/sessions');
const response = await request.get(`${E2E_BACKEND_URL}/api/sessions`);
expect(response.ok()).toBeTruthy();
const sessions = await response.json();
expect(Array.isArray(sessions)).toBeTruthy();