Problem/Motivation

The scheduled CI pipeline on the 1.x branch fails against Drupal 11.3+ due to two issues:

  1. Drupal 11.3.0 requires functional test classes to use the #[RunTestsInSeparateProcesses] PHP attribute. Without it, the Symfony deprecation handler reports a failure.
  2. Drupal 11.3 added form-type-{type} CSS classes to form item wrappers (e.g., form-type-textfield, form-type-number). Two responseContains() assertions in ElementMultipleTest matched exact HTML class strings that no longer match the updated output.

Proposed resolution

  1. Add the #[RunTestsInSeparateProcesses] attribute and its use import to ElementMultipleTest.
  2. Replace the two brittle responseContains() assertions with CSS selector-based elementExists() assertions that check for the required classes without being sensitive to additional classes Drupal core may add in the future.

User interface changes

None

API changes

None

Data model changes

None

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

facine created an issue. See original summary.

facine’s picture

Issue summary: View changes

  • facine committed 422a289b on 1.x
    Resolve #3580821 "Ci scheduled pipeline"
    
facine’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.