# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/ require 'rails_helper' require 'system/examples/core_workflow_examples' RSpec.describe 'Organization Profile', type: :system do let(:organization) { create(:organization) } describe 'Core Workflow' do include_examples 'core workflow' do let(:object_name) { 'Organization' } let(:before_it) do lambda { ensure_websocket(check_if_pinged: false) do visit "#organization/profile/#{organization.id}" within(:active_content) do page.find('.profile .js-action').click page.find('.profile li[data-type=edit]').click end end } end end end end