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
c37d488f
Commit
c37d488f
authored
Jun 02, 2020
by
Desiree Chevalier
Committed by
Ramya Authappan
Jun 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds a smoke test for closing an issue
parent
f934667f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
...ecs/features/browser_ui/2_plan/issue/create_issue_spec.rb
+21
-0
No files found.
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
View file @
c37d488f
...
...
@@ -3,6 +3,8 @@
module
QA
context
'Plan'
,
:smoke
do
describe
'Issue creation'
do
let
(
:closed_issue
)
{
Resource
::
Issue
.
fabricate_via_api!
}
before
do
Flow
::
Login
.
sign_in
end
...
...
@@ -17,6 +19,25 @@ module QA
end
end
it
'closes an issue'
do
closed_issue
.
visit!
Page
::
Project
::
Issue
::
Show
.
perform
do
|
issue_page
|
issue_page
.
click_close_issue_button
expect
(
issue_page
).
to
have_element
(
:reopen_issue_button
)
end
Page
::
Project
::
Menu
.
perform
(
&
:click_issues
)
Page
::
Project
::
Issue
::
Index
.
perform
do
|
index
|
expect
(
index
).
not_to
have_issue
(
closed_issue
)
index
.
click_closed_issues_link
expect
(
index
).
to
have_issue
(
closed_issue
)
end
end
context
'when using attachments in comments'
,
:object_storage
do
let
(
:gif_file_name
)
{
'banana_sample.gif'
}
let
(
:file_to_attach
)
do
...
...
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