diff options
Diffstat (limited to 'qa/qa/page/project/show.rb')
-rw-r--r-- | qa/qa/page/project/show.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb index 4f0cf55c127..d2c258b90b5 100644 --- a/qa/qa/page/project/show.rb +++ b/qa/qa/page/project/show.rb @@ -34,6 +34,7 @@ module QA view 'app/views/projects/_home_panel.html.haml' do element :forked_from_link element :project_name_content + element :project_id_content end view 'app/views/projects/_files.html.haml' do @@ -157,6 +158,10 @@ module QA find_element(:project_name_content).text end + def project_id + find_element(:project_id_content).text.delete('Project ID: ') + end + def switch_to_branch(branch_name) find_element(:branches_select).click |