File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public void OpenBrowserAndEyes()
112112 if ( UseExecutionCloud )
113113 {
114114 // Open the browser remotely in the Execution Cloud.
115- Driver = new RemoteWebDriver ( new Uri ( Eyes . GetExecutionCloudURL ( ) ) , options ) ;
115+ Driver = new RemoteWebDriver ( new Uri ( Eyes . GetExecutionCloudUrl ( ) ) , options ) ;
116116 }
117117 else
118118 {
@@ -151,7 +151,7 @@ public void OpenBrowserAndEyes()
151151 // The viewport size for the local browser.
152152 // Eyes will resize the web browser to match the requested viewport size.
153153 // This parameter is optional but encouraged in order to produce consistent results.
154- new Size ( 1024 , 768 ) ) ;
154+ new Size ( 1200 , 600 ) ) ;
155155 }
156156
157157 /// <summary>
@@ -187,17 +187,10 @@ public void LogIntoBankAccount()
187187 public void CleanUpTest ( )
188188 {
189189 // Close Eyes to tell the server it should display the results.
190- Eyes . CloseAsync ( ) ;
190+ Eyes . Close ( ) ;
191191
192192 // Quit the WebDriver instance.
193193 Driver . Quit ( ) ;
194-
195- // Warning: `Eyes.CloseAsync()` will NOT wait for visual checkpoints to complete.
196- // You will need to check the Eyes Test Manager for visual results per checkpoint.
197- // Note that "unresolved" and "failed" visual checkpoints will not cause the NUnit test to fail.
198-
199- // If you want the NUnit test to wait synchronously for all checkpoints to complete, then use `Eyes.Close()`.
200- // If any checkpoints are unresolved or failed, then `Eyes.Close()` will make the NUnit test fail.
201194 }
202195
203196 /// <summary>
Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <ItemGroup >
12- <PackageReference Include =" Eyes.Selenium4" Version =" 3.51 .0" />
12+ <PackageReference Include =" Eyes.Selenium4" Version =" 3.54 .0" />
1313 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5.0" />
1414 <PackageReference Include =" NUnit" Version =" 3.13.3" />
1515 <PackageReference Include =" NUnit3TestAdapter" Version =" 4.4.2" />
You can’t perform that action at this time.
0 commit comments