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
6a9217a7
Commit
6a9217a7
authored
Aug 19, 2021
by
Andrejs Cunskis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E2E: Remove redundant staging checks from epics import spec
parent
c7ef15d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
qa/qa/specs/features/ee/api/1_manage/bulk_import_group_spec.rb
.../specs/features/ee/api/1_manage/bulk_import_group_spec.rb
+2
-6
No files found.
qa/qa/specs/features/ee/api/1_manage/bulk_import_group_spec.rb
View file @
6a9217a7
...
...
@@ -4,8 +4,6 @@ module QA
# Do not run on staging since another top level group has to be created which doesn't have premium license
RSpec
.
describe
'Manage'
,
:requires_admin
,
except:
{
subdomain: :staging
}
do
describe
'Bulk group import'
do
let!
(
:staging?
)
{
Runtime
::
Scenario
.
gitlab_address
.
include?
(
'staging.gitlab.com'
)
}
let
(
:admin_api_client
)
{
Runtime
::
API
::
Client
.
as_admin
}
let
(
:api_client
)
{
Runtime
::
API
::
Client
.
new
(
user:
user
)
}
let
(
:author_api_client
)
{
Runtime
::
API
::
Client
.
new
(
user:
author
)
}
...
...
@@ -58,8 +56,7 @@ module QA
end
before
do
Runtime
::
Feature
.
enable
(
:bulk_import
)
unless
staging?
Runtime
::
Feature
.
enable
(
:top_level_group_creation_enabled
)
if
staging?
Runtime
::
Feature
.
enable
(
:bulk_import
)
sandbox
.
add_member
(
user
,
Resource
::
Members
::
AccessLevel
::
MAINTAINER
)
source_group
.
add_member
(
author
,
Resource
::
Members
::
AccessLevel
::
MAINTAINER
)
...
...
@@ -87,8 +84,7 @@ module QA
user
.
remove_via_api!
author
.
remove_via_api!
ensure
Runtime
::
Feature
.
disable
(
:bulk_import
)
unless
staging?
Runtime
::
Feature
.
disable
(
:top_level_group_creation_enabled
)
if
staging?
Runtime
::
Feature
.
disable
(
:bulk_import
)
end
it
'imports group epics'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1874'
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