11 use Magento\Mtf\TestStep\TestStepFactory;
12 use Magento\Mtf\TestStep\TestStepInterface;
31 private $testStepFactory;
39 TestStepFactory $testStepFactory
42 $this->testStepFactory = $testStepFactory;
52 $this->getStepInstance(CreateCustomerStep::class)->run();
60 $this->getStepInstance(CreateCustomerStep::class)->cleanup();
61 $this->getStepInstance(DeleteCustomerStep::class)->run();
70 private function getStepInstance(
$class)
72 return $this->testStepFactory->create(
74 [
'customer' => $this->customer]
__construct(Customer $customer, TestStepFactory $testStepFactory)
$_option $_optionId $class