mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-25 23:40:58 +02:00
* initial PoC * preliminary working config * first cut at chromatic tests * first cut at chromatic tests * fix yaml * fix yaml again * use workingDir * adapt playwright example * remove env * fix working directory * fix more paths * fix dir * add playwright setup * accidentally deleted a step * update test * think we don't need home.png right now * remove unused home.png --------- Co-authored-by: Richard Kuo <rkuo@rkuo.com>
15 lines
524 B
TypeScript
15 lines
524 B
TypeScript
import { defineConfig } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
// Other Playwright config options
|
|
testDir: "./tests/e2e", // Folder for test files
|
|
// Configure paths for screenshots
|
|
// expect: {
|
|
// toMatchSnapshot: {
|
|
// threshold: 0.2, // Adjust the threshold for visual diffs
|
|
// },
|
|
// },
|
|
// reporter: [["html", { outputFolder: "test-results/output/report" }]], // HTML report location
|
|
// outputDir: "test-results/output/screenshots", // Set output folder for test artifacts
|
|
});
|