File tree Expand file tree Collapse file tree
src/csharp/Gravity.Drivers.Mock
Gravity.Drivers.Mock.Tests
Gravity.Drivers.Mock/Mock Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ private void WaitForState(string state) => wait.Until(driver =>
5959
6060 [ DataTestMethod ]
6161 [ DataRow ( "window.scroll(top: 500, left: 400, behavior: auto)" ) ]
62- [ DataRow ( "window.scroll(500, 400 )" ) ]
62+ [ DataRow ( "window.scroll(400, 500 )" ) ]
6363 public void ScrollWindow ( string script )
6464 {
6565 // setup
Original file line number Diff line number Diff line change @@ -430,8 +430,8 @@ private string SrcReadyState()
430430 private string SrcScroll ( string script )
431431 {
432432 // setup
433- var y = Regex . Match ( script , @"(?<=top:(\s+)?)\d+|(?<=\()\d+ " ) . Value ;
434- var x = Regex . Match ( script , @"(?<=left:(\s+)?)\d+|\d+(?=\)) " ) . Value ;
433+ var y = Regex . Match ( script , @"(?<=top:(\s+)?)\d+|\d+(?=\)) " ) . Value ;
434+ var x = Regex . Match ( script , @"(?<=left:(\s+)?)\d+|(?<=\()\d+ " ) . Value ;
435435
436436 // set state
437437 int . TryParse ( y , out topPosition ) ;
You can’t perform that action at this time.
0 commit comments