Property | Type | Description | |
---|---|---|---|
$wrapperId | string | ID of the current screen wrapper (with leading #). |
Property | Type | Description | |
---|---|---|---|
$app | |||
$coverPath | |||
$url | string | The default Koel URL for E2E (server by php artisan serve --port=8081). |
Method | Description | |
---|---|---|
__construct ( ) | TestCase constructor. | |
setUp ( ) | ||
tearDown ( ) |
Method | Description | |
---|---|---|
createApp ( ) : |
||
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. |
protected loginAndGoTo ( $screen ) | ||
$screen | string |
protected loginAndWait ( ) |
protected waitForUserInput ( ) |
protected string $url | ||
return | string |
public string $wrapperId | ||
return | string |