This repository was archived by the owner on Jan 11, 2023. It is now read-only.
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
< h1 > Great success!</ h1 >
2
2
3
- < a href ="echo/page/encöded?message=hëllö+wörld&föo=bar&=baz "> link</ a >
3
+ < a href ="echo/page/encöded?message=hëllö+wörld&föo=bar&=baz&tel=%2B123456789 "> link</ a >
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ describe('encoding', function() {
35
35
} ) ;
36
36
37
37
it ( 'encodes req.params and req.query for server-rendered pages' , async ( ) => {
38
- await page . goto ( `${ base } /echo/page/encöded?message=hëllö+wörld&föo=bar&=baz` ) ;
38
+ await page . goto ( `${ base } /echo/page/encöded?message=hëllö+wörld&föo=bar&=baz&tel=%2B123456789 ` ) ;
39
39
40
40
assert . equal (
41
41
await page . $eval ( 'h1' , node => node . textContent ) ,
42
- 'encöded {"message":"hëllö wörld","föo":"bar","":"baz"}'
42
+ 'encöded {"message":"hëllö wörld","föo":"bar","":"baz","tel":"+123456789" }'
43
43
) ;
44
44
} ) ;
45
45
@@ -48,12 +48,12 @@ describe('encoding', function() {
48
48
await start ( ) ;
49
49
await prefetchRoutes ( ) ;
50
50
51
- await page . click ( 'a[href="echo/page/encöded?message=hëllö+wörld&föo=bar&=baz"] ' ) ;
51
+ await page . click ( 'a' ) ;
52
52
await wait ( 50 ) ;
53
53
54
54
assert . equal (
55
55
await page . $eval ( 'h1' , node => node . textContent ) ,
56
- 'encöded {"message":"hëllö wörld","föo":"bar","":"baz"}'
56
+ 'encöded {"message":"hëllö wörld","föo":"bar","":"baz","tel":"+123456789" }'
57
57
) ;
58
58
} ) ;
59
59
You can’t perform that action at this time.
0 commit comments