Browse Source

docs: update README.md with e2e test startup instructions

sw 6 hours ago
parent
commit
7a58163c62
1 changed files with 10 additions and 0 deletions
  1. 10 0
      README.md

+ 10 - 0
README.md

@@ -71,3 +71,13 @@
 ## 启动 MSW(本地模拟接口)
 
 修改.env.development中变量USE_MSW的值为true,然后执行npm run dev:h5命令
+
+# 测试
+
+## e2e
+
+### 启动
+
+在执行启动命令之前,需要先启动应用的 H5 端开发模式。然后执行测试命令:
+
+- npm run e2e