From: Eduardo San Martin Morote Date: Mon, 21 Jun 2021 15:00:49 +0000 (+0200) Subject: test(e2e): remove redundant id X-Git-Tag: v4.0.11~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d62344b7d34fe43564ee73c45b767afeec6c9f1;p=thirdparty%2Fvuejs%2Frouter.git test(e2e): remove redundant id --- diff --git a/e2e/encoding/index.ts b/e2e/encoding/index.ts index 6a4bddcc..c752c003 100644 --- a/e2e/encoding/index.ts +++ b/e2e/encoding/index.ts @@ -47,81 +47,79 @@ const app = createApp({ }, template: ` -
-
- Name: -
{{ $route.name }}
-
- -
- Params: -
{{ $route.params }}
-
- -
- Query: -
{{ $route.query }}
-
- -
- Hash: -
{{ $route.hash }}
-
- -
- FullPath: -
{{ $route.fullPath }}
-
- -
- path: -
{{ $route.path }}
-
- -
- - - - -
+
+ Name: +
{{ $route.name }}
+
+ +
+ Params: +
{{ $route.params }}
+
+ +
+ Query: +
{{ $route.query }}
+
+ +
+ Hash: +
{{ $route.hash }}
+
+ +
+ FullPath: +
{{ $route.fullPath }}
+
+ +
+ path: +
{{ $route.path }}
+
+ +
+ + + + `, }) app.use(router) diff --git a/e2e/guards-instances/index.ts b/e2e/guards-instances/index.ts index 4dcb2669..eb57c8f3 100644 --- a/e2e/guards-instances/index.ts +++ b/e2e/guards-instances/index.ts @@ -159,65 +159,62 @@ router.push = to => { const app = createApp({ template: ` -
-

Instances

-

Using {{ testCase || 'default' }}

- - - - - -
+    

Instances

+

Using {{ testCase || 'default' }}

+ + + + + +
 route: {{ $route.fullPath }}
 enters: {{ state.enter }}
 updates: {{ state.update }}
 leaves: {{ state.leave }}
-      
-
{{ logs.join('\\n') }}
- -
    -
  • /
  • -
  • /foo
  • -
  • /f/1
  • -
  • /f/2
  • -
  • /f/2?bar=foo
  • -
  • /f/2?foo=key
  • -
  • /f/2?foo=key2
  • -
  • {{ route.fullPath }}
  • -
  • /named-one
  • -
  • /named-two
  • -
- - - - - - - -
+ +
{{ logs.join('\\n') }}
+ + + + + + + + `, setup() { const router = useRouter() diff --git a/e2e/hash/index.ts b/e2e/hash/index.ts index bc154a87..37b2fa8f 100644 --- a/e2e/hash/index.ts +++ b/e2e/hash/index.ts @@ -38,47 +38,45 @@ const app = createApp({ }, template: ` -
- + -

- path: {{ route.path }} -
- query.t: {{ route.query.t }} -
- hash: {{ route.hash }} -

+

+ path: {{ route.path }} +
+ query.t: {{ route.query.t }} +
+ hash: {{ route.hash }} +

- -
+ `, }) app.use(router) diff --git a/e2e/keep-alive/index.ts b/e2e/keep-alive/index.ts index a6705f78..31c0d82a 100644 --- a/e2e/keep-alive/index.ts +++ b/e2e/keep-alive/index.ts @@ -82,19 +82,17 @@ const router = createRouter({ }) const app = createApp({ template: ` -
-

KeepAlive

- - - - - - -
+

KeepAlive

+ + + + + + `, }) app.use(router) diff --git a/e2e/modal/index.ts b/e2e/modal/index.ts index a1659a63..baf04acf 100644 --- a/e2e/modal/index.ts +++ b/e2e/modal/index.ts @@ -195,9 +195,7 @@ const app = createApp({ }, template: ` -
- -
+ `, }) app.use(router) diff --git a/e2e/scroll-behavior/index.ts b/e2e/scroll-behavior/index.ts index 33bddbf7..f0255362 100644 --- a/e2e/scroll-behavior/index.ts +++ b/e2e/scroll-behavior/index.ts @@ -93,30 +93,28 @@ const app = createApp({ }, template: ` -
-

Scroll Behavior

- - - - - - - -
+

Scroll Behavior

+ + + + + + + `, }) app.use(router) diff --git a/e2e/transitions/index.ts b/e2e/transitions/index.ts index d45d4b83..79dd7436 100644 --- a/e2e/transitions/index.ts +++ b/e2e/transitions/index.ts @@ -112,16 +112,15 @@ const app = createApp({ }, template: ` -
-

Transitions

-
CI: ${__CI__}
- -