@@ -39,7 +39,7 @@ public void RedirectStreamingGetToInternal()
39
39
AssertElementRemoved ( _originalH1Element ) ;
40
40
Browser . Equal ( "Scroll to hash" , ( ) => Browser . Exists ( By . TagName ( "h1" ) ) . Text ) ;
41
41
Browser . True ( ( ) => Browser . GetScrollY ( ) > 500 ) ;
42
- Assert . EndsWith ( "/subdir/nav/scroll-to-hash#some-content" , Browser . Url ) ;
42
+ Assert . EndsWith ( "/subdir/nav/scroll-to-hash?foo=%F0%9F%99%82 #some-content" , Browser . Url ) ;
43
43
44
44
// See that 'back' takes you to the place from before the redirection
45
45
Browser . Navigate ( ) . Back ( ) ;
@@ -61,7 +61,7 @@ public void RedirectStreamingPostToInternal()
61
61
AssertElementRemoved ( _originalH1Element ) ;
62
62
Browser . Equal ( "Scroll to hash" , ( ) => Browser . Exists ( By . TagName ( "h1" ) ) . Text ) ;
63
63
Browser . True ( ( ) => Browser . GetScrollY ( ) > 500 ) ;
64
- Assert . EndsWith ( "/subdir/nav/scroll-to-hash#some-content" , Browser . Url ) ;
64
+ Assert . EndsWith ( "/subdir/nav/scroll-to-hash?foo=%F0%9F%99%82 #some-content" , Browser . Url ) ;
65
65
66
66
// See that 'back' takes you to the place from before the redirection
67
67
Browser . Navigate ( ) . Back ( ) ;
@@ -87,7 +87,7 @@ public void RedirectEnhancedGetToInternal()
87
87
88
88
Browser . Exists ( By . LinkText ( "Enhanced GET with internal redirection" ) ) . Click ( ) ;
89
89
Browser . Equal ( "Scroll to hash" , ( ) => _originalH1Element . Text ) ;
90
- Assert . EndsWith ( "/subdir/nav/scroll-to-hash" , Browser . Url ) ;
90
+ Assert . EndsWith ( "/subdir/nav/scroll-to-hash?foo=%F0%9F%99%82 " , Browser . Url ) ;
91
91
92
92
// See that 'back' takes you to the place from before the redirection
93
93
Browser . Navigate ( ) . Back ( ) ;
@@ -108,7 +108,7 @@ public void RedirectEnhancedPostToInternal()
108
108
// See above for why enhanced nav doesn't support preserving the hash
109
109
Browser . Exists ( By . CssSelector ( "#form-enhanced-internal button" ) ) . Click ( ) ;
110
110
Browser . Equal ( "Scroll to hash" , ( ) => _originalH1Element . Text ) ;
111
- Assert . EndsWith ( "/subdir/nav/scroll-to-hash" , Browser . Url ) ;
111
+ Assert . EndsWith ( "/subdir/nav/scroll-to-hash?foo=%F0%9F%99%82 " , Browser . Url ) ;
112
112
113
113
// See that 'back' takes you to the place from before the redirection
114
114
Browser . Navigate ( ) . Back ( ) ;
@@ -129,7 +129,7 @@ public void RedirectStreamingEnhancedGetToInternal()
129
129
// See above for why enhanced nav doesn't support preserving the hash
130
130
Browser . Exists ( By . LinkText ( "Streaming enhanced GET with internal redirection" ) ) . Click ( ) ;
131
131
Browser . Equal ( "Scroll to hash" , ( ) => _originalH1Element . Text ) ;
132
- Assert . EndsWith ( "/subdir/nav/scroll-to-hash" , Browser . Url ) ;
132
+ Assert . EndsWith ( "/subdir/nav/scroll-to-hash?foo=%F0%9F%99%82 " , Browser . Url ) ;
133
133
134
134
// See that 'back' takes you to the place from before the redirection
135
135
Browser . Navigate ( ) . Back ( ) ;
@@ -150,7 +150,7 @@ public void RedirectStreamingEnhancedPostToInternal()
150
150
// See above for why enhanced nav doesn't support preserving the hash
151
151
Browser . Exists ( By . CssSelector ( "#form-streaming-enhanced-internal button" ) ) . Click ( ) ;
152
152
Browser . Equal ( "Scroll to hash" , ( ) => _originalH1Element . Text ) ;
153
- Assert . EndsWith ( "/subdir/nav/scroll-to-hash" , Browser . Url ) ;
153
+ Assert . EndsWith ( "/subdir/nav/scroll-to-hash?foo=%F0%9F%99%82 " , Browser . Url ) ;
154
154
155
155
// See that 'back' takes you to the place from before the redirection
156
156
Browser . Navigate ( ) . Back ( ) ;
0 commit comments