1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Fix Gantt system test to correctly verify context menu open/close behavior (#43397).

Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24110 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2025-11-03 07:43:04 +00:00
parent c338a0c88a
commit ca921b2eea

View File

@ -84,7 +84,8 @@ class GanttsTest < ApplicationSystemTestCase
assert_selector '#context-menu'
assert_selector '#context-menu a.icon-edit'
page.send_keys(:escape)
find('body').click
assert_no_selector('#context-menu')
# Context menu for issue task bar
issue1_task_bar.right_click
@ -92,7 +93,8 @@ class GanttsTest < ApplicationSystemTestCase
assert_selector '#context-menu'
assert_selector '#context-menu a.icon-edit'
page.send_keys(:escape)
find('body').click
assert_no_selector('#context-menu')
end
private