File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dev/tests/functional/tests/app/Magento/ProductVideo/Test/Constraint Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function processAssert(
30
30
InjectableFixture $ initialProduct
31
31
) {
32
32
$ browser ->open ($ _ENV ['app_frontend_url ' ] . $ initialProduct ->getUrlKey () . '.html ' );
33
- $ catalogProductView -> getViewBlock ()-> isGalleryVisible ();
33
+
34
34
\PHPUnit_Framework_Assert::assertFalse (
35
35
$ catalogProductView ->getViewBlock ()->isVideoVisible (),
36
36
'Product video is displayed on product view when it should not. '
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function processAssert(
29
29
InjectableFixture $ initialProduct
30
30
) {
31
31
$ browser ->open ($ _ENV ['app_frontend_url ' ] . $ initialProduct ->getUrlKey () . '.html ' );
32
- $ catalogProductView -> getViewBlock ()-> isGalleryVisible ();
32
+
33
33
\PHPUnit_Framework_Assert::assertTrue (
34
34
$ catalogProductView ->getViewBlock ()->isVideoVisible (),
35
35
'Product video is not displayed on product view when it should. '
You can’t perform that action at this time.
0 commit comments