Skip to content

Commit 80b57d7

Browse files
Added extra comments about "Eyes open"
1 parent 9d3bf6d commit 80b57d7

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

cypress/e2e/acme-bank.cy.js

+11-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,16 @@ describe('ACME Bank', () => {
1313
// Open Eyes to start visual testing.
1414
// Each test should open its own Eyes for its own snapshots.
1515
cy.eyesOpen({
16-
appName: 'ACME Bank', // The name of the app under test
17-
testName: Cypress.currentTest.title, // The name of the test case
16+
17+
// The name of the application under test.
18+
// All tests for the same app should share the same app name.
19+
// Set this name wisely: Applitools features rely on a shared app name across tests.
20+
appName: 'ACME Bank',
21+
22+
// The name of the test case for the given application.
23+
// Additional unique characteristics of the test may also be specified as part of the test name,
24+
// such as localization information ("Home Page - EN") or different user permissions ("Login by admin").
25+
testName: Cypress.currentTest.title,
1826
})
1927
})
2028

@@ -56,4 +64,4 @@ describe('ACME Bank', () => {
5664
// Close Eyes to tell the server it should display the results.
5765
cy.eyesClose()
5866
})
59-
})
67+
})

0 commit comments

Comments
 (0)