Sha256: 7e0190d32550f3707f316d5491ae39c8d5b503d29971b0b6f0aa9849c1d56fa0

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 KB

Contents

Feature: Form panel
  In order to value
  As a role
  I want feature

Scenario: UserForm should be rendered properly along with the data for the first user
  Given a role exists with name: "writer"
  And a user exists with first_name: "Carlos", last_name: "Castaneda", role: that role
  When I go to the UserForm test page
  Then I should see "Carlos"
  And I should see "Castaneda"
  And I should see "writer"

@javascript
Scenario: Editing the record
  Given a role exists with name: "musician"
  And a user exists with first_name: "Paul", last_name: "Bley", role: that role
  And a role exists with name: "painter"
  When I go to the UserForm test page
  And I fill in "First name:" with "Salvador"
  And I fill in "Last name:" with "Dali"
  And I fill in "Role name:" with "painter"
  And I press "Apply"
  And I go to the UserForm test page
  Then I should see "Salvador"
  And I should see "Dali"
  And I should see "painter"

  But I should not see "Maxim"
  And I should not see "Osminogov"
  And I should not see "musician"

Scenario: UserFormWithDefaultFields should render properly
  Given a role exists with name: "writer"
  And a user exists with first_name: "Carlos", last_name: "Castaneda", role: that role
  When I go to the UserFormWithDefaultFields test page
  Then I should see "Carlos"
  And I should see "Castaneda"
  And I should see "writer"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netzke-basepack-0.6.2 features/form_panel.feature
netzke-basepack-0.6.1 features/form_panel.feature