]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
refactor(e2e): use regular functions to support old browsers
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 3 Apr 2020 13:00:02 +0000 (15:00 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 3 Apr 2020 13:00:02 +0000 (15:00 +0200)
e2e/scroll-behavior/index.html
e2e/specs/encoding.js
e2e/specs/modal.js

index e17d8b3e6da674cd1751017a8e91297c1c59d0cd..5bcc7f5333687530b9b87fc87bc9e07cce3c1549 100644 (file)
@@ -13,8 +13,8 @@
       .fade-leave-active {
         transition: opacity 0.5s ease;
       }
-      .fade-enter,
-      .fade-leave-active {
+      .fade-enter-from,
+      .fade-leave-to {
         opacity: 0;
       }
       .view {
index c11bef6a94c449aebf5eac9068b2f9640eb7ffb6..b6a6d1d31f7e4abbd4e7fc3e77dfe0413384dc80 100644 (file)
@@ -8,7 +8,7 @@ module.exports = {
   '@tags': ['history', 'encoding'],
 
   /** @type {import('nightwatch').NightwatchTest} */
-  basic(browser) {
+  'encodes values': function(browser) {
     browser
       .url(baseURL)
       // TODO: move this test to a different spec
index 82e2622b4895cc6c403074a32fa4c342f295d34d..6b21853b4e092e24676cc94e8738fe8f63a484b9 100644 (file)
@@ -8,7 +8,7 @@ module.exports = {
   '@tags': ['history'],
 
   /** @type {import('nightwatch').NightwatchTest} */
-  'changes the url'(browser) {
+  'changes the url': function(browser) {
     browser
       .url(baseURL)
       .waitForElementVisible('#app', 1000)