EC-CUBE4 APIドキュメント

AcceptanceTester extends Actor Uses AcceptanceTesterActions

Inherited Methods

Tags
method
method
method
method
method
method
method
method
method
method
SuppressWarnings

(PHPMD)

Table of Contents

getScenario() mixed
loginAsAdmin() mixed
logoutAsAdmin() mixed
goToAdminPage() mixed
loginAsMember() mixed
logoutAsMember() mixed
setStock() mixed
buyThis() mixed
makeEmptyCart() mixed
getLastDownloadFile() string
switchToNewWindow() _blankで開いたウィンドウに切り替え mixed
dontSeeElements() dontSeeElementが遅いのでJSで存在チェックを行う。 mixed
dragAndDropBy() mixed
wantToTest() void
wantTo() void
execute() void
expectTo() void
expect() void
amGoingTo() void
am() void
lookForwardTo() void
comment() void
haveFriend() Friend

Methods

loginAsAdmin()

public loginAsAdmin( [ $user : mixed = '' ] [, $password : mixed = '' ] [, $dir : mixed = '' ] ) : mixed
Parameters
$user : mixed = ''
$password : mixed = ''
$dir : mixed = ''
Return values
mixed

goToAdminPage()

public goToAdminPage( [ $dir : mixed = '' ] ) : mixed
Parameters
$dir : mixed = ''
Return values
mixed

loginAsMember()

public loginAsMember( [ $email : mixed = '' ] [, $password : mixed = '' ] ) : mixed
Parameters
$email : mixed = ''
$password : mixed = ''
Return values
mixed

setStock()

public setStock( $pid : mixed , $stock : mixed ) : mixed
Parameters
$pid : mixed
$stock : mixed
Return values
mixed

buyThis()

public buyThis( [ $num : mixed = 1 ] ) : mixed
Parameters
$num : mixed = 1
Return values
mixed

getLastDownloadFile()

public getLastDownloadFile( $fileNameRegex : mixed [, $retryCount : mixed = 3 ] ) : string
Parameters
$fileNameRegex : mixed
$retryCount : mixed = 3
Tags
throws
FileNotFoundException

指定したパターンにマッチするファイルがない場合

Return values
string

ファイルパス

switchToNewWindow()

_blankで開いたウィンドウに切り替え

public switchToNewWindow( ) : mixed
Return values
mixed

dontSeeElements()

dontSeeElementが遅いのでJSで存在チェックを行う。

public dontSeeElements( $arrayOfSelector : mixed ) : mixed
Parameters
$arrayOfSelector : mixed
Return values
mixed

dragAndDropBy()

public dragAndDropBy( $selector : mixed , $x_offset : mixed , $y_offset : mixed ) : mixed
Parameters
$selector : mixed
$x_offset : mixed
$y_offset : mixed
Return values
mixed

wantToTest()

public wantToTest( $text : mixed ) : void
Parameters
$text : mixed

execute()

public execute( $callable : mixed ) : void
Parameters
$callable : mixed

expectTo()

public expectTo( $prediction : mixed ) : void
Parameters
$prediction : mixed

expect()

public expect( $prediction : mixed ) : void
Parameters
$prediction : mixed

amGoingTo()

public amGoingTo( $argumentation : mixed ) : void
Parameters
$argumentation : mixed

lookForwardTo()

public lookForwardTo( $achieveValue : mixed ) : void
Parameters
$achieveValue : mixed

comment()

public comment( $description : mixed ) : void
Parameters
$description : mixed

haveFriend()

public haveFriend( $name : mixed , $actorClass : mixed ) : Friend
Parameters
$name : mixed
$actorClass : mixed
Return values
Friend

Search results