CouponRedemptionPaneTest was fixed incorrectly

Created on 6 March 2025, 27 days ago

In the linked commit $this->assertSession()->assertWaitOnAjaxRequest(); was removed to fix a test error but this was actually a valid test failure. The test was failing because there was no ajax request happening. There was no ajax request happening because the payment method selected by default (9999) was the same one as was being selected in the test. The order of the radio buttons changed and now the second payment method (9999) was being shown first and selected by default.

The correct fix is to change which payment method is selected in the test, triggering ajax.

🐛 Bug report
Status

Active

Version

3.0

Component

Tests

Created by

🇺🇸United States rhovland Oregon

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024