Add person details to Capsule CRM
In order for the commercial team to be able to see and update person details in Capsule CRM As a commercial person I want data to be inserted into Capsule CRM So Capsule is treated as the canonical data source
Scenario: Add Membership tag to existing individual signup
- Given I have signed up as an individual member
- And my membership number is "
HG5646HD" - And my sector is "
Healthcare" - And I requested 1 membership at the level called "
individual" - And there is an existing person in CapsuleCRM called "
Arnold Rimmer" with email "rimmer@jmc.com" - And that it's 2013-01-01 14:35
- When I sign up via the website
- Then there should still be just one person in CapsuleCRM called "
Arnold Rimmer" with email "rimmer@jmc.com" - And that person should have a data tag
- And that data tag should have the type "
Membership" - And that data tag should have the level "
individual" - And that data tag should have the join date 2013-01-01
- And that data tag should have the membership number "
HG5646HD" - And that data tag should have the sector "
Healthcare" - And that data tag should have the email "
rimmer@jmc.com"
Scenario: Add Membership tag to new individual signup
- Given I have signed up as an individual member
- And my membership number is "
HG5646HD" - And my sector is "
Healthcare" - And I requested 1 membership at the level called "
individual" - And there is no person in CapsuleCRM called "
Arnold Rimmer" - And that it's 2013-01-01 14:35
- When I sign up via the website
- Then there should still be just one person in CapsuleCRM called "
Arnold Rimmer" with email "rimmer@jmc.com" - And that person should have a data tag
- And that data tag should have the type "
Membership" - And that data tag should have the level "
individual" - And that data tag should have the join date 2013-01-01
- And that data tag should have the membership number "
HG5646HD" - And that data tag should have the sector "
Healthcare" - And that data tag should have the email "
rimmer@jmc.com" - And that data tag should have the contact first name of "
Arnold" - And that data tag should have the contact last name of "
Rimmer"
Scenario: Requeue Xero job if contact does not exist yet
- Given I have signed up as an individual member
- And my membership number is "
HG5646HD" - And there is no person in CapsuleCRM called "
Arnold Rimmer" - Then my directory entry should be requeued for later processing once the contact has synced from Xero
- When the directory entry job runs
Source: features/adding_people_to_capsule.feature at commit 470f82f9, Open Orgn Services (MIT license).