File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
src/test/java/com/applitools/example Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -109,10 +109,23 @@ public void openBrowserAndEyes(TestInfo testInfo) {
109109 // Open Eyes to start visual testing.
110110 // It is a recommended practice to set all four inputs:
111111 eyes .open (
112- driver , // WebDriver object to "watch"
113- "ACME Bank Web App" , // The name of the app under test
114- testInfo .getDisplayName (), // The name of the test case
115- new RectangleSize (1024 , 768 )); // The viewport size for the local browser
112+
113+ // WebDriver object to "watch".
114+ driver ,
115+
116+ // The name of the application under test.
117+ // All tests for the same app should share the same app name.
118+ "ACME Bank Web App" ,
119+
120+ // The name of the test case for the given application.
121+ // Additional unique characteristics of the test may also be specified as part of the test name,
122+ // such as localization information ("Home Page - EN") or different user permissions ("Login by admin").
123+ testInfo .getDisplayName (),
124+
125+ // The viewport size for the local browser.
126+ // Eyes will resize the web browser to match the requested viewport size.
127+ // This parameter is optional but encouraged in order to produce consistent results.
128+ new RectangleSize (1024 , 768 ));
116129 }
117130
118131 @ Test
You can’t perform that action at this time.
0 commit comments