com.atlassian.jira.webtest.webdriver.tests.visualregression
Class JiraVisualRegressionTest
java.lang.Object
com.atlassian.jira.pageobjects.BaseJiraWebTest
com.atlassian.jira.webtest.webdriver.tests.visualregression.JiraVisualRegressionTest
- Direct Known Subclasses:
- TestIntegratedPluginsVisualRegression, TestKickAssVisualRegression, TestVisualRegresionPopupsAndDialogs, TestVisualRegressionBulkEdit, TestVisualRegressionCreateIssue, TestVisualRegressionSmoke
public abstract class JiraVisualRegressionTest
- extends BaseJiraWebTest
Abstract base class for UI Regression tests. These tests take screenshots of JIRA and compare them with previous
baseline images.
- Since:
- v4.3
Field Summary |
protected com.atlassian.selenium.visualcomparison.VisualComparableClient |
client
|
protected com.atlassian.selenium.visualcomparison.VisualComparer |
visualComparer
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
@Inject
protected com.atlassian.selenium.visualcomparison.VisualComparableClient client
visualComparer
protected com.atlassian.selenium.visualcomparison.VisualComparer visualComparer
JiraVisualRegressionTest
public JiraVisualRegressionTest()
resetVisualComparer
public void resetVisualComparer()
assertUIMatches
protected void assertUIMatches(String id)
removeUPMCount
protected void removeUPMCount()
- Removes the little yellow gem that appears on the UPM icon to indicate there are new updates to plugins.
getBaselineScreenshotFilePath
public String getBaselineScreenshotFilePath()
- The location of the baseline screenshots in the file system of the machine the tests are running on.
goTo
protected void goTo(String url)
goToErrorPage
protected void goToErrorPage(String url)
clickOnElement
protected void clickOnElement(String cssSelector)
clickOnElement
protected void clickOnElement(String cssSelector,
boolean waitForPageToLoad)
Copyright © 2002-2014 Atlassian. All Rights Reserved.