Follow up - dc3f5dde1b
- Fixes #3414 - Click on time part of date time element in the test is pointing to the date part in some browsers/OS and therefore fails on CI.
This commit is contained in:
parent
050315bac9
commit
6457ca5430
1 changed files with 2 additions and 2 deletions
|
@ -1309,14 +1309,14 @@ RSpec.describe 'Ticket zoom', type: :system do
|
||||||
context 'when clicking timepicker component' do
|
context 'when clicking timepicker component' do
|
||||||
it 'in the first half, hours selected' do
|
it 'in the first half, hours selected' do
|
||||||
within :active_content do
|
within :active_content do
|
||||||
elem.click({ x: 10, y: 10 })
|
elem.click({ x: 10, y: 20 })
|
||||||
expect(elem).to have_selection(0..2)
|
expect(elem).to have_selection(0..2)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'in the second half, minutes selected' do
|
it 'in the second half, minutes selected' do
|
||||||
within :active_content do
|
within :active_content do
|
||||||
elem.click({ x: 30, y: 10 })
|
elem.click({ x: 35, y: 20 })
|
||||||
expect(elem).to have_selection(3..5)
|
expect(elem).to have_selection(3..5)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue