File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/test/java/com/applitools/example Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ public class AcmeBankTests {
2424 // and then it performs cross-browser testing against multiple unique browsers in Applitools Ultrafast Grid.
2525 // It runs the test from a main function, not through a test framework.
2626
27+ // Test constants
28+ private final static BatchInfo BATCH = new BatchInfo ("Example: Selenium Java Basic with the Ultrafast Grid" );
29+
2730 // Test objects
2831 private VisualGridRunner runner ;
2932 private Eyes eyes ;
@@ -51,7 +54,7 @@ public void setUpBrowserWithEyes() {
5154 // Create a new batch for tests.
5255 // A batch is the collection of visual tests.
5356 // Batches are displayed in the dashboard, so use meaningful names.
54- config .setBatch (new BatchInfo ( "Example: Selenium Java Basic with the Ultrafast Grid" ) );
57+ config .setBatch (BATCH );
5558
5659 // Add 3 desktop browsers with different viewports for cross-browser testing in the Ultrafast Grid.
5760 // Other browsers are also available, like Edge and IE.
You can’t perform that action at this time.
0 commit comments