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
cb734461
Commit
cb734461
authored
Dec 10, 2019
by
Jennie Louie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a project for proper test setup
Add a project so dashboard always shows project list
parent
3c07ce6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
qa/qa/specs/features/ee/browser_ui/geo/database_delete_replication_spec.rb
...res/ee/browser_ui/geo/database_delete_replication_spec.rb
+12
-9
No files found.
qa/qa/specs/features/ee/browser_ui/geo/database_delete_replication_spec.rb
View file @
cb734461
...
@@ -7,17 +7,20 @@ module QA
...
@@ -7,17 +7,20 @@ module QA
deleted_project_id
=
nil
deleted_project_id
=
nil
before
do
before
do
Runtime
::
Browser
.
visit
(
:geo_primary
,
QA
::
Page
::
Main
::
Login
)
do
# Need to have at least one project to remain after project deletion,
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
# to make sure dashboard shows the project list
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project_to_delete
=
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'keep-this-project'
project
.
name
=
'delete-this-project'
project
.
description
=
'Geo project to keep'
project
.
description
=
'Geo project to be deleted'
end
end
deleted_project_name
=
project_to_delete
.
name
project_to_delete
=
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
deleted_project_id
=
project_to_delete
.
id
project
.
name
=
'delete-this-project'
project
.
description
=
'Geo project to be deleted'
end
end
deleted_project_name
=
project_to_delete
.
name
deleted_project_id
=
project_to_delete
.
id
end
end
it
'replicates deletion of a project to secondary node'
do
it
'replicates deletion of a project to secondary node'
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