PHP 클래스 E2E\TestCase

상속: extends PHPUnit_Framework_TestCase, use trait WebDriverShortcuts
파일 보기 프로젝트 열기: phanan/koel

공개 프로퍼티들

프로퍼티 타입 설명
$wrapperId string ID of the current screen wrapper (with leading #).

보호된 프로퍼티들

프로퍼티 타입 설명
$app app\Application
$coverPath
$url string The default Koel URL for E2E (server by php artisan serve --port=8081).

공개 메소드들

메소드 설명
__construct ( ) TestCase constructor.
setUp ( )
tearDown ( )

보호된 메소드들

메소드 설명
createApp ( ) : Application
focusIntoApp ( )
goto ( $screen ) Go to a specific screen.
login ( string $username = '[email protected]', string $password = 'SoSecureK0el' ) Log into Koel.
loginAndGoTo ( $screen ) Log in and go to a specific screen.
loginAndWait ( ) Log in and wait for the app to finish loading.
resetData ( ) Reset the test data for E2E tests.
waitForUserInput ( ) Wait for the user to press ENTER key before continuing.

메소드 상세

__construct() 공개 메소드

TestCase constructor.
public __construct ( )

createApp() 보호된 메소드

protected createApp ( ) : Application
리턴 app\Application

focusIntoApp() 보호된 메소드

protected focusIntoApp ( )

goto() 보호된 메소드

Go to a specific screen.
protected goto ( $screen )
$screen

login() 보호된 메소드

Log into Koel.
protected login ( string $username = '[email protected]', string $password = 'SoSecureK0el' )
$username string
$password string

loginAndGoTo() 보호된 메소드

Log in and go to a specific screen.
protected loginAndGoTo ( $screen )
$screen string

loginAndWait() 보호된 메소드

Log in and wait for the app to finish loading.
protected loginAndWait ( )

resetData() 보호된 메소드

Reset the test data for E2E tests.
protected resetData ( )

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

waitForUserInput() 보호된 메소드

Wait for the user to press ENTER key before continuing.
protected waitForUserInput ( )

프로퍼티 상세

$app 보호되어 있는 프로퍼티

protected Application,App $app
리턴 app\Application

$coverPath 보호되어 있는 프로퍼티

protected $coverPath

$url 보호되어 있는 프로퍼티

The default Koel URL for E2E (server by php artisan serve --port=8081).
protected string $url
리턴 string

$wrapperId 공개적으로 프로퍼티

ID of the current screen wrapper (with leading #).
public string $wrapperId
리턴 string