]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: bump e2e test debounce
authorEvan You <yyx990803@gmail.com>
Thu, 6 May 2021 22:49:04 +0000 (18:49 -0400)
committerEvan You <yyx990803@gmail.com>
Thu, 6 May 2021 22:49:04 +0000 (18:49 -0400)
packages/vue/__tests__/e2eUtils.ts
packages/vue/examples/classic/markdown.html
packages/vue/examples/composition/markdown.html

index 2af3befcb3bb069ca3d4d8608bd5a8951d478bf8..d9434002da01fd8f4c31733d12b784676d20094a 100644 (file)
@@ -6,7 +6,7 @@ const puppeteerOptions = process.env.CI
   ? { args: ['--no-sandbox', '--disable-setuid-sandbox'] }
   : {}
 
-const maxTries = 20
+const maxTries = 30
 export const timeout = (n: number) => new Promise(r => setTimeout(r, n))
 
 export async function expectByPolling(
index da6e5baa44918810c5b2c798b67e397d1bfa2119..35ebcfb10d6adb9b1c34c421cee3afb4f46ab6c6 100644 (file)
@@ -8,7 +8,7 @@
 </div>
 
 <script>
-const delay = window.location.hash === '#test' ? 50 : 300
+const delay = window.location.hash === '#test' ? 16 : 500
 
 Vue.createApp({
   data: () => ({
index 8c5a54e8d1dc6f4f5c141835b51707b187125722..9a409e63f99fbaa180b308339dec6aa1707edd1b 100644 (file)
@@ -8,7 +8,7 @@
 </div>
 
 <script>
-const delay = window.location.hash === '#test' ? 16 : 300
+const delay = window.location.hash === '#test' ? 16 : 500
 const { ref, computed } = Vue
 
 Vue.createApp({