File tree Expand file tree Collapse file tree 5 files changed +12
-7
lines changed
com/applitools/imagetester Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ The tool build in java and requires minimal set of parameters the minimal comman
9898 + ` -mp ` - ImageTester will read from and execute tests based on the batch mapper CSV.
9999 + ` -te ` - ImageTester will throw an exception if Eyes detects a mismatch or failure. <br >
100100 + ` -mt ` - Sets match timeout and retry timeout (default=500). <br >
101- + ` -dn ` - Sets device name for test in dashboard. <br >
101+ + ` -de ` - Sets device name for test in dashboard. <br >
102102 + ` -rf ` - Only test files which match a specified regular expression. <br >
103103 + ` -ir ` - Ignore regions will be applied to all pages. <br >
104104 ** Example:** ` -rf "Lorem.*" ` will only test files that start with "Lorem" (e.g. Lorem1.pdf, Lorem2.pdf) <br >
Original file line number Diff line number Diff line change 44
55 <groupId >com.applitools.imagetester</groupId >
66 <artifactId >ImageTester</artifactId >
7- <version >3.5.5 </version >
7+ <version >3.5.6 </version >
88 <packaging >jar</packaging >
99 <properties >
1010 <maven .compiler.source>1.8</maven .compiler.source>
Original file line number Diff line number Diff line change 11Manifest-Version : 1.0
22Main-Class : com.applitools.imagetester.ImageTester
3- Implementation-Version : 3.5.5
3+ Implementation-Version : 3.5.6
44
Original file line number Diff line number Diff line change 2626import com .applitools .imagetester .lib .Utils ;
2727
2828public class ImageTester {
29- private static final String cur_ver = "3.5.5 " ;
29+ private static final String cur_ver = "3.5.6 " ;
3030
3131 public static void main (String [] args ) {
3232
@@ -91,7 +91,7 @@ public static void main(String[] args) {
9191 .imageCut (cmd .getOptionValues ("ic" ))
9292 .accSettings (accessibilityOptions )
9393 .logHandler (cmd .hasOption ("log" ))
94- .deviceName (cmd .getOptionValue ("dn " , null ));
94+ .deviceName (cmd .getOptionValue ("de " , null ));
9595
9696 config .splitSteps = cmd .hasOption ("st" );
9797 config .logger = logger ;
@@ -572,6 +572,12 @@ private static Options getOptions() {
572572 .hasArgs ()
573573 .optionalArg (false )
574574 .build ());
575+ options .addOption (Option .builder ("de" )
576+ .longOpt ("deviceName" )
577+ .desc ("Device Name" )
578+ .hasArg ()
579+ .argName ("deviceNameArg" )
580+ .build ());
575581
576582
577583 EyesUtilitiesConfig .injectOptions (options );
Original file line number Diff line number Diff line change @@ -60,10 +60,9 @@ public String getFullAgentId() {
6060 // setConfiguration() overrides several Eyes instance fields, so configuration
6161 // should be set first
6262 eyes .setConfiguration (
63- new Configuration ()
63+ eyes . getConfiguration ()
6464 .setDeviceInfo (this .deviceName )
6565 );
66-
6766 eyes .setApiKey (this .apiKey );
6867 eyes .setAgentId (String .format ("ImageTester/%s" , version ));
6968 eyes .setSaveFailedTests (saveFailed );
You can’t perform that action at this time.
0 commit comments