Incorrect path used in a A11y Test Admin

Created on 22 January 2025, 6 days ago

Problem/Motivation

As highlighted in:
#2857808-26: Automate Accessibility Checks for Core
It looks like there is an error in the admin tests.

{ name: 'Create Article', path: '/user/1/edit' },

Perhaps it should be:

{ name: 'Create Article', path: '/node/add/article?destination=/admin/content' },

Steps to reproduce

Visit: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/tests/Drupal/...
See the Create article link is pointing to the incorrect URL.

Proposed resolution

Make the Create article test use the node add path: /node/add/article?destination=/admin/content

Remaining tasks

Fix it
Review

🐛 Bug report
Status

Active

Version

11.1 🔥

Component

other

Created by

🇬🇧United Kingdom the_g_bomb

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024