Logo: Relish

  1. Sign in

Project: Console

Project Roles Guest

  • @dxpcloud
  • @teardown_projects
  • @teardown_users
Background
Given
I sign in to WeDeploy as a test user
Scenarios
Guest cannot change member roles, remove team member, or transfer project
Given
I am a "guest" on "omega21" project
And
I have a "contributor" team member "[email protected]" for project "omega21"
When
I sign in to WeDeploy
And
I go to the "Team" page for "omega21" 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 "Remove Member"
And
I should not see the text "Transfer Ownership"
Guest cannot invite team member
Given
I am a "guest" on "omega22" project
When
I go to the "Team" page for "omega22" project
Then
I should not see the text "Invite Member"
And
I should not see the button "Send Invite"
Guest can leave a project
Given
I am a "guest" on "omega23" project
When
I go to the "Team" page for "omega23" project
And
I click the ellipsis menu for team member "{test user}"
And
I click the "Leave project" button
Then
I should be at url ending with "/projects"
And
I should not see "omega23" in the project list
Guest cannot change project settings
Given
I am a "guest" on "omega24" project
When
I go to the "Settings" page for "omega24" project
Then
I should see the text "No Settings Available"
And
I should not see the text "VPN"
And
I should not see the button "Delete Project"
And
I should not see the text "Master Token"
Guest cannot install a service
Given
I am a "guest" on "omega25" project
When
I go to the "Services" page for "omega25" project
Then
I should not see the button "Install Service"
And
I visit "/projects/omega25/services/install"
And
I should see the page title "Overview"
Guest cannot delete a service
Given
I am a "guest" on "omega26" project
And
"omega26" project has a "hosting" service with id "hosting1"
When
I go to the "Services" page for "omega26" 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/omega26/services/hosting1/delete"
And
I should see the page title "Overview"
Guest cannot restart a service
Given
I am a "guest" on "omega27" project
And
"omega27" project has a "hosting" service with id "hosting1"
When
I go to the "Services" page for "omega27" project
And
I click "hosting1" in the Services list
And
I open the service header dropdown menu
Then
I should not see "Restart Service" in the dropdown
Guest cannot create environment
Given
I am a "guest" on "omega28" project
When
I go to the "Services" page for "omega28" project
Then
I should not see "Add New Environment" in the environment dropdown
And
I visit "/projects/omega28/new-environment"
And
I should see the page title "Overview"
Guest cannot access shell tab
Given
I am a "guest" on "omega29" project
And
"omega29" project has a "hosting" service with id "hosting1"
When
I go to the "Services" page for "omega29" project
And
I click "hosting1" in the Services list
Then
I should not see the "Shell" tab
Guest cannot see owner member
Given
I am a "guest" on "omega30" project
When
I go to the "Team" page for "omega30" project
Then
I should not see the text "Owner"
Guest cannot deploy a build to an environment
Given
I am a "guest" on "omega31" project
And
"omega31" project has a "hosting" service with id "hosting1"
When
I go to the "Overview" page for "omega31" project
And
I click "Builds" in the topbar
And
I open the dropdown menu for row 1
Then
I should not see the text "Deploy Build to..."
Guest cannot enable auto scaling
Given
I am a "guest" on "omega32" project
And
"omega32" project has a "hosting" service with id "hosting1"
When
I visit "/projects/omega32/services/hosting1/scale"
Then
the "Enable Auto Scaling" button should be disabled
Guest cannot manually downscale
Given
my current user plan is "team"
And
I create a project with ID "omega33"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "omega33"
And
I scale up "hosting1-omega33" by 2 instances using api
And
I have a "guest" team member "[email protected]" for project "omega33"
When
I sign in to WeDeploy as "[email protected]"
And
I visit "/projects/omega33/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
Guest cannot view or update environment variable values
Given
I create a project with ID "omega34"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "omega34"
And
I add the following Environment Variables for "hosting1"
Key Value
TEST_KEY_1 12345
And
I have a "guest" team member "[email protected]" for project "omega34"
When
I sign in to WeDeploy as "[email protected]"
And
I go to the "Services" page for "omega34" project
And
I go to the "Environment Variables" tab for "hosting1"
Then
I should see the text "Environment Variables"
And
all input fields should be disabled
And
I should not see the button "Update Environment Variables"
And
I should not see any remove environment variable buttons
And
the environment variable values cannot be viewed
Guest cannot update custom domains
Given
I am a "guest" on "omega36" project
And
"omega36" project has a "hosting" service with id "hosting1"
When
I go to the "Services" page for "omega36" project
And
I go to the "Custom Domains" tab for "hosting1"
Then
all input fields should be disabled
And
I should not see the button "Update Custom Domains"
Guest can only view VPN status if connected
Given
I am a "guest" on "omega37" project
And
"omega37" is connected to a VPN
When
I go to the "Settings" page for "omega37" project
Then
I should see the text "Connected to 200.195.173.178:10194"
And
I should not see the button "Add VPN Port"
And
I should not see the Port Forwarding section
And
I should not see the button "Delete Project"
And
I should not see the text "Master Token"
Guest cannot cancel invitation
Given
I create a project with ID "omega39"
And
I invite "[email protected]" to become a collaborator for project "omega39"
And
I have a "guest" team member "[email protected]" for project "omega39"
When
I sign in to WeDeploy as "[email protected]"
And
I go to the "Team" page for "omega39" project
And
I click the "Invited" Members tab
Then
I should not see an ellipsis menu for email "[email protected]"
  • @teardown_tester
Guest cannot download logs
Given
I am a "guest" on "omega40" project
And
"omega40" project has a "hosting" service with id "hosting1"
When
I visit "/projects/omega40/services/hosting1/logs"
Then
I should not see the button "Download Logs"
And
I visit "/projects/omega40/logs"
And
I should not see the button "Download Logs"

Last published 6 months ago by Christie Yoo.