Active
Project:
Commerce Ajax Add to Cart
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
27 Sep 2015 at 15:54 UTC
Updated:
26 Jun 2017 at 06:39 UTC
Jump to comment: Most recent
"Remove from cart" appers as link. There is not such simpletest API to test whether "remove from cart" is working and ajax-ifically removing item from cart.
Two solutions:
drupalPostAJAX() to testCommit the changes.
If we go with the second solution then there may be CSS changes to align the earlier "remove from cart" link with the new "remove from cart" button.
N/A
N/A
Comments
Comment #2
subhojit777Comment #3
subhojit777Another solution is to port the tests to Behat and use https://github.com/jhedstrom/drupalextension
This will be done 8.x version, 7.x stays as it is.. unless some help comes :)