Logo: Relish

  1. Sign in

Project: Console

Project Transfer

  • @dxpcloud
  • @paas
  • @teardown_projects
  • @teardown_users
Background
Given
I sign in to WeDeploy as a test user
Scenarios
Transfer project ownership

Project owner can transfer ownership of the project to a collaborator

Given
I create a project with ID "alpha11"
And
I have a collaborator "[email protected]" for "alpha11"
And
I sign in to WeDeploy as a test user
When
I go to the "Team" page for "alpha11" project
And
I transfer ownership to user "[email protected]"
Then
I should see "{test user}" as an "Admin" member
And
I should not see email "[email protected]" in the Members list
And
I should see listed in the General Activities
Project ownership transferred to [email protected]
And
"[email protected]" should get an email with subject
Tester has transfered the ownership of the alpha11 environment to you
Cannot transfer an environment

Only the main project can be transferred

Given
I create a project with ID "alpha15"
And
I add a "dev" environment for "alpha15"
And
I have a collaborator "[email protected]" for "alpha15-dev"
When
I sign in to WeDeploy as a test user
And
I go to the "Team" page for "alpha15-dev" project
Then
I should see email "[email protected]" as a "Contributor" member
When
I click the ellipsis menu for the member "[email protected]"
Then
I should not see "Transfer Ownership" in the dropdown
  • @teardown_tester
Transferee must have enough plan quota

Contributor's plan quota allows for ownership of 3 projects

Given
I create a project with ID "alpha18"
And
I have a collaborator "[email protected]" for "alpha18"
And
"[email protected]" owns the following projects
alpha19
alpha20
alpha21
And
I sign in to WeDeploy as a test user
When
I go to the "Team" page for "alpha18" project
And
I transfer ownership to user "[email protected]"
Then
I should see the error message
The user you are transferring to does not have enough plan quota to accept this transfer.
And
I should see "{test user}" as an "Owner" member
And
I should see email "[email protected]" as a "Contributor" member

Last published 10 months ago by Christie Yoo.