| Server IP : 172.67.134.116 / Your IP : 216.73.216.40 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/cli/features/ |
Upload File : |
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 | BuddyBoss Core | It‘s what makes <del>time travel</del> BuddyBoss possible! |
| 2 | members | Inactive | Community Members | Everything in a BuddyBoss 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