16 lines
569 B
JavaScript
16 lines
569 B
JavaScript
|
|
import path from "node:path";
|
||
|
|
import { fileURLToPath } from "node:url";
|
||
|
|
import { defineConfig } from "../../frontend/node_modules/@playwright/experimental-ct-vue/index.js";
|
||
|
|
|
||
|
|
const testingDir = path.dirname(fileURLToPath(import.meta.url));
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
testDir: path.resolve(testingDir, "component"),
|
||
|
|
use: {
|
||
|
|
ctPort: 3100,
|
||
|
|
ctTemplateDir: "../../frontend/playwright",
|
||
|
|
viewport: { width: 1280, height: 900 },
|
||
|
|
},
|
||
|
|
reporter: [["list"], ["junit", { outputFile: path.resolve(testingDir, "../../build/junit-frontend-component.xml") }]],
|
||
|
|
});
|