File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
src/test/java/com/applitools/example Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,24 @@ public static void main(String [] args) {
101101 // Open Eyes to start visual testing.
102102 // It is a recommended practice to set all four inputs:
103103 eyes .open (
104- driver , // WebDriver object to "watch"
105- "ACME Bank Web App" , // The name of the app under test
106- "Log into bank account" , // The name of the test case
107- new RectangleSize (1200 , 600 )); // The viewport size for the local browser
104+
105+ // WebDriver object to "watch".
106+ driver ,
107+
108+ // The name of the application under test.
109+ // All tests for the same app should share the same app name.
110+ // Set this name wisely: Applitools features rely on a shared app name across tests.
111+ "ACME Bank Web App" ,
112+
113+ // The name of the test case for the given application.
114+ // Additional unique characteristics of the test may also be specified as part of the test name,
115+ // such as localization information ("Home Page - EN") or different user permissions ("Login by admin").
116+ "Log into bank account" ,
117+
118+ // The viewport size for the local browser.
119+ // Eyes will resize the web browser to match the requested viewport size.
120+ // This parameter is optional but encouraged in order to produce consistent results.
121+ new RectangleSize (1200 , 600 ));
108122
109123 // Load the login page.
110124 driver .get ("https://demo.applitools.com" );
You can’t perform that action at this time.
0 commit comments