Closed
Description
Description (*)
We have plenty of integration tests that make assertions on HTML code:
With assertContains
or preg_match
. This is not the right approach for making assertions on HTML and the correct approach should be possible. The right approach is based on DOM tree.
Example:
https://github.com/magento/magento2/pull/27606/files#diff-dcb208981e520970637c75ff2d89eafcR169-R173
Expected behavior (*)
We need the DOM assertion class to be introduced to Integration Tests Framework
Benefits
Additional information
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done