Project

General

Profile

Feature #43397 » 0002-Fix-Gantt-system-test-to-correctly-verify-context-menu-open-close-behavior.patch

Katsuya HIDAKA, 2025-11-03 07:56

View differences:

test/system/gantts_test.rb
84 84
    assert_selector '#context-menu'
85 85
    assert_selector '#context-menu a.icon-edit'
86 86

  
87
    page.send_keys(:escape)
87
    find('body').click
88
    assert_no_selector('#context-menu')
88 89

  
89 90
    # Context menu for issue task bar
90 91
    issue1_task_bar.right_click
......
92 93
    assert_selector '#context-menu'
93 94
    assert_selector '#context-menu a.icon-edit'
94 95

  
95
    page.send_keys(:escape)
96
    find('body').click
97
    assert_no_selector('#context-menu')
96 98
  end
97 99

  
98 100
  private
(7-7/8)