Sha256: f0f9898ce0c9fb23415141fcd96f7ea24b3cd168798a51ce1484d1fe3b22f5e7

Contents?: true

Size: 1.34 KB

Versions: 4

Compression:

Stored size: 1.34 KB

Contents

Feature: Filtering

  Background:
    Given I generate 100 users

  Scenario: Filtering by text_field
    Given I am on the list of users page
    When I fill in "Name" with "user001"
    And I press "Apply changes"
    Then I should see "user001"
    And the "Name" field should contain "user001"
    And I should see "1 of 1"

  Scenario: Filtering by select
    Given I am on the list of users page
    When I select "Admin" from "Role"
    And I press "Apply changes"
    Then I should see "admin001"
    And "Admin" should be selected for "Role"
    And I should see "1 of 1"

  Scenario: Filtering by checkox
    Given I am on the list of users page
    When I check "Banned"
    And I press "Apply changes"
    Then the "Banned" checkbox should be checked
    And I should see "user101"
    And I should see "1 of 1"

  # Scenario: Reset filter
  #   Given I am on the list of users page
  #   When I fill in "Name" with "user001"
  #   And I select "Admin" from "Role"
  #   And I check "Banned"
  #   And I press "Apply changes"
  #   Then the "Name" field should contain "user001"
  #   And "Admin" should be selected for "Role"
  #   And the "Banned" checkbox should be checked
  #   When I press "Reset changes"
  #   Then the "Name" field should contain ""
  #   And nothing should be selected for "Role"
  #   And the "Banned" checkbox should not be checked

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mighty_grid-0.6.0 features/filtering.feature
mighty_grid-0.5.0 features/filtering.feature
mighty_grid-0.4.0 features/filtering.feature
mighty_grid-0.3.3 features/filtering.feature