Logo: Relish

  1. Sign in

Project: Console

Project Deploy From Git

  • @paas
  • @teardown_projects

Start a new project from a public Git repository.

Background
Given
I sign in to WeDeploy as a test user
Scenarios
  • @smoke
Create a new project using the deploy dropdown
When
I click the Deploy from button
And
I click the "Git Repository" link
And
I enter "https://github.com/wedeploy-qa/deployment-tests" into the "repo" input field
And
I enter "alpha13" into the "projectId" input field
And
I click the "Create Project and Deploy Services" button
Then
I should see the text "Deploying on WeDeploy"
And
I should see the text "1 service is being deployed"
And
I should see the text "1 service is ready and running on WeDeploy"
When
I click the "overview" link
Then
I should be at url ending with "/projects/alpha13/overview"
And
I should see listed in the Builds and Deployment Activities
Deployment succeeded
  • @smoke
Deploy to an existing project using the deploy dropdown
Given
I create a project with ID "alpha14"
When
I go to the projects page
And
I click the Deploy from button
And
I click the "Git Repository" link
And
I enter "https://github.com/wedeploy-qa/deployment-tests" into the "repo" input field
And
I click Select Project
Then
I should see the text "Deploying over an existing project will overwrite all services with matching IDs."
When
I select "alpha14" 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 "1 service is being deployed"
And
I should see the text "1 service is ready and running on WeDeploy"
When
I click the "overview" link
Then
I should be at url ending with "/projects/alpha14/overview"
And
I should see listed in the Builds and Deployment Activities
Deployment succeeded
Git repo url must be provided
When
I click the Deploy from button
And
I click the "Git Repository" link
And
I enter "alpha16" into the "projectId" input field
Then
the "Create Project and Deploy Services" button should be disabled
  • @teardown_tester
Git repo url must be valid
When
I click the Deploy from button
And
I click the "Git Repository" link
And
I enter "wedeploy-examples/email-web-example" into the "repo" input field
And
I enter "alpha17" into the "projectId" input field
And
I click the "Create Project and Deploy Services" button
Then
I should see the error message
The Git repository URL 'wedeploy-examples/email-web-example' is invalid
When
I go to the projects page
Then
I should not see "alpha17" in the project list

Last published 10 months ago by Christie Yoo.