File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,24 @@ describe('ACME Bank', function () {
8484 // Open Eyes to start visual testing.
8585 // It is a recommended practice to set all four inputs:
8686 browser = await eyes . open (
87- browser , // WebDriver to "watch"
88- 'ACME Bank' , // The name of the app under test
89- this . currentTest . fullTitle ( ) , // The name of the test case
90- new RectangleSize ( 1024 , 768 ) // The viewport size for the local browser
87+
88+ // WebDriver object to "watch".
89+ browser ,
90+
91+ // The name of the application under test.
92+ // All tests for the same app should share the same app name.
93+ // Set this name wisely: Applitools features rely on a shared app name across tests.
94+ 'ACME Bank' ,
95+
96+ // The name of the test case for the given application.
97+ // Additional unique characteristics of the test may also be specified as part of the test name,
98+ // such as localization information ("Home Page - EN") or different user permissions ("Login by admin").
99+ this . currentTest . fullTitle ( ) ,
100+
101+ // The viewport size for the local browser.
102+ // Eyes will resize the web browser to match the requested viewport size.
103+ // This parameter is optional but encouraged in order to produce consistent results.
104+ new RectangleSize ( 1024 , 768 )
91105 ) ;
92106 } ) ;
93107
You can’t perform that action at this time.
0 commit comments