1 Star 0 Fork 0

luopengtao/logseq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
playwright.config.ts 837 Bytes
一键复制 编辑 原始数据 按行查看 历史
Bad3r 提交于 2023-06-14 10:20 +08:00 . enhance(e2e): update playwright config (#9623)
import { PlaywrightTestConfig } from '@playwright/test'
const config: PlaywrightTestConfig = {
// The directory where the tests are located
// The order of the tests is determined by the file names alphabetically.
testDir: './e2e-tests',
// The number of retries before marking a test as failed.
maxFailures: 1,
// The number of Logseq instances to run in parallel.
// NOTE: must be 1 for now, otherwise tests will fail.
workers: 1,
// 'github' for GitHub Actions CI to generate annotations, plus a concise 'dot'.
// default 'list' when running locally.
reporter: process.env.CI ? 'github' : 'list',
// Fail the build on CI if test.only is present.
forbidOnly: !!process.env.CI,
use: {
// SCapture screenshot after each test failure.
screenshot: 'only-on-failure',
},
}
export default config
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/luopengtao/logseq.git
git@gitee.com:luopengtao/logseq.git
luopengtao
logseq
logseq
master

搜索帮助