set_save_new_tests method

Class: ConfigurationPlatform: ImagesLanguage: Python SDK:

Use this method to set whether or not 'new' tests are saved to the baseline by default.

This option is enabled by default (i.e. new tests are saved automatically to the baseline), so use this method to disable the default behavior.

Syntax


configval = config.set_save_new_tests(save_new_tests)

Parameters

save_new_tests
Type:bool
If set to False, then the user will need to save the baseline explicitly in the Test Manager for new tests to be saved to the baseline. If set to True, then Eyes will automatically create a baseline for tests with a status of 'new' (the default behavior).

Return value

Type: Self
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.