integration_spec.rb 691 B

123456789101112131415161718192021
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. RSpec.describe 'Manage > Integration', type: :system do
  4. before do
  5. visit '#system/integration'
  6. end
  7. describe 'Switching on/off integrations (e.g. LDAP + Exchange) leads to unpredictable results #4181' do
  8. it 'does not switch on multiple integrations' do
  9. click_link 'GitHub'
  10. click_link 'Integrations'
  11. click_link 'GitLab'
  12. click '.js-switch'
  13. click_link 'Integrations'
  14. expect(page).to have_css('tr[data-key=IntegrationGitLab] .icon-status.ok')
  15. expect(page).to have_no_css('tr[data-key=IntegrationGitHub] .icon-status.ok')
  16. end
  17. end
  18. end