Skip to content
Snippets Groups Projects
Commit 75573c22 authored by Georges Racinet's avatar Georges Racinet
Browse files

External users: testing success of project creation in group

Before that, we only tested that the actions were displayed,
not that they worked.

Also, this is with the default group selected in the "New project"
page.
parent b35c5b11
No related branches found
No related tags found
1 merge request!27Tests for project UI creation by external users having a group
Pipeline #5433 failed
......@@ -383,3 +383,14 @@
lambda d: d.find_element_by_id(default_namespace_id).is_displayed)
default_namespace = webdriver.find_element_by_id(default_namespace_id)
assert default_namespace.text.strip() == test_group.path
Project.webdriver_new_project_submit(webdriver, 'ext_create')
resp = Project.api_list(heptapod, search='ext_create')
assert resp.status_code == 200
projects = resp.json()
assert len(projects) == 1
proj_info = projects[0]
assert proj_info['creator_id'] == external_user.id
assert proj_info['namespace']['id'] == test_group.id
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment