Logo: Relish

  1. Sign in

Project: Console

Service Install

  • @dxpcloud
  • @paas
  • @teardown_projects

Install services.

Background
Given
I sign in to WeDeploy as a test user
Scenarios
Service ID must be valid
Given
I create a project with ID "beta12"
And
I click "Services" in the sidebar
When
I click the "Install Service" button
And
I click on the "WeDeploy Hosting" service
And
I enter "$TESTtest1" into the "ID" input field
And
I click the "Install Service" button
Then
I should see the validation message
Only alphanumeric is allowed
When
I enter "%TESTtest1" into the "ID" input field
And
I click the "Install Service" button
Then
I should see the validation message
Only alphanumeric is allowed
When
I click "Services" in the sidebar
Then
I should see the text "No Services Yet"
Letters in Service ID are lowercase only
Given
I create a project with ID "beta1"
And
I click "Services" in the sidebar
When
I click the "Install Service" button
And
I click on the "WeDeploy Hosting" service
And
I enter "TEST1" into the "ID" input field
And
I click the "Install Service" button
Then
I should see the page title "Overview"
And
I should see "test1" under Services
  • @smoke
Install a service with generated ID
Given
I create a project with ID "beta2"
And
I click "Services" in the sidebar
When
I click the "Install Service" button
And
I click on the "WeDeploy Hosting" service
Then
I should see the page title "Setup and Install Service"
And
I should see the service description for "WeDeploy Hosting"
And
I click the "Install Service" button
And
I click "Services" in the sidebar
And
I should see in the service list
Installed Status Instances
{generated-id} Healthy 1
  • @smoke
Install a service with user input
Given
I create a project with ID "beta3"
And
I click "Services" in the sidebar
When
I click the "Install Service" button
And
I click on the "WeDeploy Hosting" service
And
I enter "hosting1" into the "ID" input field
And
I click the "Install Service" button
Then
I should see "hosting1" under Services
When
I click "Services" in the sidebar
Then
I should see in the service list
Installed Status Instances
hosting1 Healthy 1
When
I mouse over the service icon for "hosting1"
Then
I should see in the service info popover:
Hostname: hosting1
Port: 80
Instances: 1
CPU: 0.67 core
Memory: 682 MB
Name: wedeploy/hosting
And
I should see listed in the General Activities
Service installed hosting1
And
I should see listed in the Builds and Deployment Activities
Deployment succeeded
Deployment started
Build succeeded
Build started
When
I go to the projects page
Then
I should see the following Services icon for project "beta3"
hosting1
Install multiple services for a project
Given
I create a project with ID "beta4"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "beta4"
And
I install a "WeDeploy Email" service with id "email1" for the project "beta4"
When
I click "Services" in the sidebar
Then
I should see the services
hosting1
email1
When
I go to the projects page
Then
I should see the following Services icons for project "beta4"
hosting1
email1
Cannot install a service with duplicate ID
Given
I create a project with ID "beta5"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "beta5"
When
I click "Services" in the sidebar
And
I click the "Install Service" button
And
I click on the "WeDeploy Hosting" service
And
I enter "hosting1" into the "ID" input field
And
I click the "Install Service" button
Then
I should see the error message
The provided service id already exists.
View health status on service detail page
Given
I create a project with ID "beta13"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "beta13"
When
I click the "hosting1" service
Then
I should see the health status "None"
And
I should see the health status change to "Healthy"
  • @smoke
Successfully install an email service
Given
I create a project with ID "beta6"
When
I install a "WeDeploy Email" service with id "email1" for the project "beta6"
And
I click "Services" in the sidebar
Then
I should see in the service list
Installed Status Instances
email1 Healthy 1
  • @smoke
Successfully install an auth service
Given
I create a project with ID "beta7"
When
I install a "WeDeploy Auth" service with id "auth1" for the project "beta7"
And
I click "Services" in the sidebar
Then
I should see in the service list
Installed Status Instances
auth1 Healthy 1
  • @smoke
Successfully install a hosting service
Given
I create a project with ID "beta8"
When
I install a "WeDeploy Hosting" service with id "hosting1" for the project "beta8"
And
I click "Services" in the sidebar
Then
I should see in the service list
Installed Status Instances
hosting1 Healthy 1
  • @smoke
Successfully install a data service
Given
I create a project with ID "beta9"
When
I install a "WeDeploy Data" service with id "data1" for the project "beta9"
And
I click "Services" in the sidebar
Then
I should see in the service list
Installed Status Instances
data1 Healthy 1
  • @teardown_tester
Cannot exceed services quota

Basic plan allows up to 3 instances.
The quota is cumulative across all of the user's projects.

Given
I create a project with ID "beta10"
And
I install these services for "beta10"
type id
Hosting hosting1
Hosting hosting2
And
I create a project with ID "beta11"
And
I install these services for "beta11"
type id
Hosting hosting3
When
I click "Services" in the sidebar
And
I click the "Install Service" button
And
I click on the "WeDeploy Hosting" service
And
I click the "Install Service" button
Then
I should see the error message
You've reached your service limit

Last published over 3 years ago by Christie Yoo.