Skip to content

Commit af39807

Browse files
Added extra comments about "Eyes open"
1 parent 82699b7 commit af39807

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

test/acme-bank.test.js

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)