public function MediaBrowserContext::selectN in Lightning Media 8.3
Same name and namespace in other branches
- 8 tests/contexts/MediaBrowserContext.behat.inc \Acquia\LightningExtension\Context\MediaBrowserContext::selectN()
- 8.2 tests/contexts/MediaBrowserContext.behat.inc \Acquia\LightningExtension\Context\MediaBrowserContext::selectN()
Selects an item from the media browser.
@When I select item :n in the media browser
Parameters
int $n: The one-based index of the item to select.
File
- tests/
contexts/ MediaBrowserContext.behat.inc, line 111
Class
- MediaBrowserContext
- Contains step definitions for interacting with Lightning's media browser.
Namespace
Acquia\LightningExtension\ContextCode
public function selectN($n) {
$this
->getContext(EntityBrowserContext::class)
->select($n, 'media_browser');
}