Skip to content

Commit 9ca66ca

Browse files
KevinBKozanimeron2433
authored andcommitted
MQE-693: [ActionGroup] Characters "[" and "]" must be allowed in selector/url parameters
- added [ and ] to regex in actionGroupObject.
1 parent 04b99ea commit 9ca66ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Test/Objects/ActionGroupObject.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private function getResolvedActionsWithArgs($arguments, $actionReferenceKey)
105105
// $regexPattern match on: $matches[0] {{section.element(arg.field)}}
106106
// $matches[1] = section.element
107107
// $matches[2] = arg.field
108-
$regexPattern = '/{{([\w.\[\]]+)\(*([\w.$\',\s]+)*\)*}}/';
108+
$regexPattern = '/{{([\w.\[\]]+)\(*([\w.$\',\s\[\]]+)*\)*}}/';
109109

110110
foreach ($this->parsedActions as $action) {
111111
$varAttributes = array_intersect($this->varAttributes, array_keys($action->getCustomActionAttributes()));

0 commit comments

Comments
 (0)