Sha256: 3ae504f359b14bbd924a03f3e12548a12a99c8e478e528518bd7433da21667ad

Contents?: true

Size: 1.4 KB

Versions: 27

Compression:

Stored size: 1.4 KB

Contents

Feature: Structure Rules
  In order to have patterned content
  As a Wagneer
  I want to manage structure through rules

  Background:
    Given I am signed in as Joe Admin
    And I create Cardtype card "Movie"
    And I create card "Movie+*type+*structure" with content "{{+director}} {{+lead}} {{+color}}"
    And I create Phrase card "color+*right+*default" with content "true dat"

  Scenario: New structured card
    When I edit "Movie+*type+*structure"
    And I should see "{{+lead}}"
    When I go to new Movie
    Then I should see "+director"
    And I should see "+lead"
    #And I should see "[+lead]"

  Scenario: Create and edit templated card
    When I create Movie card "Star Wars" with plusses:
      |director|lead|
      |George Lucas|Harrison Ford|
    And I go to card "Star Wars"
    Then In the main card content I should see "George Lucas"
    And In the main card content I should see "Harrison Ford"
    When I edit "Star Wars" with plusses:
      |director|lead|
      |G. Lucas|H. Ford|
    And I go to card "Star Wars"
    Then In the main card content I should see "G. Lucas"
    And In the main card content I should see "H. Ford"
    And In the main card content I should see "true dat"

  Scenario: Default on a ranking set
    Given I create card "Home Movie+*right+*default" with content "Watch this"
    When I go to new Movie card named "Lew+Home Movie"
    Then I should see "Watch this"



Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
wagn-1.15.7 features/structure.feature
wagn-1.15.6 features/structure.feature
wagn-1.15.5 features/structure.feature
wagn-1.15.4 features/structure.feature
wagn-1.15.3 features/structure.feature
wagn-1.15.2 features/structure.feature
wagn-1.15.1 features/structure.feature
wagn-1.15.0 features/structure.feature
wagn-1.15.pre2 features/structure.feature
wagn-1.15.pre features/structure.feature
wagn-1.14.9 features/structure.feature
wagn-1.14.8 features/structure.feature
wagn-1.14.7 features/structure.feature
wagn-1.14.6 features/structure.feature
wagn-1.14.5 features/structure.feature
wagn-1.14.4 features/structure.feature
wagn-1.14.3 features/structure.feature
wagn-1.14.2 features/structure.feature
wagn-1.14.1 features/structure.feature
wagn-1.14.0 features/structure.feature