From b7676998f93f3712b88b80e3e8b6fd1851142e7e Mon Sep 17 00:00:00 2001 From: jdevinemt <65512359+jdevinemt@users.noreply.github.com> Date: Wed, 27 May 2026 11:06:41 -0600 Subject: [PATCH] Fixed incorrect "OR" tag specified for tagged hooks --- user_guide/context/hooks.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/user_guide/context/hooks.rst b/user_guide/context/hooks.rst index 066ff40..b7fd31a 100644 --- a/user_guide/context/hooks.rst +++ b/user_guide/context/hooks.rst @@ -267,7 +267,9 @@ Tagged Hooks Sometimes you may want a certain hook to run only for certain scenarios, features or steps. This can be achieved by associating a ``BeforeFeature``, ``AfterFeature``, ``BeforeScenario`` or ``AfterScenario`` hook with one -or more tags. You can also use ``OR`` (``||``) and ``AND`` (``&&``) tags: +or more tags. You can also use ``OR`` (``,``) and ``AND`` (``&&``) tags: + +Use the ``,`` tag to execute a hook when it has *any* of the provided tags: .. code-block:: php