Logo: Relish

  1. Sign in

Project: Console

Project Roles Contributor

  • @dxpcloud
  • @teardown_projects
  • @teardown_users
Background
Given
I sign in to WeDeploy as a test user
Scenarios
Contributor cannot create environment
Given
I am a "contributor" on "omega11" project
When
I go to the "Overview" page for "omega11" project
Then
I should not see "Add New Environment" in the environment dropdown
Contributor cannot change member roles, remove team member, or transfer project
Given
I am a "contributor" on "omega12" project
And
I have a "guest" team member "[email protected]" for project "omega12"
When
I sign in to WeDeploy
And
I go to the "Team" page for "omega12" project
Then
I should not see an ellipsis menu for email "[email protected]"
And
I click the ellipsis menu for team member "{test user}"
And
I should not see the text "Change to Admin"
And
I should not see the text "Change to Guest"
And
I should not see the text "Transfer Ownership"
And
I should not see the text "Remove Member"
Contributor cannot delete project
Given
I am a "contributor" on "omega13" project
When
I go to the "Settings" page for "omega13" project
Then
I should not see the button "Delete Project"
Contributor cannot install a service
Given
I am a "contributor" on "omega14" project
When
I go to the "Services" page for "omega14" project
Then
I should not see the button "Install Service"
And
I visit "/projects/omega14/services/install"
And
I should see the page title "Overview"
Contributor cannot delete a service
Given
I am a "contributor" on "omega15" project
And
"omega15" project has a "hosting" service with id "hosting1"
When
I go to the "Services" page for "omega15" project
And
I click "hosting1" in the Services list
And
I open the service header dropdown menu
Then
I should not see "Delete Service" in the dropdown
And
I visit "/projects/omega15/services/hosting1/delete"
And
I should see the page title "Overview"
Contributor cannot invite team member
Given
I am a "contributor" on "omega16" project
When
I go to the "Team" page for "omega16" project
Then
I should not see the text "Invite Member"
And
I should not see the button "Send Invite"
Contributor cannot cancel invitation
Given
I create a project with ID "omega17"
And
I invite "[email protected]" to become a collaborator for project "omega17"
And
I have a "contributor" team member "[email protected]" for project "omega17"
When
I sign in to WeDeploy as "[email protected]"
And
I go to the "Team" page for "omega17" project
And
I click the "Invited" Members tab
Then
I should not see an ellipsis menu for email "[email protected]"
Contributor can leave a project
Given
I create a project with ID "omega18"
And
I have a "contributor" team member "[email protected]" for project "omega18"
When
I sign in to WeDeploy as "[email protected]"
And
I go to the "Team" page for "omega18" project
And
I click the ellipsis menu for the member "[email protected]"
And
I click the "Leave project" button
Then
I should be at url ending with "/projects"
And
I should not see "omega18" in the project list
And
I sign out and sign in as test user
And
I should not see the collaborator avatar for "QA Collaborator" for project "omega18"
And
I go to the "Team" page for "omega18" project
And
I should not see "QA Collaborator" with email "[email protected]" in the Members list
And
I should see listed in the General Activities
Member left [email protected]
Member joined [email protected]
Invitation sent to [email protected]
Contributor cannot enable auto scaling
Given
I am a "contributor" on "omega19" project
And
"omega19" project has a "hosting" service with id "hosting1"
When
I visit "/projects/omega19/services/hosting1/scale"
Then
the "Enable Auto Scaling" button should be disabled
Contributor cannot manually downscale
Given
my current user plan is "team"
And
I create a project with ID "omega20"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "omega20"
And
I scale up "hosting1-omega20" by 2 instances using api
And
I have a "contributor" team member "[email protected]" for project "omega20"
When
I sign in to WeDeploy as "[email protected]"
And
I visit "/projects/omega20/services/hosting1/scale"
Then
I should see in the Auto Scaling section
Instances in Use 30% 3 of 10 instances
And
I should see 2 instances in the Scaled Instances section
And
the "Disable Auto Scaling" button should be disabled
And
the "Manual Downscale" button should be disabled
Contributor cannot see owner member
Given
I am a "contributor" on "omega110" project
When
I go to the "Team" page for "omega110" project
Then
I should not see the text "Owner"
  • @teardown_tester
Contributor can deploy a build to an environment
Given
I build services to project "omega111" from this repo:
https://github.com/wedeploy-qa/deployment-tests
And
I add a "dev" environment for "omega111"
And
I have a "contributor" team member "[email protected]" for project "omega111-dev"
When
I sign in to WeDeploy as "[email protected]"
And
I go to the "Builds" page for "omega111-dev" project
And
I deploy the build from row 1 to "omega111-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.