silverstripe / silverstripe-admin

Silverstripe Admin Component
BSD 3-Clause "New" or "Revised" License
25 stars 91 forks source link

MNT Fix behat failure #1776

Closed GuySartorelli closed 2 weeks ago

GuySartorelli commented 2 weeks ago

Fixes https://github.com/silverstripe/silverstripe-admin/actions/runs/9456664685/job/26049017215

Scenario: I can see tab validation icons on multi-tab pages # tests/behat/features/multitab-validation.feature:12 Then I can see the form validation error message # SilverStripe\Admin\Tests\Behat\Context\AdminContext::iCanSeeTheFormValidationErrorMessage()

Element #Form_EditForm_error not found Failed asserting that false is true.

The failure was caused by https://github.com/silverstripe/silverstripe-frameworktest/pull/180 which was for a change in admin on branch 2: https://github.com/silverstripe/silverstripe-admin/pull/1751

This PR updates the behat tests for 2.2 to account for the change to frameworktest.

Issue