Sha256: f991df912ab2bb77c4fd94f7b87b61cfe9f8d64100cd61b838ab546552a6a240
Contents?: true
Size: 839 Bytes
Versions: 34
Compression:
Stored size: 839 Bytes
Contents
require "rails_helper" describe "the Menus", js: true do login_success it "Plugins list" do admin_sign_in visit "#{cama_root_relative_path}/admin/plugins" expect(page).to have_css('#table-plugins-list') expect(page).to have_content("Attack") expect(page).to have_content("Contact Form") expect(page).to have_content("Front Cache") expect(page).to have_content("Active") # uninstall plugin within '#tab_plugins_active' do all(".btn-default")[0].click end confirm_dialog expect(page).to have_css('.alert-success') # install plugin page.execute_script('$("#table-plugins-list .nav-tabs li").eq(1).find("a").click()') within '#tab_plugins_disabled' do all(".btn-default")[0].click end confirm_dialog expect(page).to have_css('.alert-success') end end
Version data entries
34 entries across 34 versions & 1 rubygems