Reviewed-on: #5 Co-authored-by: pedro-bento <mail@pbento.pt> Co-committed-by: pedro-bento <mail@pbento.pt>
17 lines
825 B
JavaScript
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/);
|
|
});
|
|
});
|