Sha256: 980a8c7d8eb73699a21353c348fb1a0115c9fa1e0f3541cf4eb02a186f72a234

Contents?: true

Size: 936 Bytes

Versions: 3

Compression:

Stored size: 936 Bytes

Contents

Feature: Global Navigation

  Background:
    Given a configuration of:
    """
      ActiveAdmin.register Post
    """
    And I am logged in
    And 10 posts exist

  Scenario: Viewing the current section in the global navigation
    Given I am on the index page for posts
    Then the "Posts" tab should be selected

  Scenario: Viewing the current section in the global navigation when on new page
    Given I am on the index page for posts
    And I follow "New Post"
    Then the "Posts" tab should be selected

  Scenario: Viewing the current section in the global navigation when on show page
    Given I am on the index page for posts
    And I follow "View"
    Then the "Posts" tab should be selected

  Scenario: Viewing the current section in the global navigation when on edit page
    Given I am on the index page for posts
    And I follow "View"
    And I follow "Edit Post"
    Then the "Posts" tab should be selected

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-rails-1.7.2 features/global_navigation.feature
activeadmin-rails-1.7.1 features/global_navigation.feature
activeadmin-rails-1.7.0 features/global_navigation.feature