Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Has some catch up work to do in terms of features, at least #553276: Add HTTP authentication support, not sure what else.
Comment | File | Size | Author |
---|---|---|---|
#11 | 553278-replace-dwtc-browser.patch | 26.57 KB | boombatower |
#10 | 553278-replace-dwtc-browser.patch | 23.36 KB | boombatower |
#9 | 553278-replace-dwtc-browser.patch | 21.79 KB | boombatower |
#7 | 553278-replace-dwtc-browser.patch | 4.52 KB | boombatower |
#4 | 553278-replace-dwtc-browser.patch | 3.98 KB | boombatower |
Comments
Comment #1
boombatower CreditAttribution: boombatower commentedThere is a patch for the issue...so I am going to start on this.
Items to accomplish:
The current code:
The new format for tests will look something like this:
or
or
That latter two being wrappers for $browser->get() and will run url() on anything passed to them, just like drupalGet(). The browser requires an absolute url.
That or we make the browser accept none-absolute in some manor.
Comment #2
boombatower CreditAttribution: boombatower commentedSmart idea from webchick, leave as drupalGet() for now.
Comment #3
boombatower CreditAttribution: boombatower commentedAdditional dependencies:
#555374: Deal with !empty($curl_options[CURLOPT_POST]) in browser.inc
#555412: Add page listener facility to browser.inc
Comment #4
boombatower CreditAttribution: boombatower commentedVery early patch.
Comment #5
boombatower CreditAttribution: boombatower commentedMove to Browser module for further development.
Comment #6
boombatower CreditAttribution: boombatower commentedMove to SimpleTest.
Comment #7
boombatower CreditAttribution: boombatower commentedUpdate for tonight.
Comment #8
boombatower CreditAttribution: boombatower commentedComment #9
boombatower CreditAttribution: boombatower commenteddrupalGet() and drupalPost() work!
Left:
* Convert page related assertions.
* Provide drupalHeader() equivalent and related.
* Create Drupal HEAD patch to let bot run on all tests.
Comment #10
boombatower CreditAttribution: boombatower commentedThis is a straight re-roll after merging with HEAD.
Note that head had some AJAX additions which this patch ignores.
EDIT: browser tests still pass.
Comment #11
boombatower CreditAttribution: boombatower commentedCleaned up some minor stuff and converted a few more functions. Also implement head() in browser.inc and converted drupalHead() to use it.
Need to update/look at:
drupalGetHeaders
drupalGetHeader
assertFieldByXPath - from other box
check post() improviments to form handling