Greenstand / Greenstand/treetracker-admin-client
update organization feature
- Dominant language
- JavaScript
- Stars
- 36
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
Feature: Organization Self-Onboarding
We allow registered users to create an organization, select a subscription plan, add usage estimates, and later complete their organization profile and create projects.
Check the `docs/organization-onboarding.md` for more details.
Scenario: Create an organization with required details
Given I am a registered user
And I am on the organization onboarding page
When I enter the organization name
And I select the organization type
And I select the country
And I enter the primary contact details
And I enter the estimated annual captures
And I choose a subscription plan
And I submit the form
Then the organization should be created
And I should see a confirmation message
And the organization status should be `pending` or `active`
Scenario: Select the Starter subscription plan
Given I am on the organization onboarding page
When I select the `Starter` plan
Then I should see that the plan is free
And I should see a limit of `100` captures
And I should see a limit of `1` project
And I should see `basic analytics`
And I should see `limited support`
Scenario: Select the Basic subscription plan
Given I am on the organization onboarding page
When I select the `Basic` plan
Then I should see the price `$19 per month`
And I should see a limit of `50,000` captures
And I should see a limit of `5` projects
And I should see `analytics`
And I should see `email support`
And I should see `API access`
Scenario: Select the Professional subscription plan
Given I am on the organization onboarding page
When I select the `Professional` plan
Then I should see the price `$49 per month`
And I should see a limit of `500,000` captures
And I should see a limit of `10` projects
And I should see `analytics`
And I should see `email support`
And I should see `API access`
Scenario: Select the Enterprise subscription plan
Given I am on the organization onboarding page
When I select the `Enterprise` plan
Then I should see the price `$250 per month`
And I should see a limit of `2,500,000` captures
And I should see a limit of `30` projects
And I should see `analytics`
And I should see `email support`
And I should see `API access`
Scenario: Complete organization profile after onboarding
Given I have created an organization
And I am on the organization profile page
When I add a logo URL
And I add a map URL
And I add the organization address
And I save the profile
Then the organization profile should be updated
And the profile completion percentage should increase
Scenario: Create a project under an organization
Given I have an active organization
And I am on the organization projects page
When I click `Create Project`
And I enter the project name
And I enter the project description
And I enter the target area
And I submit the project form
Then the project should be created under the organization
And I should see the project in the project list
Scenario: Prevent project creation above subscription limit
Given I have an organization on the `Starter` plan
And the organization already has `1` project
When I try to create another project
Then I should see a subscription limit warning
And the project should not be created
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.