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
03de75e0
Commit
03de75e0
authored
May 13, 2021
by
Andrejs Cunskis
Committed by
Mark Lapierre
May 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable top level group creation for bulk import test
parent
6d021ce1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
qa/qa/specs/features/browser_ui/1_manage/group/bulk_import_group_spec.rb
...tures/browser_ui/1_manage/group/bulk_import_group_spec.rb
+11
-5
No files found.
qa/qa/specs/features/browser_ui/1_manage/group/bulk_import_group_spec.rb
View file @
03de75e0
# frozen_string_literal: true
module
QA
RSpec
.
describe
"Manage"
,
:requires_admin
do
describe
"Group bulk import"
do
RSpec
.
describe
'Manage'
,
:requires_admin
do
describe
'Group bulk import'
do
let!
(
:api_client
)
{
Runtime
::
API
::
Client
.
as_admin
}
let!
(
:user
)
do
Resource
::
User
.
fabricate_via_api!
do
|
usr
|
...
...
@@ -52,8 +52,13 @@ module QA
)
end
def
staging?
Runtime
::
Scenario
.
gitlab_address
.
include?
(
'staging.gitlab.com'
)
end
before
(
:all
)
do
Runtime
::
Feature
.
enable
(
:bulk_import
)
Runtime
::
Feature
.
enable
(
:top_level_group_creation_enabled
)
if
staging?
end
before
do
...
...
@@ -66,10 +71,10 @@ module QA
end
it
(
"performs bulk group import from another gitlab instance"
,
testcase:
"https://gitlab.com/gitlab-org/quality/testcases/-/issues/1785"
,
'performs bulk group import from another gitlab instance'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1785'
,
# https://gitlab.com/gitlab-org/gitlab/-/issues/330344
exclude:
{
job:
[
"ce:relative_url"
,
"ee:relative_url"
]
}
exclude:
{
job:
[
'ce:relative_url'
,
'ee:relative_url'
]
}
)
do
Page
::
Group
::
BulkImport
.
perform
do
|
import_page
|
import_page
.
import_group
(
source_group
.
path
,
sandbox
.
path
)
...
...
@@ -88,6 +93,7 @@ module QA
after
(
:all
)
do
Runtime
::
Feature
.
disable
(
:bulk_import
)
Runtime
::
Feature
.
disable
(
:top_level_group_creation_enabled
)
if
staging?
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