Sha256: e475f4653c2e6cf7212e50b559685452052d7575796f7e01843c570fcf923b68

Contents?: true

Size: 1.84 KB

Versions: 4

Compression:

Stored size: 1.84 KB

Contents

@javascript

Feature: Signing up
  In order to be able to contribute content and be credited for my contributions
  As a content editor
  I want to signup for an account

  Background:
    Given I am signed in as "Joe Admin"
    And I edit "Sign up+*type+*captcha"
    And I uncheck "Content"
    And I press "Submit"
        # By default Wagns are configured to require approval
    Given Joe Admin creates Pointer card "User+*type+*create" with content "[[Anyone]]"


  Scenario: Signing up (without approval) and then signing out and back in
    And I am signed out
    #This is the needed permission configuration to allow signups without approval

    When I go to the home page
    And I follow "Sign up"
    And I fill in "card_name" with "Wanna B"
    And I enter "wanna@wagn.org" into "*email"
    And I enter "wanna_pass" into "*password"
    And I press "Submit"
    Then I should see "Signup Success"
    And "wanna@wagn.org" should receive an email with subject "verification link for My Wagn"

    When I open the email
    And I click the first link in the email
    Then I should see "Wanna B"
    And "Wanna B" should be signed in


    When I go to the home page
    And I follow "Sign out"
    Then I should not see "Wanna B"

    When I follow "Sign in"
    And I enter "wanna@wagn.org" into "*email"
    And I enter "wanna_pass" into "*password"
    And I press "Sign in"
    Then I should see "Wanna B"
    And "Wanna B" should be signed in


  #Scenario: Signing up with approval
    #Given I am signed out

    #When I go to card "AccountRequest"
    #And In the main card content I click "Wanna B"
    #When In the main card content I click "Invite Wanna B"
    #Then I should not see "life story"
    #When I press "Invite"
    #Then I should see "Success"
    #When I go to card "Wanna B"
    #Then I should see "life story"

    #Then I should see "sent"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decko-0.3.1 features/signup.feature
decko-0.3.0 features/signup.feature
decko-0.2.2 features/signup.feature
decko-0.2.1 features/signup.feature