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
0370f421
Commit
0370f421
authored
Nov 20, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for exporting issues as csv
parent
f2097833
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
qa/qa/specs/features/ee/browser_ui/2_plan/issues_list/export_as_csv_spec.rb
...es/ee/browser_ui/2_plan/issues_list/export_as_csv_spec.rb
+41
-0
No files found.
qa/qa/specs/features/ee/browser_ui/2_plan/issues_list/export_as_csv_spec.rb
0 → 100644
View file @
0370f421
# frozen_string_literal: true
require
'securerandom'
module
QA
context
'Plan'
do
describe
'Issues list'
do
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'project-to-test-export-issues-as-csv'
end
end
before
do
Flow
::
Login
.
sign_in
2
.
times
do
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
project
issue
.
title
=
"Issue-
#{
SecureRandom
.
hex
(
4
)
}
"
end
end
project
.
visit!
Page
::
Project
::
Menu
.
perform
(
&
:click_issues
)
end
it
'successfully exports issues list as CSV'
do
Page
::
Project
::
Issue
::
Index
.
perform
do
|
index
|
index
.
click_export_as_csv_button
expect
(
index
.
export_issues_modal
).
to
have_content
(
'2 issues selected'
)
index
.
click_export_issues_button
expect
(
index
).
to
have_content
(
/Your CSV export has started. It will be emailed to (\S+) when complete./
)
end
end
end
end
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