Fix build dependent on core major version

Created on 14 August 2025, about 2 months ago

Problem/Motivation

Nightly pipelines are failing now that CORE_STABLE > 11.2

Steps to reproduce

See https://git.drupalcode.org/project/dashboard/-/pipelines/572528

Failed asserting that the text of the element identified by '//*[@id="block-primary-local-tasks"]/ul/li[2]/a' equals 'Edit layout'.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Edit layout'
+'Preview'

Proposed resolution

  • Verify tab weights are correct.
  • Add a helper that changes the selector index based on Drupal core version

Remaining tasks

Fix.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

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