Closed claudiu-cristea closed 1 year ago
BrowserKit
Drupal\Tests\DrupalTestBrowser
I've created a "test only" PR #627
Use Drupal\Tests\DrupalTestBrowser as BrowserKitDriver client. This also has the advantage that is aligned with Drupal core PHPUnit tests.
BrowserKitDriver
This looks great, thanks!
Problem
BrowserKit
with Guzzle as client, viaDrupal\Tests\DrupalTestBrowser
, see https://gitlab.com/weitzman/drupal-test-traits/-/blob/2.x/src/BrowserKitTrait.php#L21Proving the bug
I've created a "test only" PR #627
Proposal
Use
Drupal\Tests\DrupalTestBrowser
asBrowserKitDriver
client. This also has the advantage that is aligned with Drupal core PHPUnit tests.