Skip to content
Snippets Groups Projects

Issue #3413483 by jsacksick: Fix functional javascript tests for Drupal 10.2.

3 files
+ 1
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -177,7 +177,6 @@ class CartIntegrationTest extends CommerceWebDriverTestBase {
];
$address_prefix = 'shipping_information[shipping_profile][address][0][address]';
$this->getSession()->getPage()->fillField($address_prefix . '[country_code]', 'US');
$this->assertSession()->assertWaitOnAjaxRequest();
foreach ($address as $property => $value) {
$this->getSession()->getPage()->fillField($address_prefix . '[' . $property . ']', $value);
}
@@ -264,7 +263,6 @@ class CartIntegrationTest extends CommerceWebDriverTestBase {
];
$address_prefix = 'shipping_information[shipping_profile][address][0][address]';
$this->getSession()->getPage()->fillField($address_prefix . '[country_code]', 'US');
$this->assertSession()->assertWaitOnAjaxRequest();
foreach ($address as $property => $value) {
$this->getSession()->getPage()->fillField($address_prefix . '[' . $property . ']', $value);
}
Loading