File tree 2 files changed +4
-11
lines changed
2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public void OpenBrowserAndEyes()
112
112
if ( UseExecutionCloud )
113
113
{
114
114
// 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 ) ;
116
116
}
117
117
else
118
118
{
@@ -151,7 +151,7 @@ public void OpenBrowserAndEyes()
151
151
// The viewport size for the local browser.
152
152
// Eyes will resize the web browser to match the requested viewport size.
153
153
// This parameter is optional but encouraged in order to produce consistent results.
154
- new Size ( 1024 , 768 ) ) ;
154
+ new Size ( 1200 , 600 ) ) ;
155
155
}
156
156
157
157
/// <summary>
@@ -187,17 +187,10 @@ public void LogIntoBankAccount()
187
187
public void CleanUpTest ( )
188
188
{
189
189
// Close Eyes to tell the server it should display the results.
190
- Eyes . CloseAsync ( ) ;
190
+ Eyes . Close ( ) ;
191
191
192
192
// Quit the WebDriver instance.
193
193
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.
201
194
}
202
195
203
196
/// <summary>
Original file line number Diff line number Diff line change 9
9
</PropertyGroup >
10
10
11
11
<ItemGroup >
12
- <PackageReference Include =" Eyes.Selenium4" Version =" 3.51 .0" />
12
+ <PackageReference Include =" Eyes.Selenium4" Version =" 3.54 .0" />
13
13
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5.0" />
14
14
<PackageReference Include =" NUnit" Version =" 3.13.3" />
15
15
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.4.2" />
You can’t perform that action at this time.
0 commit comments