Logo: Relish

  1. Sign in

Project: Console

Collaborators

  • @paas
  • @teardown_projects
  • @teardown_users
Background
Given
I sign in to WeDeploy as a test user
Scenarios
Given
I create a project with ID "delta1"
When
I click "Team" in the sidebar
Then
I should be at url ending with "/projects/delta1/team"
And
I should see the page title "Team"
And
I should see "Tester" as an "Owner" member
Email is required
Given
I create a project with ID "delta2"
And
I go to the "Team" page for "delta2" project
When
I clear the "Invite Collaborator" input field
And
I click the "Send Invite" button
Then
I should see the error message
A valid email must be provided.
And
I enter "abc" into the "Invite Collaborator" input field
And
I click the "Send Invite" button
And
I should see the error message
A valid email must be provided.
Invite a collaborator
Given
I create a project with ID "delta17"
And
I go to the "Team" page for "delta17" project
When
I enter "[email protected]" into the "Invite Collaborator" field
And
I click the "Send Invite" button
Then
I should see "Invited" with email "[email protected]" in the Members list
Invite duplicate collaborator
Given
I create a project with ID "delta3"
And
I go to the "Team" page for "delta3" project
And
I enter "[email protected]" into the "Invite Collaborator" field
And
I click the "Send Invite" button
And
I should see "Invited" with email "[email protected]" in the Members list
When
I enter "[email protected]" into the "Invite Collaborator" field
And
I click the "Send Invite" button
Then
I should see the error message
The provided email was already invited.
Invite an existing user to collaborate
Given
I create a user with name "Claire Contributor" and email "[email protected]"
And
I sign in to WeDeploy as a test user
And
I create a project with ID "delta5"
And
I invite "[email protected]" to become a collaborator for project "delta5"
And
I sign out
When
"[email protected]" clicks the invitation link
And
I sign in to WeDeploy as "[email protected]"
And
I go to the "Team" page for "delta5" project
Then
I should see "Tester" as an "Owner" member
And
I should see "Claire Contributor" as a "Contributor" member
And
I should see listed in the General Activities
Invitation accepted [email protected]
Invitation sent [email protected]
Invite a new user to collaborate

Invited user creates an account when accepting invitation

Given
I create a project with ID "delta6"
And
I invite "[email protected]" to become a collaborator for project "delta6"
And
I sign out
When
"[email protected]" clicks the invitation link
And
I should see the text "Create your account"
And
I enter "Josie 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 Account and Join WeDeploy" button
And
I go to the "Team" page for "delta6" project
Then
I should see "Josie Tester" as a "Contributor" member
And
I should see listed in the General Activities
Invitation accepted [email protected]
Invitation sent [email protected]
View collaborator avatars on project list
Given
I create a project with ID "delta18"
And
I have a collaborator "[email protected]" for "delta18"
When
I sign in to WeDeploy as a test user
Then
I should see the collaborator avatar for "Tester" for project "delta18"
And
I should see the collaborator avatar for "QA Collaborator" for project "delta18"
Remove a collaborator
Given
I create a project with ID "delta7"
And
I have a collaborator "[email protected]" for "delta7"
When
I sign in to WeDeploy as a test user
And
I go to the "Team" page for "delta7" project
And
I click the ellipsis menu for the member "[email protected]"
And
I click the "Remove Collaborator" button
Then
I should not see "Liferay QA Tester" with email "[email protected]" in the Members list
And
I should see listed in the General Activities
Collaborator deleted [email protected]
Invitation accepted [email protected]
Invitation sent [email protected]
And
I sign out and sign in as "[email protected]"
And
I should not see "delta7" in the project list
Leave a project
Given
I create a project with ID "delta8"
And
I have a collaborator "[email protected]" for "delta8"
When
I sign in to WeDeploy as "[email protected]"
And
I go to the "Team" page for "delta8" project
And
I click the ellipsis menu for the member "[email protected]"
And
I click the "Leave project" button
Then
I should be at url ending with "/projects"
And
I should not see "delta8" in the project list
And
I sign out and sign in as test user
And
I should not see the collaborator avatar for "Liferay QA Tester" for project "delta8"
And
I go to the "Team" page for "delta8" project
And
I should not see "Liferay QA Tester" with email "[email protected]" in the Members list
And
I should see listed in the General Activities
Collaborator left [email protected]
Invitation accepted [email protected]
Invitation sent [email protected]
Remove invitation
Given
I create a project with ID "delta4"
And
I go to the "Team" page for "delta4" project
And
I enter "[email protected]" into the "Invite Collaborator" field
And
I click the "Send Invite" button
When
I click the ellipsis menu for the member "[email protected]"
And
I click the "Remove Invitation" button
Then
I should not see "Invited" with email "[email protected]" in the Members list
And
I should see listed in the General Activities
Invitation sent
[email protected]
Invitation deleted
  • @teardown_tester
Cannot exceed collaborators quota.

Basic plan allows up to 2 collaborators.
The quota is cumulative across all of the user's projects.

Given
I create a project with ID "delta9"
And
I create a project with ID "delta10"
And
I have a collaborator "[email protected]" for "delta9"
And
I have a collaborator "[email protected]" for "delta10"
And
I sign in to WeDeploy as a test user
When
I go to the "Team" page for "delta9" project
And
I enter "[email protected]" into the "Invite Collaborator" field
And
I click the "Send Invite" button
Then
I should see the error message
You've reached your Collaborator limit
And
I should see email "[email protected]" as a "Contributor" member
And
I should not see "Invited" with email "[email protected]" in the Members list

Last published about 1 year ago by Christie Yoo.