Skip to content

Add a step to set several options at once - #398

Open
schlessera wants to merge 1 commit into
mainfrom
set-options-step
Open

schlessera wants to merge 1 commit into
mainfrom
set-options-step

Conversation

@schlessera

Copy link
Copy Markdown
Member

Scenarios often run wp option update or wp site option update only to configure the site before the test, and each of these calls loads WordPress in a new process. Given these options: and Given these site options: set a list of options in a single process instead.

Fixes #380.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schlessera schlessera added the scope:testing Related to testing label Oct 30, 2026
@schlessera
schlessera requested a review from a team as a code owner October 30, 2026 18:47
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 236f6ff8-5d69-4148-98b2-ec0fcfe4eb40
Commits

Reviewing files that changed from the base of the PR and between 9298472 and a316060.

Files selected for processing: 2
  • features/behat-steps.feature
  • src/Context/GivenStepDefinitions.php
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Context/GivenStepDefinitions.php 0.00% 19 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set several options in one step

1 participant