1
0
resumarkdown/playwright.config.ts

29 lines
625 B
TypeScript
Raw Normal View History

/*
* 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/.
*/
2024-10-10 21:02:54 -05:00
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run build && npm run preview',
port: 4173,
},
2024-10-25 01:05:04 -05:00
expect: {
timeout: 2.5 * 1000,
},
2024-10-10 21:02:54 -05:00
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
2024-10-25 01:05:04 -05:00
timeout: 5 * 1000,
2024-10-12 00:53:39 -05:00
use: {
viewport: {
height: 900,
width: 1600,
},
},
2024-10-10 21:02:54 -05:00
};
export default config;