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

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

  Given 'I search for "Sho"' do
    fill_in "dashboard_search", with: "Sho"
    click_button "Search"
  end

  Then 'I should see "Shop" project link' do
    page.should have_link "Shop"
  end

  Given 'I search for "Contibuting"' do
    fill_in "dashboard_search", with: "Contibuting"
    click_button "Search"
  end
end