com.atlassian.confluence.webdriver.visualregression
Class AbstractVisualRegressionTest

java.lang.Object
  extended by com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
      extended by com.atlassian.confluence.webdriver.visualregression.AbstractVisualRegressionTest
Direct Known Subclasses:
LoginVisualRegressionTest, VisualRegressionTest

public abstract class AbstractVisualRegressionTest
extends AbstractInjectableWebDriverTest

Abstract base class for UI Regression tests. These tests take screenshots of Confluence and compare them with previous baseline images.

Since:
v5.0

Field Summary
protected  com.atlassian.webdriver.visualcomparison.WebDriverVisualComparableClient client
           
protected  com.atlassian.webdriver.AtlassianWebDriver driver
           
protected  com.atlassian.selenium.visualcomparison.VisualComparer visualComparer
           
 
Fields inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
darkFeaturesHelper, methodRules, name, product, rpc, serverStateManager, testData, userHelper
 
Constructor Summary
AbstractVisualRegressionTest()
           
 
Method Summary
protected  void assertUIMatches(java.lang.String id)
           
 void hidePageMetadata(java.lang.String selector)
           
 void resetVisualComparer()
           
 
Methods inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected com.atlassian.webdriver.visualcomparison.WebDriverVisualComparableClient client

visualComparer

protected com.atlassian.selenium.visualcomparison.VisualComparer visualComparer

driver

@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver
Constructor Detail

AbstractVisualRegressionTest

public AbstractVisualRegressionTest()
Method Detail

resetVisualComparer

public void resetVisualComparer()

assertUIMatches

protected void assertUIMatches(java.lang.String id)

hidePageMetadata

public void hidePageMetadata(java.lang.String selector)


Copyright © 2003-2014 Atlassian. All Rights Reserved.