All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.applitools.eyes.exceptions.NewTestException Maven / Gradle / Ivy

There is a newer version: 5.76.0
Show newest version
package com.applitools.eyes.exceptions;

import com.applitools.eyes.TestResults;

/**
 * Indicates that a new test (i.e., a test for which no baseline exists) ended.
 */
public class NewTestException extends TestFailedException {

    public NewTestException(TestResults testResults, String scenarioIdOrName, String appIdOrName){
        super(testResults, String.format("'%s' of '%s'. Please approve the new baseline at %s",
                scenarioIdOrName,
                appIdOrName,
                testResults.getUrl()));
    }

    public NewTestException(String message) {
        super(message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy