1 Star 0 Fork 0

litial/iptvnator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
playwright.config.ts 891 Bytes
一键复制 编辑 原始数据 按行查看 历史
4gray 提交于 2023-02-24 16:21 . Update playwright.config.ts
import { devices, PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './e2e',
timeout: 45000,
maxFailures: 2,
testMatch: /.*\.e2e\.ts/,
projects: [
{
name: 'chromium',
use: {
...devices['Desktop Chrome'],
serviceWorkers: 'block',
},
},
/* {
name: 'firefox',
use: {
...devices['Desktop Firefox'],
serviceWorkers: 'block',
},
},
{
name: 'webkit',
use: {
...devices['Desktop Safari'],
serviceWorkers: 'block',
},
}, */
],
use: {
headless: false,
screenshot: 'only-on-failure',
testIdAttribute: 'data-test-id',
},
};
export default config;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/litial/iptvnator.git
[email protected]:litial/iptvnator.git
litial
iptvnator
iptvnator
electron

搜索帮助