]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test(e2e): fix transition e2e specs by increasing css timing (#227)
authorJessica Sachs <jess@jessicasachs.io>
Sun, 10 May 2020 11:47:42 +0000 (07:47 -0400)
committerGitHub <noreply@github.com>
Sun, 10 May 2020 11:47:42 +0000 (13:47 +0200)
e2e/specs/transitions.js
e2e/transitions/index.html

index 05d914630fae3738559e55f678eb2a3ec2b084ff..4909b63e64961a730c9fd7c392a5f0be9aa27526 100644 (file)
@@ -6,7 +6,7 @@ module.exports = {
   '@tags': ['no-headless'],
 
   transitions: function (browser) {
-    const TIMEOUT = 2000
+    const TIMEOUT = 3000
 
     browser
       .url('http://localhost:8080/transitions/')
index c94babbd054e42912350b17016310ff4e3a58345..e655fc2c66555510700076da291025ad7fb5e9d9 100644 (file)
@@ -11,7 +11,7 @@
     <style>
       .fade-enter-active,
       .fade-leave-active {
-        transition: opacity 0.5s ease;
+        transition: opacity 0.75s ease;
       }
       .fade-enter-from,
       .fade-leave-active {
@@ -19,7 +19,7 @@
       }
       .child-view {
         position: absolute;
-        transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
+        transition: all 0.75s cubic-bezier(0.55, 0, 0.1, 1);
       }
       .slide-left-enter-from,
       .slide-right-leave-active {