Cucumber Ltd / jam

Workspace summaryfeatures/workspaces/workspace_summary.feature

[#1010] Display error when a project is not found

Romain GĂ©rard

Currently viewing

Feature: Workspace summary

The Workspace Summary lists all the projects of the workspace and who is collaborating on them.

Rule:

  • People can create multiple workspaces if they want
  • People become workspace members when they join one of its projects
  • All projects on the SaaS must be in a workspace

Deferred:

  • Adding and removing workspace administrators
  • We don't need to consider the UI for creating an additional workspace
  • For now, appliances don't have workspaces

Background:

  • Given Jo has created these workspaces:
    Name
    Tomato
    Zappas
  • And Jo has created the following projects:
    NamePrivateWorkspace
    tomato-oss-projectNoTomato
    alpha-projectYesZappas
    beta-projectYesZappas
  • And Lucy has accepted Jo's invitations to collaborate on:
    alpha-project
    beta-project
  • And Marcus has accepted Jo's invitation to collaborate on beta-project

Scenario: Jo reviews a workspace with private projects

Scenario: Jo reviews a workspace with public projects

  • Then Jo should see this member on the Tomato workspace summary:
    EmailProjects
    [email protected]tomato-oss-project (public)

Scenario: A collaborator is removed

  • When Jo removes [email protected] from beta-project's collaborators
  • Then Jo should see these members on the Zappas workspace summary:
    EmailProjects
    [email protected]alpha-project (private), beta-project (private)
    [email protected]alpha-project (private), beta-project (private)

Scenario: A project is removed

  • When Jo deletes beta-project
  • Then Jo should see these members on the Zappas workspace summary:
    EmailProjects
    [email protected]alpha-project (private)
    [email protected]alpha-project (private)