Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_search_code.rb « project « steps « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d117b019a15a5ac7690748370fae787e7541f9dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class ProjectSearchCode < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedProject
  include SharedPaths

  When 'I search for term "Welcome to GitLab"' do
    fill_in "search", with: "Welcome to GitLab"
    click_button "Go"
    click_link 'Repository Code'
  end

  Then 'I should see files from repository containing "Welcome to GitLab"' do
    page.should have_content "Welcome to GitLab"
    page.should have_content "GitLab is a free project and repository management application"
  end

end