Sha256: eb0ea1295967f485a863ed69d960fb1629810c47f22b86e4249723efa0022b9d
Contents?: true
Size: 1.37 KB
Versions: 88
Compression:
Stored size: 1.37 KB
Contents
@cms Feature: Change templates In order to change the style of a page without the need to delete it a website editor should be able to change the template of a node Scenario: Change template Given a page exists using the "Page A" template And I am editing the content When I follow "Change Template" And I choose "Page C" And I press "Change" And I visit the content page Then the page should be in the "Page C" template Scenario: Cannot change template for "Home" template Given a page exists using the "Home" template And I am editing the content Then I should not see "Change Template" Scenario: Cannot change template as parent only allows one sub template Given a page exists using the "Page B" template And that page has a "Page C" parent And I am editing the content Then I should not see "Change Template" Scenario: Prevent Template Change if sub content not allowed in new template Given a page exists using the "Page A" template And that page has "Page A" subpages And that page has a "Page A" parent And I am editing the content When I follow "Change Template" And I choose "Page C" And I press "Change" Then I should see "Template cannot be changed as sub content is not allowed in this template" When I visit the content page Then the page should be in the "Page A" template
Version data entries
88 entries across 88 versions & 1 rubygems