mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 22:30:41 +08:00
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:
- project source browsing
- tree view
- commit list view
- commit view
- routing
- hash based
- history API based
- clipboard copy paste functionality
- seed view
- project search
- landing page view
- settings
Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
20 lines
359 B
TypeScript
20 lines
359 B
TypeScript
import type { PlaywrightTestConfig } from "@playwright/test";
|
|
|
|
import base from "./playwright.config.js";
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
...base,
|
|
use: {
|
|
...base.use,
|
|
baseURL: "http://localhost:4173",
|
|
},
|
|
retries: 0,
|
|
globalSetup: undefined,
|
|
webServer: {
|
|
command: "npm run serve",
|
|
port: 4173,
|
|
},
|
|
};
|
|
|
|
export default config;
|