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
7f6f0514
Commit
7f6f0514
authored
May 15, 2020
by
Sanad Liaquat (Personal)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix export file download spec
parent
f9ac8102
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
qa/qa/page/project/settings/advanced.rb
qa/qa/page/project/settings/advanced.rb
+4
-0
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
...ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
+17
-6
No files found.
qa/qa/page/project/settings/advanced.rb
View file @
7f6f0514
...
...
@@ -57,6 +57,10 @@ module QA
click_element
:download_export_link
end
def
has_download_export_link?
has_element?
:download_export_link
end
def
archive_project
page
.
accept_alert
(
"Are you sure that you want to archive this project?"
)
do
click_element
:archive_project_link
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
View file @
7f6f0514
...
...
@@ -80,8 +80,14 @@ module QA
it_behaves_like
'audit event'
,
[
"Change visibility from public to internal"
]
end
context
"Export file download"
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/
issues/202249'
,
type: :bu
g
}
do
context
"Export file download"
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/
-/issues/217949'
,
type: :investigatin
g
}
do
before
do
QA
::
Support
::
Retrier
.
retry_until
do
project
=
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'project_for_export'
project
.
initialize_with_readme
=
true
end
project
.
visit!
Page
::
Project
::
Menu
.
perform
(
&
:go_to_general_settings
)
...
...
@@ -90,6 +96,11 @@ module QA
expect
(
page
).
to
have_text
(
"Project export started"
)
Page
::
Project
::
Menu
.
perform
(
&
:go_to_general_settings
)
settings
.
expand_advanced_settings
(
&
:has_download_export_link?
)
end
end
Page
::
Project
::
Settings
::
Main
.
perform
do
|
settings
|
settings
.
expand_advanced_settings
(
&
:click_download_export_link
)
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