capybara_click.diff

Massimo Rossello, 2020-04-19 16:17

Download (990 Bytes)

View differences:

test/system/issues_test.rb
295 295
    page.execute_script "$('tr#issue-1 td.updated_on').trigger('contextmenu');"
296 296
    assert_difference 'Watcher.count', 2 do
297 297
      within('#context-menu') do
298
        click_link 'Watch'
298
        find_link('Watch').hover.click
299 299
      end
300 300
      # wait for ajax response
301 301
      assert page.has_css?('#context-menu .issue-bulk-watcher.icon-fav')
302
-