Logo: Relish

  1. Sign in

Project: Console

Project Deploy From Git DXP Cloud

  • @dxpcloud
  • @teardown_projects

Start a new project from a public Git repository. On DXP Cloud, only
team or support scope users can create new projects from Git repository.

Background
Given
I have "team" scope
And
I sign in to WeDeploy as a test user
Scenarios
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
And
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"
And
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
Deploy to an existing project using the deploy dropdown
Given
"{test user}" owns the following projects
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
And
I should see the text "Deploying over an existing project will overwrite all services with matching IDs."
And
I select "alpha14" from the Project dropdown
And
I click the "Select Project and Deploy Services" button
And
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"
And
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
And
I go to the projects page
And
I should not see "alpha17" in the project list

Last published over 1 year ago by Christie Yoo.