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
657a5cc9
Commit
657a5cc9
authored
Jul 22, 2019
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds visibility attr to project
parent
4c30b0a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
qa/qa/page/project/new.rb
qa/qa/page/project/new.rb
+1
-1
qa/qa/resource/project.rb
qa/qa/resource/project.rb
+4
-2
No files found.
qa/qa/page/project/new.rb
View file @
657a5cc9
...
...
@@ -59,7 +59,7 @@ module QA
end
def
set_visibility
(
visibility
)
choose
visibility
choose
visibility
.
capitalize
end
def
click_github_link
...
...
qa/qa/resource/project.rb
View file @
657a5cc9
...
...
@@ -8,6 +8,7 @@ module QA
include
Events
::
Project
attr_writer
:initialize_with_readme
attr_writer
:visibility
attribute
:id
attribute
:name
...
...
@@ -44,6 +45,7 @@ module QA
@standalone
=
false
@description
=
'My awesome project'
@initialize_with_readme
=
false
@visibility
=
'public'
end
def
name
=
(
raw_name
)
...
...
@@ -60,7 +62,7 @@ module QA
page
.
choose_test_namespace
page
.
choose_name
(
@name
)
page
.
add_description
(
@description
)
page
.
set_visibility
(
'Public'
)
page
.
set_visibility
(
@visibility
)
page
.
enable_initialize_with_readme
if
@initialize_with_readme
page
.
create_new_project
end
...
...
@@ -88,7 +90,7 @@ module QA
post_body
=
{
name:
name
,
description:
description
,
visibility:
'public'
,
visibility:
@visibility
,
initialize_with_readme:
@initialize_with_readme
}
...
...
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