]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test(e2e): make them pass on older browsers
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 23 Jun 2020 14:27:44 +0000 (16:27 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 23 Jun 2020 14:27:44 +0000 (16:27 +0200)
e2e/hash/index.ts
e2e/nightwatch.browserstack.js
e2e/specs/hash.js

index 5b014b4e65d8392fa7bef3ba7983f5ce51643260..4f7e34afcd21e6b2a9947e06faf5e773bce639e8 100644 (file)
@@ -43,7 +43,7 @@ const app = createApp({
         <li><router-link to="/foo">/foo</router-link></li>
         <li><router-link to="/bar">/bar</router-link></li>
         <li><router-link :to="{ name: 'encoded' }">/n/é</router-link></li>
-        <li><router-link to="/unicode/é">/unicode/é</router-link></li>
+        <li><router-link to="/unicode/é">/unicode/é (not properly encoded, fails on some browsers)</router-link></li>
         <li>
           <router-link :to="{ name: 'unicode', params: { id: 'é' }}"
             >/unicode/é (correctly encoded)</router-link
index 9060dab72fa8070178e5409d2837b02e1b36ee3a..a0ca0dbd1c02120b022b5142c492b528b0dd5b06 100644 (file)
@@ -82,6 +82,13 @@ const nwConf = {
       },
     },
 
+    edge_pre_chrome: {
+      desiredCapabilities: {
+        browser: 'Edge',
+        browser_version: '18',
+      },
+    },
+
     android44: {
       desiredCapabilities: {
         device: 'Google Nexus 5',
index 0a8348220ca1bafec9b8df2a1a67c6d96b612f0e..3ad0c71c8df2c8bf40078626517df0d3e72444f1 100644 (file)
@@ -17,7 +17,7 @@ module.exports = {
       .assert.attributeContains('li:nth-child(3) a', 'href', '/hash/#/bar')
       .assert.attributeContains('li:nth-child(4) a', 'href', '/hash/#/n/%C3%A9')
       .assert.attributeContains(
-        'li:nth-child(5) a',
+        'li:nth-child(6) a',
         'href',
         '/hash/#/unicode/%C3%A9'
       )