10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductEdit;
31 public function processAssert(CatalogProductEdit $productPage)
34 $productForm = $productPage->getProductForm();
35 $productForm->openSection(
'customer-options');
37 $options = $productForm->getSection(
'customer-options');
38 $fileOptionElements =
$options->getFileOptionElements();
39 foreach ($fileOptionElements as $fileOptionElement) {
40 \PHPUnit\Framework\Assert::assertEquals(
41 self::EXPECTED_MESSAGE,
42 $fileOptionElement->getText(),
43 'Actual message differ from expected.' 55 return 'Assert correct file extensions hint is showed.';