From: Eduardo San Martin Morote Date: Mon, 25 May 2020 09:36:16 +0000 (+0200) Subject: ci: store test results X-Git-Tag: v4.0.0-alpha.13~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=606e37efc1fe52caeebda2afa1202290c4ddaa6e;p=thirdparty%2Fvuejs%2Frouter.git ci: store test results --- diff --git a/circle.yml b/circle.yml index 7f36143a..78152a93 100644 --- a/circle.yml +++ b/circle.yml @@ -46,6 +46,8 @@ jobs: path: e2e/reports - store_artifacts: path: e2e/screenshots + - store_test_result: + path: e2e/reports test-unit: <<: *defaults diff --git a/e2e/transitions/index.ts b/e2e/transitions/index.ts index a654d8a4..8745d507 100644 --- a/e2e/transitions/index.ts +++ b/e2e/transitions/index.ts @@ -106,4 +106,5 @@ const app = createApp({ }) app.use(router) -window.vm = app.mount('#app') +// wait to avoid initial transition +router.isReady().then(() => (window.vm = app.mount('#app')))