Fixes #3479 - Customer overview doesn't load on change.
This commit is contained in:
parent
7bd2334bea
commit
34bcc21296
2 changed files with 20 additions and 2 deletions
|
@ -1373,6 +1373,7 @@ class BulkForm extends App.Controller
|
|||
@configure_attributes_ticket.push localAttribute
|
||||
|
||||
time_attribute = _.findWhere(@configure_attributes_ticket, {'name': 'pending_time'})
|
||||
if time_attribute
|
||||
time_attribute.orientation = 'top'
|
||||
time_attribute.disableScroll = true
|
||||
|
||||
|
|
|
@ -170,4 +170,21 @@ RSpec.describe 'Ticket views', type: :system do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
context 'Customer', authenticated_as: :authenticate do
|
||||
let(:customer) { create(:customer, :with_org) }
|
||||
let(:ticket) { create(:ticket, customer: customer) }
|
||||
|
||||
def authenticate
|
||||
ticket
|
||||
customer
|
||||
end
|
||||
|
||||
it 'does basic view test of tickets' do
|
||||
visit 'ticket/view/my_tickets'
|
||||
expect(page).to have_text(ticket.title)
|
||||
click_on 'My Organization Tickets'
|
||||
expect(page).to have_text(ticket.title)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue