Logo: Relish

  1. Sign in

Project: Console

Deployments

  • @dxpcloud
  • @teardown_projects
Background
Given
I sign in to WeDeploy as a test user
Scenarios
View deployment history
Given
I deploy services to project "mu4" from this repo:
https://github.com/wedeploy-qa/deployment-tests
And
I add a "uat" environment for "mu4"
And
I deploy services to project "mu4-uat" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/1-service-with-memory
When
I click "Deployments" in the topbar
Then
I should see a latest deployment card with
status services id branch commit message
green ui 1 master 62410c6 Create README.md
And
I should see a latest uat deployment card with
status services id branch commit message
green ui 2 1-service-with-memory 5f5da77 Update readme
And
I should see the deployment rows
status services id branch commit message environment member
green ui 2 1-service-with-memory 5f5da77 Update readme uat QA Team User
green ui 1 master 62410c6 Create README.md - QA Team User
View deployment logs from deployment page
Given
I deploy services to project "mu6" from this repo:
https://github.com/wedeploy-qa/deployment-tests
And
I click "Deployments" in the topbar
When
I select "View Deployment Logs" from row 1
Then
I should be at url ending with "/projects/mu6/logs"
And
I should see "All Logs" selected in the "type" dropdown
And
I should see in the logs:
[mu6] Deploy in progress [ui] as wedeploy/hosting
View deployment logs for an environment
Given
my current user plan is "Standard"
And
I create a project with ID "mu9"
And
I add a "dev" environment for "mu9"
And
I add a "uat" environment for "mu9"
And
I install a "Hosting" service with id "hosting1" for the environment "mu9-dev"
And
I install a "Hosting" service with id "hosting2" for the environment "mu9-uat"
And
I wait for the services to be healthy for "mu9-uat" project
hosting2
And
I click "Deployments" in the topbar
And
I see the deployment rows
status services id branch commit message environment member
green hosting2 2 master 80af3fe Updates README to reflect the catalog changes uat QA Team User
green hosting1 1 master 80af3fe Updates README to reflect the catalog changes dev QA Team User
When
I select "View Deployment Logs" from row 1
Then
I should see in the logs:
[mu9-uat] Deploy in progress [hosting2] as wedeploy/hosting
And
I should be at url ending with "/projects/mu9-uat/logs"
And
I click "Deployments" in the topbar
And
I select "View Deployment Logs" from row 2
And
I should see in the logs:
[mu9-dev] Deploy in progress [hosting1] as wedeploy/hosting
And
I should be at url ending with "/projects/mu9-dev/logs"
View latest deployment on overview page
Given
I deploy services to project "mu4" from this repo:
https://github.com/wedeploy-qa/deployment-tests
When
I go to the "Overview" page for "mu4" project
Then
I should see a latest deployment card with
status services id branch commit message
green ui 1 master 62410c6 Create README.md
Copy services to a new environment and view deployments
Given
I deploy services to project "mu8" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/2-services
And
I select "Add New Environment" from the environment dropdown
And
I enter "dev" into the "Environment ID" input field
And
I click the "Copy all services from an existing environment" checkbox
And
I select "mu8" from the environment dropdown
And
I click the "Add New Environment" button
When
I click "Deployments" in the topbar
Then
I should see a latest deployment card with
status services id branch commit message
green alpine ui 1 2-services a681ec0 Update readme
  • @teardown_tester
View pagination on Deployments page
Given
I create a project with ID "mu11"
And
project "mu11" has 27 deployments
When
I go to the "Deployments" page for "mu11" project
Then
I should see 10 deployment rows
And
I should see the text "Show 10 more deployments"
And
I click the "Show 10 more deployments" button
And
I should see 20 deployment rows
And
I click the "Show 7 more deployments" button
And
I should see 27 deployment rows

Last published about 1 year ago by Christie Yoo.