Sha256: a46a3656d448ccc1ba01fc0fa967aa8fa984b38b5ec5307edc835fb11456bbd5

Contents?: true

Size: 765 Bytes

Versions: 22

Compression:

Stored size: 765 Bytes

Contents

Feature: Integer fields
  As an editor
  In order to validate my data
  I want to be able to set fields to integers

Background:
  Given I have the site: "test site" set up
  And I have a custom model named "ToDos" with
    | label         | type      | required    |
    | Task          | string    | true        |
    | Priority      | integer   | true        |

  And I am an authenticated user

@javascript
Scenario:
  And I go to the list of "ToDos"
  And I follow "new entry" within the main content
  And I fill in "Task" with "Buy milk"
  And I fill in "Priority" with "one"
  And I press "Create"
  Then I should see "Entry was not created."

  When I fill in "Priority" with "1"
  And I press "Create"
  Then I should see "Entry was successfully created."

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
locomotivecms-3.0.0.rc3 features/backoffice/content_types/integer.feature
locomotivecms-3.0.0.rc2 features/backoffice/content_types/integer.feature
locomotivecms-3.0.0.rc1 features/backoffice/content_types/integer.feature
locomotivecms-3.0.0.pre.beta.1 features/backoffice/content_types/integer.feature
locomotivecms-3.0.0.pre.alpha.3 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.7 features/backoffice/content_types/integer.feature
locomotivecms-3.0.0.pre.alpha.2 features/backoffice/content_types/integer.feature
locomotivecms-3.0.0.pre.alpha features/backoffice/content_types/integer.feature
locomotive_cms-2.5.6 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.6.rc2 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.6.rc1 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.5 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.4 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.3 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.2 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.1 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.0 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.0.rc3 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.0.rc2 features/backoffice/content_types/integer.feature
locomotive_cms-2.5.0.rc1 features/backoffice/content_types/integer.feature