Logo: Relish

  1. Sign in

Project: Console

Deploy Button

  • @paas
  • @teardown_projects

User can click on a "Deploy to WeDeploy" button to start a project with a
predefined set of services. This button may be placed in a README of a
GitHub repository.

Background
Given
I sign in to WeDeploy as a test user
Scenarios
  • @smoke
Deploy a new project with one service
When
I click the Deploy to WeDeploy button from the following repo:
https://github.com/wedeploy-examples/ghost-example
Then
I should see the page title "Deploy on WeDeploy"
When
I enter "nu1" into the "projectId" input field
And
I click the "Create Project and Deploy Services" button
Then
I should see the text "Deployment complete"
And
I should see the text "1 service is ready and running on WeDeploy"
When
I click the "overview" link
Then
I should see "blog" under Services
And
I should see listed in the Builds and Deployment Activities
Deployment succeeded
  • @smoke
Deploy multiple services to an existing project

User is not logged in, so must login after clicking Deploy button

Given
my current user plan is "standard"
And
I create a project with ID "nu2"
And
I create a project with ID "nu3"
And
I sign out
When
I click the Deploy to WeDeploy button from the following repo:
https://github.com/wedeploy-qa/deployment-tests/tree/3-services-with-cpu
Then
I should see the text "Log in to deploy on WeDeploy"
And
I should see the text "Provide credentials to proceed deploying from https://github.com/wedeploy-qa/deployment-tests"
When
I sign in to WeDeploy as a test user
Then
I should see the page title "Deploy on WeDeploy"
And
I should see the text "Create Project"
And
I should see the text "Select Project"
When
I click Select Project
And
I select "nu3" from the Project dropdown
And
I click the "Select Project and Deploy Services" button
Then
I should see the text "Deploying on WeDeploy"
And
I should see the text "3 services are being deployed"
And
I should see the text "3 services are ready and running on WeDeploy"
When
I click the "overview" link
Then
I should be at url ending with "/projects/nu3/overview"
And
I should see listed in the Builds and Deployment Activities
Deployment succeeded
  • @smoke
  • @teardown_users
Sign up after clicking Deploy button
Given
I sign out
When
I click the Deploy to WeDeploy button from the following repo:
https://github.com/wedeploy-examples/ghost-example
Then
I should see the text "Log in to deploy on WeDeploy"
When
I click the "Sign up" link
Then
I should see the text "Sign up to deploy on WeDeploy"
When
I enter "Mindy Tester" into the "Name" input field
And
I enter "[email protected]" into the Email field
And
I enter "[email protected]" into the "Password" input field
And
I click the "Create an account" button
And
I confirm the user "[email protected]" via email
Then
I should see the page title "Deploy on WeDeploy"
When
I enter "nu4" into the "projectId" input field
And
I click the "Create Project and Deploy Services" button
Then
I should see the text "1 service is ready and running on WeDeploy"
When
I click the "overview" link
Then
I should see listed in the Builds and Deployment Activities
Deployment succeeded
  • @teardown_tester
View failed build with one service
When
I click the Deploy to WeDeploy button from the following repo:
https://github.com/wedeploy-qa/deployment-activity-tests/tree/wedeploy-json-invalid-image
Then
I should see the page title "Deploy on WeDeploy"
When
I enter "nu5" into the "projectId" input field
And
I click the "Create Project and Deploy Services" button
Then
I should see the page title "Deployment failed"
When
I click the "logs" link
Then
I should be at url ending with "/projects/nu5/logs"
And
I should see the text "Some error has happened during the build."
And
I should see listed in the Builds and Deployment Activities
Build failed
Something went wrong and the entire build was interrupted

Last published about 1 year ago by Christie Yoo.