Sha256: 6e17740739a66adde6ed5d7a15516bffb4630f73037bbd282f6b94cec2486f1b

Contents?: true

Size: 872 Bytes

Versions: 15

Compression:

Stored size: 872 Bytes

Contents

@javascript
Feature: Layouts
  In order to have greater control over the look and feel of my website
  As a User
  I want custom html templates

  Background:
    Given I am signed in as Joe Admin
    And I create HTML card "simple layout" with content "Simple Header {{_main}} Simple Footer"
    And I wait a sec
    And the card "*all+*layout" contains "[[simple layout]]"
    And I create Pointer card "User+*type+*layout" with content "[[user layout]]"
    And I wait a sec
    And I create HTML card "user layout" with content "User Header {{_main}}"
    And I wait a sec  

  Scenario: I visit a Basic card with the simple layout
    When I go to card "*account links"
    Then I should see "Simple Header"
    And I should see "Joe Admin"

  Scenario: I visit a User card with the user layout
    When I go to card "Joe User"
    Then I should see "User Header"



Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wagn-1.15.7 features/layouts.feature
wagn-1.15.6 features/layouts.feature
wagn-1.15.5 features/layouts.feature
wagn-1.15.4 features/layouts.feature
wagn-1.15.3 features/layouts.feature
wagn-1.15.2 features/layouts.feature
wagn-1.15.1 features/layouts.feature
wagn-1.15.0 features/layouts.feature
wagn-1.15.pre2 features/layouts.feature
wagn-1.15.pre features/layouts.feature
wagn-1.14.9 features/layouts.feature
wagn-1.14.8 features/layouts.feature
wagn-1.14.7 features/layouts.feature
wagn-1.14.6 features/layouts.feature
wagn-1.14.5 features/layouts.feature