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
...
@@ -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
# 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
RSpec
.
describe
'Manage'
,
:requires_admin
,
except:
{
subdomain: :staging
}
do
describe
'Bulk group import'
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
(
:admin_api_client
)
{
Runtime
::
API
::
Client
.
as_admin
}
let
(
:api_client
)
{
Runtime
::
API
::
Client
.
new
(
user:
user
)
}
let
(
:api_client
)
{
Runtime
::
API
::
Client
.
new
(
user:
user
)
}
let
(
:author_api_client
)
{
Runtime
::
API
::
Client
.
new
(
user:
author
)
}
let
(
:author_api_client
)
{
Runtime
::
API
::
Client
.
new
(
user:
author
)
}
...
@@ -58,8 +56,7 @@ module QA
...
@@ -58,8 +56,7 @@ module QA
end
end
before
do
before
do
Runtime
::
Feature
.
enable
(
:bulk_import
)
unless
staging?
Runtime
::
Feature
.
enable
(
:bulk_import
)
Runtime
::
Feature
.
enable
(
:top_level_group_creation_enabled
)
if
staging?
sandbox
.
add_member
(
user
,
Resource
::
Members
::
AccessLevel
::
MAINTAINER
)
sandbox
.
add_member
(
user
,
Resource
::
Members
::
AccessLevel
::
MAINTAINER
)
source_group
.
add_member
(
author
,
Resource
::
Members
::
AccessLevel
::
MAINTAINER
)
source_group
.
add_member
(
author
,
Resource
::
Members
::
AccessLevel
::
MAINTAINER
)
...
@@ -87,8 +84,7 @@ module QA
...
@@ -87,8 +84,7 @@ module QA
user
.
remove_via_api!
user
.
remove_via_api!
author
.
remove_via_api!
author
.
remove_via_api!
ensure
ensure
Runtime
::
Feature
.
disable
(
:bulk_import
)
unless
staging?
Runtime
::
Feature
.
disable
(
:bulk_import
)
Runtime
::
Feature
.
disable
(
:top_level_group_creation_enabled
)
if
staging?
end
end
it
'imports group epics'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1874'
do
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