Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
Checkout
Test
Constraint
AssertLinkGoToCartNotPresentInSummaryBlock.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Checkout\Test\Constraint
;
8
9
use Magento\Mtf\Constraint\AbstractConstraint;
10
use Magento\Checkout\Test\Page\CheckoutOnepage;
11
12
class
AssertLinkGoToCartNotPresentInSummaryBlock
extends
AbstractConstraint
13
{
20
public
function
processAssert
(CheckoutOnepage $checkoutPage)
21
{
22
$reviewBlock = $checkoutPage->getReviewBlock();
23
24
\PHPUnit\Framework\Assert::assertFalse(
25
$reviewBlock->getGoToCartLink()->isVisible(),
26
'Go to Cart link present in summary block'
27
);
28
}
29
35
public
function
toString
()
36
{
37
return
'Verify that Go to Cart link not present in checkout summary block'
;
38
}
39
}
Magento\Checkout\Test\Constraint\AssertLinkGoToCartNotPresentInSummaryBlock\processAssert
processAssert(CheckoutOnepage $checkoutPage)
Definition:
AssertLinkGoToCartNotPresentInSummaryBlock.php:20
Magento\Checkout\Test\Constraint
Definition:
AssertAddedProductToCartSuccessMessage.php:7
Magento\Checkout\Test\Constraint\AssertLinkGoToCartNotPresentInSummaryBlock\toString
toString()
Definition:
AssertLinkGoToCartNotPresentInSummaryBlock.php:35
Magento\Checkout\Test\Constraint\AssertLinkGoToCartNotPresentInSummaryBlock
Definition:
AssertLinkGoToCartNotPresentInSummaryBlock.php:12