Logo: Relish

  1. Sign in

Project: Console

Project Create

  • @paas
  • @teardown_projects

Create projects.

Background
Given
I sign in to WeDeploy as a test user
Scenarios
Project name must be valid
When
I click the "New Project" button
And
I enter "$test" into the "Project ID" input field
And
I click the "Create Project" button
Then
I should see the validation message
Project ID must only contain alphanumeric characters
When
I enter "test-1" into the "Project ID" input field
And
I click the "Create Project" button
Then
I should see the validation message
Project ID must only contain alphanumeric characters
When
I go to the projects page
Then
I should see the text "No Projects Yet"
  • @smoke
Create a new project with generated project id
When
I click the "New Project" button
Then
I should be at url ending with "/projects/new-project"
When
I click the "Create Project" button
Then
I should be on the Overview page for project "{generated-id}"
When
I go to the projects page
And
I should see in the project list
Project Status Services Team
{generated-id} None No services Tester
Letters in Project ID are lowercase only
When
I click the "New Project" button
And
I enter "ALPHA1" into the "Project ID" input field
And
I click the "Create Project" button
Then
I should be on the Overview page for project "alpha1"
When
I go to the projects page
Then
I should see in the project list
Project Status Services Team
alpha1 None No services Tester
  • @smoke
Create a new project with user input
When
I click the "New Project" button
And
I enter "alpha2" into the "Project ID" input field
And
I click the "Create Project" button
Then
I should be on the Overview page for project "alpha2"
When
I go to the projects page
Then
I should see in the project list
Project Status Services Team
alpha2 None No services Tester
When
I go to the "Activities" page for "alpha2" project
Then
I should see listed in the General Activities
Project created
Create a new project with duplicate Project ID
Given
I create a project with ID "alpha3"
When
I go to the projects page
And
I click the "New Project" button
And
I enter "alpha3" into the "Project ID" input field
And
I click the "Create Project" button
Then
I should see the validation message
This project ID already exists, try another one
Create a project with duplicate ID, different letter case
Given
I create a project with ID "alpha12"
When
I go to the projects page
And
I click the "New Project" button
And
I enter "Alpha12" into the "Project ID" input field
And
I click the "Create Project" button
Then
I should see the validation message
This project ID already exists, try another one
  • @teardown_users
  • @teardown_tester
Cannot exceed project quota

Project quota is 3 for users with Basic plan. The quota doesn't
include projects where the user is not the owner

Given
I am a "contributor" on "alpha6" project
And
I create the following projects
alpha7
alpha8
alpha9
And
I should see in the project list
Project Status Services Team
alpha6 None No services Tester, Tester
alpha7 None No services Tester
alpha8 None No services Tester
alpha9 None No services Tester
When
I click the "New Project" button
And
I click the "Create Project" button
Then
I should see the error message
You've reached your project limit

Last published over 1 year ago by Christie Yoo.