File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,24 @@ public void OpenBrowserAndEyes()
103103 // It is a recommended practice to set all four inputs:
104104 string testName = NUnit . Framework . TestContext . CurrentContext . Test . Name ;
105105 Eyes . Open (
106- Driver , // WebDriver object to "watch"
107- "ACME Bank Web App" , // The name of the app under test
108- testName , // The name of the test case
109- new Size ( 1024 , 768 ) ) ; // The viewport size for the local browser
106+
107+ // WebDriver object to "watch".
108+ Driver ,
109+
110+ // The name of the application under test.
111+ // All tests for the same app should share the same app name.
112+ // Set this name wisely: Applitools features rely on a shared app name across tests.
113+ "ACME Bank Web App" ,
114+
115+ // The name of the test case for the given application.
116+ // Additional unique characteristics of the test may also be specified as part of the test name,
117+ // such as localization information ("Home Page - EN") or different user permissions ("Login by admin").
118+ testName ,
119+
120+ // The viewport size for the local browser.
121+ // Eyes will resize the web browser to match the requested viewport size.
122+ // This parameter is optional but encouraged in order to produce consistent results.
123+ new Size ( 1024 , 768 ) ) ;
110124 }
111125
112126 /// <summary>
@@ -166,4 +180,4 @@ public static void PrintResults()
166180 TestResultsSummary allTestResults = Runner . GetAllTestResults ( ) ;
167181 Console . WriteLine ( allTestResults ) ;
168182 }
169- }
183+ }
You can’t perform that action at this time.
0 commit comments