Needs review
Project:
SimpleTest
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
19 Aug 2009 at 07:00 UTC
Updated:
16 Dec 2009 at 04:20 UTC
Jump to comment: Most recent file
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 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 commentedSmart idea from webchick, leave as drupalGet() for now.
Comment #3
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 commentedVery early patch.
Comment #5
boombatower commentedMove to Browser module for further development.
Comment #6
boombatower commentedMove to SimpleTest.
Comment #7
boombatower commentedUpdate for tonight.
Comment #8
boombatower commentedComment #9
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 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 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