Tests failure in MailTest::testNoMailOnAbandonedEmptyCarts()

Created on 28 April 2024, 11 months ago

Problem/Motivation

Currently there is a test failure in MailTest::testNoMailOnAbandonedEmptyCarts()see:

There was 1 error:
1) Drupal\Tests\commerce_abandoned_carts\Functional\MailTest::testNoMailOnAbandonedEmptyCarts
TypeError: Behat\Mink\Element\TraversableElement::findButton(): Argument #1 ($locator) must be of type string, Drupal\Core\StringTranslation\TranslatableMarkup given, called in /builds/project/commerce_abandoned_carts/web/core/tests/Drupal/Tests/WebAssert.php on line 143
/builds/project/commerce_abandoned_carts/vendor/behat/mink/src/Element/TraversableElement.php:97
/builds/project/commerce_abandoned_carts/web/core/tests/Drupal/Tests/WebAssert.php:143
/builds/project/commerce_abandoned_carts/web/core/tests/Drupal/Tests/UiHelperTrait.php:78
/builds/project/commerce_abandoned_carts/tests/src/Functional/MailTest.php:271
/builds/project/commerce_abandoned_carts/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
ERRORS!

https://git.drupalcode.org/project/commerce_abandoned_carts/-/jobs/1440289

Steps to reproduce

See: https://git.drupalcode.org/project/commerce_abandoned_carts/-/jobs/1440289

Proposed resolution

Fix the tests to pass.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia poker10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024