protected function AjaxAddCartViewsTestBase::assertNotVariationRowCartAjax in Commerce Ajax Add to Cart 8
Asserts absence of the variation row on cart page.
Parameters
\Behat\Mink\Element\NodeElement|null $element: The table row element to check.
1 call to AjaxAddCartViewsTestBase::assertNotVariationRowCartAjax()
- AjaxAddCartViewsRemoveButtonTest::testRemoveButton in modules/
dc_ajax_add_cart_views/ tests/ src/ FunctionalJavascript/ AjaxAddCartViewsRemoveButtonTest.php - Tests remove button views field.
File
- modules/
dc_ajax_add_cart_views/ tests/ src/ Functional/ AjaxAddCartViewsTestBase.php, line 93
Class
- AjaxAddCartViewsTestBase
- Base class for ajax add cart views tests.
Namespace
Drupal\Tests\dc_ajax_add_cart_views\FunctionalCode
protected function assertNotVariationRowCartAjax($element) {
$this
->assertNull($element, 'Variation found on ajax cart.');
}