summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/issue/index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/issue/index.rb')
-rw-r--r--qa/qa/page/project/issue/index.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/qa/qa/page/project/issue/index.rb b/qa/qa/page/project/issue/index.rb
new file mode 100644
index 00000000000..b5903f536a4
--- /dev/null
+++ b/qa/qa/page/project/issue/index.rb
@@ -0,0 +1,17 @@
+module QA
+ module Page
+ module Project
+ module Issue
+ class Index < Page::Base
+ view 'app/views/projects/issues/_issue.html.haml' do
+ element :issue_link, 'link_to issue.title'
+ end
+
+ def go_to_issue(title)
+ click_link(title)
+ end
+ end
+ end
+ end
+ end
+end