Maintenance: Stabilize test: capybara:chrome:2 Overviews conditions for shown tickets for organization.
This commit is contained in:
parent
032995eeef
commit
940e22db6d
1 changed files with 3 additions and 3 deletions
|
@ -317,7 +317,7 @@ RSpec.describe 'Manage > Overviews', type: :system do
|
|||
within '.ticket_selector' do
|
||||
fill_in 'condition::ticket.organization_id::value_completion', with: organization_one.name
|
||||
|
||||
find(".js-optionsList [data-value='#{organization_one.id}'].js-option").click
|
||||
find('.js-optionsList span', text: organization_one.name).click
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -328,10 +328,10 @@ RSpec.describe 'Manage > Overviews', type: :system do
|
|||
before do
|
||||
within '.ticket_selector' do
|
||||
fill_in 'condition::ticket.organization_id::value_completion', with: organization_one.name
|
||||
find(".js-optionsList [data-value='#{organization_one.id}'].js-option").click
|
||||
find('.js-optionsList span', text: organization_one.name).click
|
||||
|
||||
fill_in 'condition::ticket.organization_id::value_completion', with: organization_two.name
|
||||
find(".js-optionsList [data-value='#{organization_two.id}'].js-option").click
|
||||
find('.js-optionsList span', text: organization_two.name).click
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue