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
ApacheEx commentedAlready done in #2895271: Convert web tests to JTB and KTB tests for user module part-3
I'm closing the issue.