Skip to content
Snippets Groups Projects
Commit 8d0e84bc authored by Hiroyuki Sato's avatar Hiroyuki Sato
Browse files

Fix spinach test

parent b5bb9810
No related branches found
No related tags found
1 merge request!7172Network page appear with an error message when entering nonexistent git revision
Loading
@@ -43,4 +43,4 @@ Feature: Project Network Graph
Loading
@@ -43,4 +43,4 @@ Feature: Project Network Graph
   
Scenario: I should fail to look for a commit Scenario: I should fail to look for a commit
When I look for a commit by ";" When I look for a commit by ";"
Then page status code should be 404 Then I should see non-existent git revision error message
Loading
@@ -109,4 +109,8 @@ class Spinach::Features::ProjectNetworkGraph < Spinach::FeatureSteps
Loading
@@ -109,4 +109,8 @@ class Spinach::Features::ProjectNetworkGraph < Spinach::FeatureSteps
find('button').click find('button').click
end end
end end
step 'I should see non-existent git revision error message' do
expect(page).to have_selector '.flash-alert', text: "Git revision ';' does not exist."
end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment