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

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


  Given 'I write new comment "my special test message"' do
    within(".wall-note-form") do
      fill_in "note[note]", with: "my special test message"
      click_button "Add Comment"
    end
  end

  Then 'I should see project wall note "my special test message"' do
    page.should have_content "my special test message"
  end
end