Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
09263719
Commit
09263719
authored
Sep 07, 2012
by
Alex Denisov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preselected Milestone: Cucumber scenario added
parent
137594dd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
features/projects/issues/issues.feature
features/projects/issues/issues.feature
+10
-0
features/step_definitions/project/project_issues_steps.rb
features/step_definitions/project/project_issues_steps.rb
+12
-0
No files found.
features/projects/issues/issues.feature
View file @
09263719
...
...
@@ -64,3 +64,13 @@ Feature: Issues
And
I fill in issue search with
""
Then
I should see
"Release 0.4"
in issues
And
I should see
"Release 0.3"
in issues
@javascript
@current
Scenario
:
I
create Issue with pre-selected milestone
Given
project
"Shop"
has milestone
"v2.2"
And
project
"Shop"
has milestone
"v3.0"
And
I visit project
"Shop"
issues page
When
I select milestone
"v3.0"
And
I click link
"New Issue"
Then
I should see selected milestone with title
"v3.0"
features/step_definitions/project/project_issues_steps.rb
View file @
09263719
...
...
@@ -55,3 +55,15 @@ Given /^I fill in issue search with "(.*?)"$/ do |arg1|
end
fill_in
'issue_search'
,
with:
arg1
end
When
/^I select milestone "(.*?)"$/
do
|
milestone_title
|
select
milestone_title
,
from:
"milestone_id"
end
Then
/^I should see selected milestone with title "(.*?)"$/
do
|
milestone_title
|
issues_milestone_selector
=
"#issue_milestone_id_chzn/a"
wait_until
{
page
.
has_content?
(
"Details"
)
}
page
.
find
(
issues_milestone_selector
).
should
have_content
(
milestone_title
)
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment