interface SilverStripeAwareContext implements MinkAwareContext (View source)

SilverStripe aware interface for contexts.

Methods

public
setDatabase(string $databaseName)

Sets SilverStripe instance.

public
setAjaxSteps(array $ajaxSteps)

Marks steps as AJAX steps for special treatment

public
setAjaxTimeout(int $ajaxTimeout)

Set timeout in millisceonds

public
setAdminUrl(string $adminUrl)

Set admin url

public
setLoginUrl(string $loginUrl)

Set login url

public
setScreenshotPath(string $screenshotPath)

Set path to screenshots dir

public
setRegionMap($regionMap)

I have no idea

Details

setDatabase(string $databaseName)

Sets SilverStripe instance.

Parameters

string $databaseName

Temp database name

setAjaxSteps(array $ajaxSteps)

Marks steps as AJAX steps for special treatment

Parameters

array $ajaxSteps

Array of step name parts to match

setAjaxTimeout(int $ajaxTimeout)

Set timeout in millisceonds

Parameters

int $ajaxTimeout

setAdminUrl(string $adminUrl)

Set admin url

Parameters

string $adminUrl

setLoginUrl(string $loginUrl)

Set login url

Parameters

string $loginUrl

setScreenshotPath(string $screenshotPath)

Set path to screenshots dir

Parameters

string $screenshotPath

setRegionMap($regionMap)

I have no idea

Parameters

$regionMap