Sha256: bb3c50fb4ac51c97980c5bb27ca8ff1f7c87ee9d604a214670a54b259955f059
Contents?: true
Size: 895 Bytes
Versions: 3
Compression:
Stored size: 895 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 page.driver.browser.switch_to.alert.accept 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 page.driver.browser.switch_to.alert.accept expect(page).to have_css('.alert-success') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
camaleon_cms-2.3.6 | spec/features/plugins_spec.rb |
camaleon_cms-2.3.5 | spec/features/plugins_spec.rb |
camaleon_cms-2.3.4 | spec/features/plugins_spec.rb |