Commit 25f01cff authored by Phil Hughes's avatar Phil Hughes

Weight dropdown spinach tests fix

parent 9a3719b8
......@@ -4,6 +4,7 @@ Feature: Project Issues Weight
And I own project "Shop"
Given I visit project "Shop" issues page
@javascript
Scenario: I should see labels list
Given I click link "New Issue"
And I submit new issue "500 error on profile" with weight
......
......@@ -9,7 +9,13 @@ class Spinach::Features::ProjectIssuesWeight < Spinach::FeatureSteps
step 'I submit new issue "500 error on profile" with weight' do
fill_in "issue_title", with: "500 error on profile"
select "7", from: "issue_weight"
click_button 'Weight'
page.within '.dropdown-menu-weight' do
click_link '7'
end
click_button "Submit issue"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment