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
e9ccbae9
Commit
e9ccbae9
authored
Jul 15, 2020
by
Sanad Liaquat (Personal)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unquarantine import project using instance template spec
parent
866fa42b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_templates_spec.rb
.../ee/browser_ui/1_manage/project/project_templates_spec.rb
+7
-5
No files found.
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_templates_spec.rb
View file @
e9ccbae9
...
@@ -65,7 +65,8 @@ module QA
...
@@ -65,7 +65,8 @@ module QA
end
end
end
end
context
'instance level'
,
:requires_admin
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/13418'
,
type: :bug
}
do
# Skipping on staging due to: https://gitlab.com/gitlab-org/gitlab/-/issues/228624
context
'instance level'
,
:requires_admin
,
:skip_live_env
do
before
do
before
do
Flow
::
Login
.
sign_in_as_admin
Flow
::
Login
.
sign_in_as_admin
...
@@ -87,14 +88,15 @@ module QA
...
@@ -87,14 +88,15 @@ module QA
Page
::
Group
::
Show
.
perform
(
&
:go_to_new_project
)
Page
::
Group
::
Show
.
perform
(
&
:go_to_new_project
)
QA
::
Flow
::
Project
.
go_to_create_project_from_template
QA
::
Flow
::
Project
.
go_to_create_project_from_template
Page
::
Project
::
New
.
perform
(
&
:go_to_create_from_template_instance_tab
)
end
end
it
'successfully imports the project using template'
do
it
'successfully imports the project using template'
do
Page
::
Project
::
New
.
perform
do
|
new_page
|
Page
::
Project
::
New
.
perform
do
|
new_page
|
expect
(
new_page
.
instance_template_tab_badge_text
).
to
eq
"1"
new_page
.
retry_until
do
expect
(
new_page
).
to
have_text
(
@template_project
.
name
)
new_page
.
go_to_create_from_template_instance_tab
expect
(
new_page
.
instance_template_tab_badge_text
).
to
eq
"1"
new_page
.
has_text?
(
@template_project
.
name
)
end
end
end
create_project_using_template
(
project_name:
'Project using instance level project template'
,
create_project_using_template
(
project_name:
'Project using instance level project template'
,
...
...
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