Sha256: 157edf95c45936e4d24c98c0964f905e5afb207e2eb019aa6a4e1264a1160f8d

Contents?: true

Size: 611 Bytes

Versions: 7

Compression:

Stored size: 611 Bytes

Contents

@dsl @javascript
Feature: In place edit

  Background:
    Given I am logged in
    And a product with sku "sofa-12"
    And a configuration of:
      """
      class AbAdminProduct < AbAdmin::AbstractResource
        table do
          field :sku, editable: true
          field :name
          field :created_at
        end
      end
      """
    And I am on the admin products page

  Scenario: In place edit field
    When I click "sofa-12"
    And I fill in place with "sofa_new"
    And I submit in place form
    Then I should see "sofa_new"

    When I reload the page
    Then I should see "sofa_new"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ab_admin-0.3.6 features/dsl/in_place_edit.feature
ab_admin-0.3.5 features/dsl/in_place_edit.feature
ab_admin-0.3.4 features/dsl/in_place_edit.feature
ab_admin-0.3.3 features/dsl/in_place_edit.feature
ab_admin-0.3.2 features/dsl/in_place_edit.feature
ab_admin-0.3.1 features/dsl/in_place_edit.feature
ab_admin-0.3.0 features/dsl/in_place_edit.feature