public abstract class GadgetsVisualRegressionTest extends JiraVisualRegressionTest
| Modifier and Type | Field and Description |
|---|---|
static String |
BASELINE_IMAGES_PATH |
static String |
DEFAULT_EDIT_BUTTON_SELECTOR |
static String |
HEADER_TAG_SELECTOR |
static String |
SAVE_BUTTON_XPATH |
TimedQueryFactory |
timedQueryFactory |
client, DEFAULT_DIMENSION, pageElementFinder, visualComparerjiraWebTestClassRules, webTestRulebackdoor, jira, logger, mailHelper, pageBinder| Constructor and Description |
|---|
GadgetsVisualRegressionTest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaselineScreenshotFilePath()
The location of the baseline screenshots in the file system of the machine the tests are running on.
|
protected org.openqa.selenium.Dimension |
getDimension() |
protected void |
ignoreArea(com.atlassian.selenium.visualcomparison.utils.BoundingBox box) |
void |
prepare() |
void |
testVisualRegression(String gadgetId) |
void |
testVisualRegression(String gadgetId,
boolean withEdit) |
void |
testVisualRegression(String gadgetId,
org.openqa.selenium.By... ignoredElements) |
void |
testVisualRegression(String imageBeforeEdit,
String imageAfterEdit,
String editButtonSelector,
boolean withEdit,
org.openqa.selenium.By... ignoredElements) |
void |
testVisualRegression(String imageBeforeEdit,
String imageAfterEdit,
String editButtonSelector,
org.openqa.selenium.By... ignoredElements) |
addElementsToIgnore, addElementsToIgnore, assertPageMatches, assertPageMatches, assertUIMatches, assertUIMatchesIgnoringElements, clickOnElement, clickOnElement, closeInsiderPopUp, goTo, goToErrorPage, removeUPMCount, resetVisualComparer, resizeWindowToDefaultDimentionsgetBackdoor, getBaseClassRule, getBaseRulepublic static final String BASELINE_IMAGES_PATH
public static final String DEFAULT_EDIT_BUTTON_SELECTOR
public static final String HEADER_TAG_SELECTOR
public static final String SAVE_BUTTON_XPATH
@Inject public TimedQueryFactory timedQueryFactory
public void prepare()
public void testVisualRegression(String gadgetId)
public void testVisualRegression(String gadgetId, boolean withEdit)
public void testVisualRegression(String gadgetId, org.openqa.selenium.By... ignoredElements)
public void testVisualRegression(String imageBeforeEdit, String imageAfterEdit, String editButtonSelector, org.openqa.selenium.By... ignoredElements)
public void testVisualRegression(String imageBeforeEdit, String imageAfterEdit, String editButtonSelector, boolean withEdit, org.openqa.selenium.By... ignoredElements)
public String getBaselineScreenshotFilePath()
JiraVisualRegressionTestgetBaselineScreenshotFilePath in class JiraVisualRegressionTestprotected org.openqa.selenium.Dimension getDimension()
getDimension in class JiraVisualRegressionTestprotected void ignoreArea(com.atlassian.selenium.visualcomparison.utils.BoundingBox box)
Copyright © 2002-2023 Atlassian. All Rights Reserved.