Sha256: 3165c015546194fa65bf94f3da47724a579871df37fb6ea5708f21462c312e24

Contents?: true

Size: 928 Bytes

Versions: 37

Compression:

Stored size: 928 Bytes

Contents

Feature: Manage Pages
  In order to manage pages
  As an administrator
  I want to add/edit/delete editable elements of my pages

Background:
  Given I have the site: "test site" set up
  And I am an authenticated user

@javascript
Scenario: Insert a control element
  Given a page named "hello-world" with the template:
    """
    {% block menu %}{% editable_control 'Menu position', options: 'top=Top of the Page,bottom=Bottom of the Page' %}bottom{% endeditable_control %}{% endblock %}
    """
  When I go to the "hello-world" edition page
  Then "Bottom of the Page" should be selected for "page[editable_elements_attributes][0][content]"
  When I select "Top of the Page" from "page[editable_elements_attributes][0][content]"
  And I press "Save"
  Then I should see "Page was successfully updated."
  When I reload the page
  Then "Top of the Page" should be selected for "page[editable_elements_attributes][0][content]"

Version data entries

37 entries across 37 versions & 2 rubygems

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