Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
heptapod-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
heptapod
heptapod-tests
Merge requests
!40
Tests for Heptapod 0.14 / GitLab 12.10
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Tests for Heptapod 0.14 / GitLab 12.10
topic/default/gitlab-12-10
into
branch/default
Overview
1
Commits
3
Pipelines
4
Changes
3
Merged
Georges Racinet
requested to merge
topic/default/gitlab-12-10
into
branch/default
4 years ago
Overview
1
Commits
3
Pipelines
4
Changes
3
Expand
0
0
Merge request reports
Compare
branch/default
version 1
2ea84ec2
4 years ago
branch/default (base)
and
latest version
latest version
00859021
3 commits,
4 years ago
version 1
2ea84ec2
3 commits,
4 years ago
3 files
+
44
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
tests/utils/project.py
+
13
−
1
Options
@@ -849,8 +849,20 @@ class Project(object):
assert
'
GitLab
'
in
driver
.
title
assert
'
New Project
'
in
driver
.
title
elem
=
driver
.
find_element_by_name
(
'
project[path]
'
)
# the project path (slug) attribute is derived automatically from
# its (human readable) name. The names given in these tests all
# transform identically into paths.
# In GitLab 12.10 the converse is true: if only the path is given,
# the name is derived from it with some prettyfication (capitalization,
# spaces). Therefore it is better for our needs to provide the name
# only.
elem
=
driver
.
find_element_by_name
(
'
project[name]
'
)
elem
.
send_keys
(
project_name
)
# If we wanted later on to make sure the path is the intended
# one, we'd have to clear the `project[path]` field first, instead
# of *adding* path after what was just prefilled due to
# the setting of `project[name]`
elem
=
driver
.
find_element_by_xpath
(
'
//input[@type=
"
submit
"
'
'
and @value=
"
Create project
"
]
'
)
elem
.
click
()
Loading