mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Fix a test failure in the Gantt chart context menu caused by unintended button clicks (#43397).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@24118 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3fd3d6ab23
commit
8a6ef6ddbc
@ -84,17 +84,15 @@ class GanttsTest < ApplicationSystemTestCase
|
||||
assert_selector '#context-menu'
|
||||
assert_selector '#context-menu a.icon-edit'
|
||||
|
||||
find('body').click
|
||||
assert_no_selector('#context-menu')
|
||||
# Click outside the context menu to close it
|
||||
issue1_subject_row.click
|
||||
assert_no_selector '#context-menu'
|
||||
|
||||
# Context menu for issue task bar
|
||||
issue1_task_bar.right_click
|
||||
|
||||
assert_selector '#context-menu'
|
||||
assert_selector '#context-menu a.icon-edit'
|
||||
|
||||
find('body').click
|
||||
assert_no_selector('#context-menu')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user