Summary: -- Reviewers: #reviewers Subscribers: jenkins-user Differential Revision: https://hub.sealcode.org/D1606
23 lines
447 B
TypeScript
23 lines
447 B
TypeScript
import { defineConfig } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
testDir: "tests",
|
|
globalTeardown: "./tests/global-teardown",
|
|
projects: [
|
|
{
|
|
name: "firefox",
|
|
use: {
|
|
browserName: "firefox",
|
|
},
|
|
},
|
|
],
|
|
expect: {
|
|
toHaveScreenshot: {
|
|
pathTemplate: "{testDir}/__screenshots/{testFilePath}/{arg}{ext}",
|
|
},
|
|
toMatchAriaSnapshot: {
|
|
pathTemplate: "{testDir}/__snapshots/{testFilePath}/{arg}{ext}",
|
|
},
|
|
},
|
|
});
|