Skip to content

Commit 4feed00

Browse files
authored
Update TestGenerator.php
1 parent a3950a8 commit 4feed00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,12 @@ public function generateStepsPhp($actionObjects, $generationScope = TestGenerato
773773
$selector = $this->addUniquenessFunctionCall($customActionAttributes['selector']);
774774
$selector = $this->resolveLocatorFunctionInAttribute($selector);
775775
}
776+
777+
if (isset($customActionAttributes['count'])) {
778+
$countClickValue = $customActionAttributes['count'];
779+
$countValue = $this->addUniquenessFunctionCall($countClickValue);
780+
$countValue = $this->resolveLocatorFunctionInAttribute($countValue);
781+
}
776782

777783
if (isset($customActionAttributes['selector1']) || isset($customActionAttributes['filterSelector'])) {
778784
$selectorOneValue = $customActionAttributes['selector1'] ?? $customActionAttributes['filterSelector'];

0 commit comments

Comments
 (0)