clipwright/dashboard/e2e/specs/real-backend.spec.js
pedro-bento 0040aa49da
All checks were successful
CI / dashboard-e2e (push) Successful in 1m44s
CI / unit (push) Successful in 29s
CI / backend-e2e (push) Successful in 1m17s
test/e2e-coverage (#5)
Reviewed-on: #5
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-04 22:28:46 +01:00

17 lines
825 B
JavaScript

import { test, expect } from '@playwright/test';
// Real-backend lane.
//
// The plan calls for driving a real `uvicorn clipwright.api.app:app` with the
// pipeline's stub_env (tests/e2e/pipeline/stub_env) so the browser talks to the
// actual API instead of route mocks. That pipeline/stub environment is owned by
// the backend E2E lanes, and the dashboard CI job provisions Node + Chromium
// only (no Python deps, no ffmpeg), so this stays fixme until the backend lane
// exposes a server the dashboard job can launch. The same routes are covered
// end-to-end over HTTP by tests/e2e/api.
test.describe('real backend', () => {
test.fixme('generates clips against a real uvicorn + stub_env server', async ({ page }) => {
await page.goto('/');
await expect(page).toHaveTitle(/Clipwright/);
});
});