10 use Magento\Mtf\TestCase\Injectable;
11 use Magento\Mtf\TestStep\TestStepFactory;
51 public function __inject(TestStepFactory $stepFactory)
53 $this->stepFactory = $stepFactory;
65 $sessionLifetimeInSeconds,
69 $this->configData = $configData;
70 $this->stepFactory->create(
71 \
Magento\Config\Test\TestStep\SetupConfigurationStep::class,
72 [
'configData' => $this->configData]
77 $this->stepFactory->create(
78 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
86 sleep($sessionLifetimeInSeconds);
96 $this->stepFactory->create(
97 \
Magento\Config\Test\TestStep\SetupConfigurationStep::class,
98 [
'configData' => $this->configData,
'rollback' =>
true]
__inject(TestStepFactory $stepFactory)
test( $sessionLifetimeInSeconds, $configData, Customer $customer=null)