diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-15 15:37:20 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-15 15:37:20 +0400 |
commit | 211c06e4191395d7c23a9a523ef232506d786ab6 (patch) | |
tree | 1a3fcd421b4746a284f391f14673d4b2e3372258 /features | |
parent | 6ddacaf9bfe02378e610ce277cd901097dcf6fdd (diff) |
Fix few test and notify for commit author
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/project_browse_git_repo.rb | 2 | ||||
-rw-r--r-- | features/steps/shared/note.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/features/steps/project/project_browse_git_repo.rb b/features/steps/project/project_browse_git_repo.rb index e966f407738..19edfb076eb 100644 --- a/features/steps/project/project_browse_git_repo.rb +++ b/features/steps/project/project_browse_git_repo.rb @@ -14,6 +14,6 @@ class ProjectBrowseGitRepo < Spinach::FeatureSteps Then 'I should see git file blame' do page.should have_content "rubygems.org" page.should have_content "Dmitriy Zaporozhets" - page.should have_content "bc3735004cb Moving to rails 3.2" + page.should have_content "Moving to rails 3.2" end end diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index 3d5441c40b0..934aba6a91a 100644 --- a/features/steps/shared/note.rb +++ b/features/steps/shared/note.rb @@ -2,6 +2,7 @@ module SharedNote include Spinach::DSL Given 'I delete a comment' do + sleep 1 first(".js-note-delete").trigger("click") end @@ -15,6 +16,7 @@ module SharedNote within(".js-main-target-form") do fill_in "note[note]", with: "XML attached" click_button "Add Comment" + sleep 0.05 end end |