summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorFilipe Freire <livrofubia@gmail.com>2018-01-12 10:22:35 +0000
committerFilipe Freire <livrofubia@gmail.com>2018-01-12 10:22:35 +0000
commit669c34db6c75d826b6b692232f235f9dcc492082 (patch)
tree0047d89fd65f87fb59928495efab24e4050dfb8d /qa
parentae09f8a70a2e848c4a5fc70ac4ccff1bc3874eed (diff)
downloadgitlab-ce-669c34db6c75d826b6b692232f235f9dcc492082.tar.gz
Add relevant element for push event button
Diffstat (limited to 'qa')
-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