Logo: Relish

  1. Sign in

Project: Console

Service Custom Domains

  • @paas
  • @teardown_projects
Background Set up
Given
I sign in to WeDeploy as a test user
Scenarios
  • @skip
Custom domain name must be valid
Given
I create a project with ID "kappa1"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa1"
When
I click the "hosting1" service
And
I click the "Custom Domains" tab
And
I enter the following custom domains
domain
kappa1?.wedeploy.sh
And
I click the "Update Custom Domains" button
Then
I should see the validation message
The provided value is not valid.
Add WeDeploy custom domains
Given
I create a project with ID "kappa2"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa2"
And
I click the "hosting1" service
And
I click the "Custom Domains" tab
When
I enter the following custom domains
domain
kappa2.wedeploy.sh
www.kappa2.wedeploy.sh
And
I click the "Update Custom Domains" button
Then
I should see the notification
Your domains were updated successfully.
And
I should see listed in the General Activities
Custom domain updated hosting1
  • @skip
Add a custom domain
Given
I create a project with ID "kappa8"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa8"
And
I click the "hosting1" service
And
I click the "Custom Domains" tab
When
I enter the following custom domains
domain
wedeploy-qatest1.liferay.com
And
I click the "Update Custom Domains" button
Then
I should see the notification
Your domains were updated successfully.
And
I should see listed in the General Activities
Custom domain of hosting1 updated wedeploy-qatest1.liferay.com
  • @skip
Add a custom domain that has not been configured
Given
I create a project with ID "kappa9"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa9"
When
I click the "hosting1" service
And
I click the "Custom Domains" tab
And
I enter the following custom domains
domain
kappa9.com
And
I click the "Update Custom Domains" button
Then
I should see the error message
The domain you are trying to use is not properly configured.
And
I should not see the following Custom Domains listed
domain
kappa9.com
Cannot save duplicate domain
Given
I create a project with ID "kappa3"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa3"
And
I click the "hosting1" service
And
I click the "Custom Domains" tab
When
I enter the following custom domains
domain
kappa3.wedeploy.sh
www.kappa3.wedeploy.sh
kappa3.wedeploy.sh
And
I click the "Update Custom Domains" button
Then
I should see the notification
Your domains were updated successfully.
And
I should see the following Custom Domains listed
domain
kappa3.wedeploy.sh
www.kappa3.wedeploy.sh
And
I should see listed in the General Activities
Custom domain updated hosting1
Delete a custom domain
Given
I create a project with ID "kappa4"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa4"
And
I add the following custom domains for the service "hosting1"
domain
kappa4.wedeploy.sh
www.kappa4.wedeploy.sh
When
I remove the custom domain "www.kappa4.wedeploy.sh"
Then
I should see the notification
Your domains were updated successfully.
And
I should see the following Custom Domains listed
domain
kappa4.wedeploy.sh
And
I should not see the following Custom Domains listed
domain
www.kappa4.wedeploy.sh
And
I should see listed in the General Activities
Custom domain updated hosting1
Update a custom domain
Given
I create a project with ID "kappa5"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa5"
And
I add the following custom domains for the service "hosting1"
domain
kappa5.wedeploy.sh
www.kappa5.wedeploy.sh
When
I update the custom domains for "hosting1"
old_value new_value
kappa5.wedeploy.sh kappa5updated.wedeploy.sh
Then
I should see the following Custom Domains listed
domain
kappa5updated.wedeploy.sh
www.kappa5.wedeploy.sh
And
I should see listed in the General Activities
Custom domain updated hosting1
Custom domain must be unique across all projects
Given
I create a project with ID "kappa6"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa6"
And
I add the following custom domain for the service "hosting1"
domain
kappa.wedeploy.sh
When
I create a project with ID "kappa7"
And
I install a "WeDeploy Data" service with id "hosting1" for the project "kappa7"
And
I click the "hosting1" service
And
I click the "Custom Domains" tab
And
I enter the following custom domains
domain
kappa.wedeploy.sh
And
I click the "Update Custom Domains" button
Then
I should see the error message
Another service with the domain kappa.* already exists. Try a different one.
  • @teardown_tester
Cannot exceed custom domains quota

Basic plan allows up to 5 custom domains.
The quota is cumulative across all of the user's projects and services.

Given
I create a project with ID "kappa8"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "kappa8"
And
I add the following custom domain for the service "hosting1"
domain
kappa8test1.wedeploy.sh
kappa8test2.wedeploy.sh
And
I create a project with ID "kappa9"
And
I install a "WeDeploy Hosting" service with id "hosting2" for the project "kappa9"
When
I click the "hosting2" service
And
I click the "Custom Domains" tab
And
I enter the following custom domains
domain
kappa9test3.wedeploy.sh
kappa9test4.wedeploy.sh
kappa9test5.wedeploy.sh
kappa9test6.wedeploy.sh
And
I click the "Update Custom Domains" button
Then
I should see the error message
You've reached your Custom Domain limit

Last published over 3 years ago by Christie Yoo.