summaryrefslogtreecommitdiff
path: root/qa/qa/page/activity/activity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/activity/activity.rb')
-rw-r--r--qa/qa/page/activity/activity.rb11
1 files changed, 4 insertions, 7 deletions
diff --git a/qa/qa/page/activity/activity.rb b/qa/qa/page/activity/activity.rb
index fc885deedf1..7970d8186c6 100644
--- a/qa/qa/page/activity/activity.rb
+++ b/qa/qa/page/activity/activity.rb
@@ -2,15 +2,12 @@ module QA
module Page
module Activity
class Activity < Page::Base
- ##
- # TODO, define all selectors required by this page object
- #
- # See gitlab-org/gitlab-qa#155
- #
- view 'app/views/projects/activity.html.haml'
+ view 'app/views/projects/activity.html.haml' do
+ element :push_events_button, 'Push events'
+ end
def go_to_push_events
- click_button 'Push events'
+ click_button :push_events_button
end
end
end