Problem/Motivation
drupalPostAjaxForm() is simulating the behaviour of ajax.js, so using it, doesn't really provide fundamental guarantees.
#2809161: Convert Javascript/AJAX testing to use JavascriptTestBase suggests to convert them to JavascriptTestBase
Proposed resolution
- Figure out which part of the test is testing PHP code and which part ajax behaviour
- Extract the ajax behaviour into a test that extends JavascriptTestBase
Comments
Comment #3
michielnugter commentedComment #7
lendudeThis is getting handled in #2900291: Form: Convert system functional tests to phpunit Part 2 so closing this one