Sha256: 4ceca03e6358da9205f95317b4bcc33df3ba510848f00a95091a27330290b0ca

Contents?: true

Size: 521 Bytes

Versions: 47

Compression:

Stored size: 521 Bytes

Contents

Then /^I should see the default welcome message$/ do
  step %{I should see "Welcome to Active Admin" within "#dashboard_default_message"}
end

Then /^I should not see the default welcome message$/ do
  step %{I should not see "Welcome to Active Admin"}
end

Then /^I should see a dashboard widget "([^"]*)"$/ do |name|
  expect(page).to have_css '.dashboard .panel h3', text: name
end

Then /^I should not see a dashboard widget "([^"]*)"$/ do |name|
  expect(page).to_not have_css '.dashboard .panel h3', text: name
end

Version data entries

47 entries across 47 versions & 6 rubygems

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