Sha256: c669b0cb2716c54fc65530b34ed3c5a72783c06d217ca469a623b8170fce3694

Contents?: true

Size: 941 Bytes

Versions: 33

Compression:

Stored size: 941 Bytes

Contents

Feature: Unique fields
  As an editor
  In order to validate my data
  I want to be able to create unique fields

Background:
  Given I have the site: "test site" set up
  And I have a custom model named "Members" with
    | label         | type      | required    | unique  |
    | Name          | string    | true        | false   |
    | e-mail        | email     | true        | true    |
  And I have entries for "Members" with
    | name              | e_mail        |
    | John Doe          | john@doe.com |
    
  And I am an authenticated user

@javascript
Scenario:
  And I go to the list of "Members"
  And I follow "new entry" within the main content
  And I fill in "Name" with "John Doe II"
  And I fill in "e-mail" with "john@doe.com"
  And I press "Create"
  Then I should see "Entry was not created."

  When I fill in "e-mail" with "john@doe.es"
  And I press "Create"
  Then I should see "Entry was successfully created."

Version data entries

33 entries across 33 versions & 2 rubygems

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