Logo: Relish

  1. Sign in

Project: Console

Project Roles Admin

  • @dxpcloud
  • @teardown_projects
  • @teardown_users
Background
Given
I sign in to WeDeploy as a test user
Scenarios
Admin cannot create environment
Given
I am an "admin" on "omega1" project
When
I go to the "Overview" page for "omega1" project
Then
I should not see "Add New Environment" in the environment dropdown
Admin cannot transfer project
Given
I am an "admin" on "omega2" project
And
I have a "contributor" team member "[email protected]" for project "omega2"
When
I sign in to WeDeploy
And
I go to the "Team" page for "omega2" project
And
I click the ellipsis menu for the member "[email protected]"
Then
I should not see "Transfer Ownership" in the dropdown
Admin cannot delete project
Given
I am an "admin" on "omega3" project
When
I go to the "Settings" page for "omega3" project
Then
I should not see the button "Delete Project"
Admin can change team member role
Given
I am an "admin" on "omega4" project
And
I have a "guest" team member "[email protected]" for project "omega4"
When
I sign in to WeDeploy as a test user
And
I go to the "Team" page for "omega4" project
And
I click the ellipsis menu for the member "[email protected]"
And
I click the "Change to Contributor" button
Then
I should see the notification
Role changed
And
I should see "{test user}" as an "Admin" member
And
I should see email "[email protected]" as a "Contributor" member
And
"[email protected]" should get an email with subject
Tester has changed your role from Guest to Contributor on the omega4 environment
Admin can leave project
Given
I am an "admin" on "omega5" project
When
I go to the "Team" page for "omega5" project
And
I click the ellipsis menu for team member "{test user}"
And
I click the "Leave project" button
Then
I should see the notification
The request was successful
And
I should be at url ending with "/projects"
And
I should not see "omega5" in the project list
Admin can remove team member
Given
I am an "admin" on "omega6" project
And
I have a "guest" team member "[email protected]" for project "omega6"
When
I sign in to WeDeploy
And
I go to the "Team" page for "omega6" project
And
I click the ellipsis menu for the member "[email protected]"
And
I click the "Remove Member" button
Then
I should not see email "[email protected]" in the Members list
And
I sign out and sign in as "[email protected]"
And
I should not see "omega6" in the project list
Admin cannot see owner member
Given
I am a "admin" on "omega7" project
When
I go to the "Team" page for "omega7" project
Then
I should not see the text "Owner"
Admin cannot install service
Given
I am an "admin" on "omega8" project
When
I go to the "Services" page for "omega8" project
Then
I should not see the button "Install Service"
Admin can delete service
Given
I am an "admin" on "omega9" project
And
"omega9" project has a "hosting" service with id "hosting1"
When
I go to the "Services" page for "omega9" project
And
I click "hosting1" in the Services list
And
I select "Delete Service" from the ellipsis menu
And
I enter "hosting1" into the delete service input field
And
I click the "Delete Service" button
Then
I should see the notification
Service was deleted successfully.
And
I should not see in the service list
hosting1-omega9
  • @teardown_tester
Admin can deploy a build to an environment
Given
I build services to project "omega10" from this repo:
https://github.com/wedeploy-qa/deployment-tests
And
I add a "dev" environment for "omega10"
And
I have an "admin" team member "[email protected]" for project "omega10-dev"
When
I sign in to WeDeploy as "[email protected]"
And
I go to the "Builds" page for "omega10-dev" project
And
I deploy the build from row 1 to "omega10-dev"
Then
I should see a latest dev deployment card with
status services id branch commit message
green ui 1 master 62410c6 Create README.md
And
I should see the deployment row
status services id branch commit message environment member
green ui 1 master 62410c6 Create README.md dev QA Collaborator

Last published 6 months ago by Christie Yoo.