1
0
resumarkdown/playwright.config.ts
Nicola Clark 2a6523b9f1
[LICENSE] relicense project under MPL 2.0
relicensed due to GitHub's Copilot push. details in README.md.
2025-02-28 10:53:21 -06:00

29 lines
625 B
TypeScript

/*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at https://mozilla.org/MPL/2.0/.
*/
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run build && npm run preview',
port: 4173,
},
expect: {
timeout: 2.5 * 1000,
},
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
timeout: 5 * 1000,
use: {
viewport: {
height: 900,
width: 1600,
},
},
};
export default config;