Sha256: a7fccf5e728f9b299c0b2c3ec0fbaf28052fd0094293692d18f897f9d33c194c

Contents?: true

Size: 492 Bytes

Versions: 21

Compression:

Stored size: 492 Bytes

Contents

Then /^I should see a sidebar titled "([^"]*)"$/ do |title|
  expect(page).to have_css '.sidebar_section h3', text: title
end

Then /^I should not see a sidebar titled "([^"]*)"$/ do |title|
  expect(page).not_to have_css '.sidebar_section h3', text: title
end

Then(/^I should see a sidebar titled "(.*?)" above sidebar titled "(.*?)"$/) do |top_title, bottom_title|
  expect(page).to have_css %Q(.sidebar_section:contains('#{top_title}') + .sidebar_section:contains('#{bottom_title}'))
end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
activeadmin-rails-1.7.1 features/step_definitions/sidebar_steps.rb
activeadmin-rails-1.7.0 features/step_definitions/sidebar_steps.rb
activeadmin-rb-1.6.0 features/step_definitions/sidebar_steps.rb
activeadmin-rb-1.5.2 features/step_definitions/sidebar_steps.rb
activeadmin-rb-1.5.1 features/step_definitions/sidebar_steps.rb
activeadmin-rb-1.5.0 features/step_definitions/sidebar_steps.rb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb
activeadmin-rb-1.4.0 features/step_definitions/sidebar_steps.rb
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb
activeadmin-1.3.1 features/step_definitions/sidebar_steps.rb
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb
activeadmin-1.3.0 features/step_definitions/sidebar_steps.rb
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb
activeadmin-1.2.1 features/step_definitions/sidebar_steps.rb
activeadmin-1.2.0 features/step_definitions/sidebar_steps.rb
activeadmin-1.1.0 features/step_definitions/sidebar_steps.rb
activeadmin-1.0.0 features/step_definitions/sidebar_steps.rb