提交 b07f86d2 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 修复截图对比测试 baseSrc 获取错误

上级 4c839f1f
......@@ -236,8 +236,7 @@ describe("shot-compare", () => {
// set webview-screenshot-comparison page baseSrc
baseSrc =
process.env.UNI_WEB_SERVICE_URL ||
"http://test.dcloud.io/unix_h5_build/98_dev_hello-uni-app-x/#/";
process.env.UNI_WEB_SERVICE_URL ? `${process.env.UNI_WEB_SERVICE_URL}/#/` : "http://test.dcloud.io/unix_h5_build/98_dev_hello-uni-app-x/#/";
page.setData({
baseSrc,
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册