Skip to content

Commit 47065b9

Browse files
committed
Merge branch 'develop' into MQE-496
2 parents 8343794 + 858bf21 commit 47065b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/DataObjectHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private function parseDataEntities()
201201
$arrayValues[] = $arrayValue[self::ARRAY_ELEMENT_ITEM_VALUE];
202202
}
203203

204-
$dataValues[$arrayKey] = $arrayValues;
204+
$dataValues[strtolower($arrayKey)] = $arrayValues;
205205
}
206206
}
207207

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ private function getResolvedActionsWithArgs($arguments, $actionReferenceKey)
8484
// $regexPattern match on: $matches[0] {{section.element(arg.field)}}
8585
// $matches[1] = section.element
8686
// $matches[2] = arg.field
87-
$regexPattern ='/{{([\w.]+)\(?([\w.$\',\s]+)?\)?}}/';
87+
$regexPattern = '/{{([\w.\[\]]+)\(*([\w.$\']+)*\)*}}/';
88+
8889
foreach ($this->parsedActions as $action) {
8990
$varAttributes = array_intersect(self::VAR_ATTRIBUTES, array_keys($action->getCustomActionAttributes()));
9091
$newActionAttributes = [];

0 commit comments

Comments
 (0)