You are here

public function ViewsContext::applyExposedFilters in Lightning Core 8.2

Same name and namespace in other branches
  1. 8.5 tests/contexts/ViewsContext.behat.inc \Acquia\LightningExtension\Context\ViewsContext::applyExposedFilters()
  2. 8 tests/contexts/ViewsContext.behat.inc \Acquia\LightningExtension\Context\ViewsContext::applyExposedFilters()
  3. 8.3 tests/contexts/ViewsContext.behat.inc \Acquia\LightningExtension\Context\ViewsContext::applyExposedFilters()
  4. 8.4 tests/contexts/ViewsContext.behat.inc \Acquia\LightningExtension\Context\ViewsContext::applyExposedFilters()

Submits exposed Views filters.

@When I apply the exposed filters

File

tests/contexts/ViewsContext.behat.inc, line 24

Class

ViewsContext
Contains step definitions for working with views.

Namespace

Acquia\LightningExtension\Context

Code

public function applyExposedFilters() {
  $this
    ->assertSession()
    ->elementExists('css', '.views-exposed-form .form-actions input[type = "submit"]')
    ->press();
  $this
    ->awaitAjax();
}