File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Components/test/E2ETest/Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public void ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(string i
49
49
Browser . Exists ( By . CssSelector ( "#blazor-error-ui[style='display: block;']" ) ) ;
50
50
51
51
// Clicking the button again will trigger a server disconnect
52
- Browser . ExecuteJavaScript ( "arguments[0].scrollIntoView();" , targetButton ) ;
52
+ Browser . ExecuteJavaScript ( "arguments[0].scrollIntoView(true );" , targetButton ) ;
53
53
targetButton . Click ( ) ;
54
54
55
55
AssertLogContains ( "Connection disconnected." ) ;
@@ -72,7 +72,7 @@ public void ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit()
72
72
Browser . Exists ( By . CssSelector ( "#blazor-error-ui[style='display: block;']" ) ) ;
73
73
74
74
// Clicking it again causes the circuit to disconnect
75
- Browser . ExecuteJavaScript ( "arguments[0].scrollIntoView();" , targetButton ) ;
75
+ Browser . ExecuteJavaScript ( "arguments[0].scrollIntoView(true );" , targetButton ) ;
76
76
targetButton . Click ( ) ;
77
77
AssertLogContains ( "Connection disconnected." ) ;
78
78
}
You can’t perform that action at this time.
0 commit comments