Logo: Relish

  1. Sign in

Project: Console

CI Activities

  • @dxpcloud
  • @teardown_projects
Background
Given
I sign in to WeDeploy as a test user
Scenarios
View CI Started Activity
Given
I create a project with ID "pi20"
And
I install a "Hosting" service with id "hosting1" for the project "pi20"
When
I create a "CI_STARTED" activity for "hosting1-pi20" and build url "jenkins-1.com"
Then
I should see listed in the Builds and Deployment Activities
Continuous integration in progress...
Continuous integration started
And
the ci build status should be "blue"
And
I should see the "Running in Jenkins" badge
And
I mouse over the "Running in Jenkins" badge
And
I should see the tooltip
Go to Jenkins Dashboard
And
the badge should be a link to "jenkins-1.com"
View CI Succeeded Activity
Given
I create a project with ID "pi21"
And
I install a "Hosting" service with id "hosting1" for the project "pi21"
When
I create a "CI_STARTED" activity for "hosting1-pi21" and build url "jenkins-2.com"
And
I create a "CI_SUCCEEDED" activity for "hosting1-pi21" and build url "jenkins-2.com"
Then
I should see listed in the Builds and Deployment Activities
Continuous integration succeeded
Continuous integration started
And
I should not see listed in the Builds and Deployments Activities
Continuous integration in progress...
And
the ci build status should be "green"
  • @teardown_tester
View CI Failed activity
Given
I create a project with ID "pi22"
And
I install a "Hosting" service with id "hosting1" for the project "pi22"
When
I create a "CI_STARTED" activity for "hosting1-pi22" and build url "jenkins-3.com"
And
I create a "CI_FAILED" activity for "hosting1-pi22" and build url "jenkins-3.com"
Then
I should see listed in the Builds and Deployment Activities
Continuous integration failed
Continuous integration started
And
I should not see listed in the Builds and Deployments Activities
Continuous integration in progress...
And
the ci build status should be "red"
And
I should see the "See details in Jenkins" badge
And
I mouse over the "See details in Jenkins" badge
And
I should see the tooltip
Go to Jenkins Dashboard
And
the badge should be a link to "jenkins-3.com"

Last published over 1 year ago by Christie Yoo.