You are here

protected function AjaxAddCartViewsTestBase::assertCartAjaxPage in Commerce Ajax Add to Cart 8

Asserts ajaxified cart page.

6 calls to AjaxAddCartViewsTestBase::assertCartAjaxPage()
AjaxAddCartViewsEditQuantityTest::testAjaxUpdateCartButton in modules/dc_ajax_add_cart_views/tests/src/FunctionalJavascript/AjaxAddCartViewsEditQuantityTest.php
Tests whether the update cart button is indeed ajaxified.
AjaxAddCartViewsEditQuantityTest::testOrderTotal in modules/dc_ajax_add_cart_views/tests/src/FunctionalJavascript/AjaxAddCartViewsEditQuantityTest.php
Tests whether order total is correct on ajax quantity update.
AjaxAddCartViewsEditQuantityTest::testUpdateCartButton in modules/dc_ajax_add_cart_views/tests/src/FunctionalJavascript/AjaxAddCartViewsEditQuantityTest.php
Tests edit quantity views field.
AjaxAddCartViewsRemoveButtonTest::testAjaxRemoveButton in modules/dc_ajax_add_cart_views/tests/src/FunctionalJavascript/AjaxAddCartViewsRemoveButtonTest.php
Tests whether the remove button views field is indeed ajaxified.
AjaxAddCartViewsRemoveButtonTest::testOrderTotal in modules/dc_ajax_add_cart_views/tests/src/FunctionalJavascript/AjaxAddCartViewsRemoveButtonTest.php
Tests whether order total is correct on ajax removing product from cart.

... See full list

File

modules/dc_ajax_add_cart_views/tests/src/Functional/AjaxAddCartViewsTestBase.php, line 73

Class

AjaxAddCartViewsTestBase
Base class for ajax add cart views tests.

Namespace

Drupal\Tests\dc_ajax_add_cart_views\Functional

Code

protected function assertCartAjaxPage() {
  $this
    ->assertResponse(200, 'Ajax cart page not found.');
}