Logo: Relish

  1. Sign in

Project: Console

Builds

  • @dxpcloud
  • @teardown_projects
Background
Given
I sign in to WeDeploy as a test user
Scenarios
View project builds
Given
I deploy services to project "mu2" from this repo:
https://github.com/wedeploy-qa/deployment-tests
When
I click "Builds" in the topbar
Then
I should be at url ending with "/projects/mu2/builds"
And
I should see the build row
status services id branch commit message environment member
green ui 1 master 62410c6 Create README.md - QA Team User
View build logs from builds page
Given
I deploy services to project "mu5" from this repo:
https://github.com/wedeploy-qa/deployment-tests
And
I click "Builds" in the topbar
When
I select "View Build Logs" from row 1
Then
I should be at url ending with "/projects/mu5/logs"
And
I should see "Build Logs" selected in the "type" dropdown
And
I should see in the logs:
build-1 ui[building] Successfully built
And
I should not see the text "No build logs available."
View build logs for an environment
Given
my current user plan is "Standard"
And
I create a project with ID "mu1"
And
I add a "dev" environment for "mu1"
And
I add a "uat" environment for "mu1"
And
I install a "Hosting" service with id "hosting1" for the environment "mu1-dev"
And
I install a "Hosting" service with id "hosting2" for the environment "mu1-uat"
And
I click "Builds" in the topbar
And
I see the build 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 Build Logs" from row 1
Then
I should see in the logs:
build-2 hosting2[building] Successfully built
And
I should be at url ending with "/projects/mu1-uat/logs"
And
I click "Builds" in the topbar
And
I select "View Build Logs" from row 2
And
I should see in the logs:
build-1 hosting1[building] Successfully built
And
I should be at url ending with "/projects/mu1-dev/logs"
  • @teardown_tester
View pagination on Builds page
Given
I create a project with ID "mu10"
And
project "mu10" has 25 builds
When
I go to the "Builds" page for "mu10" project
Then
I should see 10 build rows
And
I should see the text "Show 10 more builds"
And
I click the "Show 10 more builds" button
And
I should see 20 build rows
And
I click the "Show 10 more builds" button
And
I should see 25 build rows

Last published 11 months ago by Christie Yoo.