9 use Magento\Catalog\Test\Fixture\CatalogProductAttribute;
10 use Magento\Catalog\Test\Page\Product\CatalogProductView;
11 use Magento\Mtf\Client\BrowserInterface;
12 use Magento\Mtf\Constraint\AbstractConstraint;
13 use Magento\Mtf\Fixture\InjectableFixture;
38 CatalogProductView $catalogProductView,
39 BrowserInterface $browser
41 $browser->open($_ENV[
'app_frontend_url'] .
$product->getUrlKey() .
'.html');
43 \PHPUnit\Framework\Assert::assertTrue(
44 $catalogProductView->getAdditionalInformationBlock()->hasHtmlTagInAttributeValue(
$attribute),
45 'Attribute is not visible with HTML tags on frontend.' 56 return 'Attribute is visible with HTML tags on frontend.';
processAssert(InjectableFixture $product, CatalogProductAttribute $attribute, CatalogProductView $catalogProductView, BrowserInterface $browser)