File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/test/java/com/applitools/example Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ public static void main(String [] args) {
3434 WebDriver driver = null ;
3535
3636 try {
37+ // The following steps set up Applitools for testing.
38+
3739 // Create the runner for the Ultrafast Grid.
3840 // Concurrency refers to the number of visual checkpoints Applitools will perform in parallel.
3941 // Warning: If you have a free account, then concurrency will be limited to 1.
@@ -83,7 +85,8 @@ public static void main(String [] args) {
8385 // If you are using Selenium 3, use the following call instead:
8486 // driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
8587
86- // The steps below are a test covering login for the Applitools demo site, which is a dummy banking app.
88+
89+ // The following steps are a test covering login for the Applitools demo site, which is a dummy banking app.
8790 // The interactions use typical Selenium WebDriver calls,
8891 // but the verifications use one-line snapshot calls with Applitools Eyes.
8992 // If the page ever changes, then Applitools will detect the changes and highlight them in the dashboard.
@@ -138,9 +141,8 @@ public static void main(String [] args) {
138141 // Dump any cleanup errors.
139142 e .printStackTrace ();
140143 }
141- finally {
142- // Always force execution to end.
143- System .exit (0 );
144- }
144+
145+ // Always force execution to end.
146+ System .exit (0 );
145147 }
146148}
You can’t perform that action at this time.
0 commit comments