PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
plugins
/
buddypress
/
cli
/
features
Feature: Manage BuddyPress Components Scenario: Component CRUD Operations Given a BP install When I run `wp bp component list --format=count` Then STDOUT should be: """ 10 """ When I run `wp bp component list --type=required --format=count` Then STDOUT should be: """ 2 """ When I run `wp bp component list --type=required` Then STDOUT should be a table containing rows: | number | id | status | title | description | | 1 | core | Active | BuddyPress Core | It‘s what makes <del>time travel</del> BuddyPress possible! | | 2 | members | Inactive | Community Members | Everything in a BuddyPress community revolves around its members. | When I run `wp bp component list --fields=id --type=required` Then STDOUT should be a table containing rows: | id | | core | | members | When I run `wp bp component deactivate groups` Then STDOUT should contain: """ Success: The Groups component has been deactivated. """ When I try `wp bp component deactivate groups` Then the return code should be 1 When I run `wp bp component activate groups` Then STDOUT should contain: """ Success: The Groups component has been activated. """ When I try `wp bp component activate groups` Then the return code should be 1
[+]
..
[-] signup.feature
[edit]
[-] activity.feature
[edit]
[+]
steps
[+]
bootstrap
[-] xprofile-group.feature
[edit]
[-] message.feature
[edit]
[-] xprofile-field.feature
[edit]
[-] group.feature
[edit]
[-] component.feature
[edit]
[-] xprofile-data.feature
[edit]
[-] notification.feature
[edit]
[-] group-member.feature
[edit]
[-] activity-favorite.feature
[edit]
[+]
extra
[-] group-invite.feature
[edit]
[-] tool.feature
[edit]
[-] friend.feature
[edit]
[-] email.feature
[edit]