4 Star 0 Fork 3

OpenTiny/tiny-vue-theme

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
playwright.config.ts 745 Bytes
一键复制 编辑 原始数据 按行查看 历史
ajaxZheng 提交于 2024-09-13 14:32 +08:00 . feat: init TinyVue UI e2e test
import Config from './src/config'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
/**
* 本地开发环境链接:'http://localhost:3101'
* 本地官网链接:'https://tinyuidesign-alpha.cloudbu.xxx.com'
*/
const origin = 'http://localhost:3101'
const baseURL = `${origin}/tiny-vue/zh-CN/smb-theme/components/`
const devServerCommon = 'pnpm run -w dev'
const testDir = path.join(__dirname, './tests')
export default Config({
testDir,
baseURL,
storageState: {
origins: [
{
origin,
localStorage: [{ name: 'tiny-vue-demo-mode', value: 'single' }]
}
]
},
devServerCommon
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opentiny/tiny-vue-theme.git
git@gitee.com:opentiny/tiny-vue-theme.git
opentiny
tiny-vue-theme
tiny-vue-theme
dev

搜索帮助