Logo: Relish

  1. Sign in

Project: Console

Service Restart

  • @dxpcloud
  • @paas
  • @teardown_projects
Background
Given
I sign in to WeDeploy as a test user
Scenarios
Restart a service
Given
I create a project with ID "phi1"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "phi1"
And
I go to the "Logs" tab for "hosting1"
And
I should see the health status "Healthy"
When
I select "Restart Service" from the ellipsis menu
Then
I should see the notification
Your service will restart.
And
I should see listed in the General Activities
Service restarted hosting1
Stop a service
Given
I create a project with ID "phi2"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "phi2"
And
I go to the "Logs" tab for "hosting1"
And
I should see the health status "Healthy"
When
I stop the "hosting1-phi2" service using api
Then
I should see in the logs:
Stopping service [hosting1]...
And
I should see the health status "None"
  • @teardown_tester
Stop and restart a service
Given
I create a project with ID "phi3"
And
I install a "WeDeploy Hosting" service with id "hosting1" for the project "phi3"
And
I go to the "Logs" tab for "hosting1"
And
I should see the health status "Healthy"
And
I stop the "hosting1-phi3" service using api
And
I should see the health status "None"
When
I restart the "hosting1-phi3" service using api
Then
I should see the health status "Healthy"

Last published 10 months ago by Christie Yoo.