summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/activity.rb
blob: bbefb29f78e3d2fb5ea850eaf31f3136d738540b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module QA
  module Page
    module Project
      class Activity < Page::Base
        view 'app/views/shared/_event_filter.html.haml' do
          element :push_events, "event_filter_link EventFilter::PUSH, _('Push events')" # rubocop:disable QA/ElementWithPattern
        end

        def click_push_events
          click_on 'Push events'
        end
      end
    end
  end
end