From 6457ca543038ae8eb1c7538e82fad989dee9abf3 Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Wed, 3 Mar 2021 07:27:06 +0000 Subject: [PATCH] Follow up - dc3f5dde1b6a8c07c003ee77cbe8606378309c0e - 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. --- spec/system/ticket/zoom_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/ticket/zoom_spec.rb b/spec/system/ticket/zoom_spec.rb index 7330017bc..4acd114f0 100644 --- a/spec/system/ticket/zoom_spec.rb +++ b/spec/system/ticket/zoom_spec.rb @@ -1309,14 +1309,14 @@ RSpec.describe 'Ticket zoom', type: :system do context 'when clicking timepicker component' do it 'in the first half, hours selected' do within :active_content do - elem.click({ x: 10, y: 10 }) + elem.click({ x: 10, y: 20 }) expect(elem).to have_selection(0..2) end end it 'in the second half, minutes selected' do within :active_content do - elem.click({ x: 30, y: 10 }) + elem.click({ x: 35, y: 20 }) expect(elem).to have_selection(3..5) end end