Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SaveAttributeSetStep.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductSetEdit;
10 use Magento\Mtf\TestStep\TestStepInterface;
11 
15 class SaveAttributeSetStep implements TestStepInterface
16 {
23 
28  public function __construct(CatalogProductSetEdit $catalogProductSetEdit)
29  {
30  $this->catalogProductSetEdit = $catalogProductSetEdit;
31  }
32 
38  public function run()
39  {
40  $this->catalogProductSetEdit->getPageActions()->save();
41  }
42 }
__construct(CatalogProductSetEdit $catalogProductSetEdit)