Mozilla Iris  1.0
A visual test suite for Firefox
iris.api.helpers.test_utils Namespace Reference

Classes

class  Step
 

Functions

def access_and_check_pattern (access_pattern, msg, check_pattern=None, access_type=None)
 

Function Documentation

◆ access_and_check_pattern()

def iris.api.helpers.test_utils.access_and_check_pattern (   access_pattern,
  msg,
  check_pattern = None,
  access_type = None 
)
Access and check(if it exists) the patterns received.

:param access_pattern: pattern to find and access if access_type is not None.
:param msg: Message to display on test result
:param check_pattern: pattern to assert after accessing 'find_pattern'.
:param access_type: action to be performed on the access_pattern image. TODO Add more actions when needed
:return: None.