PHP 클래스 Sylius\Behat\Page\Page

저자: Kamil Kokot ([email protected])
상속: implements Sylius\Behat\Page\PageInterface
파일 보기 프로젝트 열기: sylius/sylius 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Behat\Mink\Session $session, array $parameters = [] )
isOpen ( array $urlParameters = [] )
open ( array $urlParameters = [] )
tryToOpen ( array $urlParameters = [] )
verify ( array $urlParameters = [] )

보호된 메소드들

메소드 설명
getDefinedElements ( ) : array Defines elements by returning an array with items being: - :elementName => :cssLocator - :elementName => [:selectorType => :locator]
getDocument ( ) : Behat\Mink\Element\DocumentElement
getDriver ( ) : Behat\Mink\Driver\DriverInterface
getElement ( string $name, array $parameters = [] ) : Behat\Mink\Element\NodeElement
getParameter ( string $name ) : Behat\Mink\Element\NodeElement
getSession ( ) : Behat\Mink\Session
getUrl ( array $urlParameters = [] ) : string
hasElement ( string $name, array $parameters = [] ) : boolean
verifyStatusCode ( )
verifyUrl ( array $urlParameters = [] ) Overload to verify if the current url matches the expected one. Throw an exception otherwise.

비공개 메소드들

메소드 설명
createElement ( string $name, array $parameters = [] ) : Behat\Mink\Element\NodeElement
getSelectorAsXpath ( string | array $selector, Behat\Mink\Selector\SelectorsHandler $selectorsHandler ) : string
resolveParameters ( string $name, array $parameters, array $definedElements ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Behat\Mink\Session $session, array $parameters = [] )
$session Behat\Mink\Session
$parameters array

getDefinedElements() 보호된 메소드

Defines elements by returning an array with items being: - :elementName => :cssLocator - :elementName => [:selectorType => :locator]
protected getDefinedElements ( ) : array
리턴 array

getDocument() 보호된 메소드

protected getDocument ( ) : Behat\Mink\Element\DocumentElement
리턴 Behat\Mink\Element\DocumentElement

getDriver() 보호된 메소드

protected getDriver ( ) : Behat\Mink\Driver\DriverInterface
리턴 Behat\Mink\Driver\DriverInterface

getElement() 보호된 메소드

protected getElement ( string $name, array $parameters = [] ) : Behat\Mink\Element\NodeElement
$name string
$parameters array
리턴 Behat\Mink\Element\NodeElement

getParameter() 보호된 메소드

protected getParameter ( string $name ) : Behat\Mink\Element\NodeElement
$name string
리턴 Behat\Mink\Element\NodeElement

getSession() 보호된 메소드

protected getSession ( ) : Behat\Mink\Session
리턴 Behat\Mink\Session

getUrl() 추상적인 보호된 메소드

abstract protected getUrl ( array $urlParameters = [] ) : string
$urlParameters array
리턴 string

hasElement() 보호된 메소드

protected hasElement ( string $name, array $parameters = [] ) : boolean
$name string
$parameters array
리턴 boolean

isOpen() 공개 메소드

public isOpen ( array $urlParameters = [] )
$urlParameters array

open() 공개 메소드

public open ( array $urlParameters = [] )
$urlParameters array

tryToOpen() 공개 메소드

public tryToOpen ( array $urlParameters = [] )
$urlParameters array

verify() 공개 메소드

public verify ( array $urlParameters = [] )
$urlParameters array

verifyStatusCode() 보호된 메소드

protected verifyStatusCode ( )

verifyUrl() 보호된 메소드

Overload to verify if the current url matches the expected one. Throw an exception otherwise.
protected verifyUrl ( array $urlParameters = [] )
$urlParameters array