Olivier Massot 4 年之前
父节点
当前提交
b55ea6dfe3
共有 2 个文件被更改,包括 6 次插入4 次删除
  1. 4 4
      .gitlab-ci.yml
  2. 2 0
      test/cypress/.gitignore

+ 4 - 4
.gitlab-ci.yml

@@ -34,7 +34,7 @@ chrome:
   parallel: 5
   script:
     - yarn dev & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --parallel --browser chrome --group "Chrome" --spec "test/cypress/integration/*"
+    - yarn cypress:silent --record --parallel --browser chrome --group "Chrome"
 
 chrome-mobile:
   image: cypress/browsers:node14.17.0-chrome88-ff89
@@ -42,7 +42,7 @@ chrome-mobile:
   parallel: 5
   script:
     - yarn dev & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --parallel --browser chrome --group "Chrome - Mobile" --spec "test/cypress/integration/*" --config "viewportWidth=375,viewportHeight=667"
+    - yarn cypress:silent --record --parallel --browser chrome --group "Chrome - Mobile" --config "viewportWidth=375,viewportHeight=667"
 
 firefox:
   image: cypress/browsers:node14.17.0-chrome88-ff89
@@ -50,7 +50,7 @@ firefox:
   parallel: 5
   script:
     - yarn dev & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --parallel --browser firefox --group "Firefox" --spec "test/cypress/integration/*"
+    - yarn cypress:silent --record --parallel --browser firefox --group "Firefox"
 
 firefox-mobile:
   image: cypress/browsers:node14.17.0-chrome88-ff89
@@ -58,4 +58,4 @@ firefox-mobile:
   parallel: 5
   script:
     - yarn dev & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --parallel --browser firefox --group "Firefox - Mobile" --spec "test/cypress/integration/*" --config "viewportWidth=375,viewportHeight=667"
+    - yarn cypress:silent --record --parallel --browser firefox --group "Firefox - Mobile" --config "viewportWidth=375,viewportHeight=667"

+ 2 - 0
test/cypress/.gitignore

@@ -0,0 +1,2 @@
+/screenshots/
+/videos/