]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
ci: move the e2e upwards
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 1 May 2020 08:11:39 +0000 (10:11 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 1 May 2020 08:11:39 +0000 (10:11 +0200)
Another find: https://stackoverflow.com/questions/50642308/webdriverexception-unknown-error-devtoolsactiveport-file-doesnt-exist-while-t
This seems to work now and is faster than non parallel ci. The next step would
be to split up e2e tests with circleci

circle.yml

index ed726d78b3bc86da3161e502709c07c2d64d390c..6c31f4917ac211c01ab248cb1c0c8575f076593e 100644 (file)
@@ -36,21 +36,21 @@ jobs:
           paths:
             - vue-router/e2e/__build__
 
-  test-unit:
+  test-e2e:
     <<: *defaults
     steps:
       - attach_workspace:
           at: ~/project
-      - run: yarn test:unit  --maxWorkers=2
-      - store_artifacts:
-          path: coverage
+      - run: yarn test:e2e:ci
 
-  test-e2e:
+  test-unit:
     <<: *defaults
     steps:
       - attach_workspace:
           at: ~/project
-      - run: yarn test:e2e:ci
+      - run: yarn test:unit  --maxWorkers=2
+      - store_artifacts:
+          path: coverage
 
   build-lint:
     <<: *defaults
@@ -82,10 +82,10 @@ workflows:
   install-and-parallel-test:
     jobs:
       - install
-      - test-unit:
+      - test-e2e:
           requires:
             - install
-      - test-e2e:
+      - test-unit:
           requires:
             - install
       - build-lint: