Needs review
Project:
Pathauto
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Apr 2016 at 00:03 UTC
Updated:
13 Feb 2026 at 17:57 UTC
Jump to comment: Most recent
We need to add JS tests for:
1. Ensuring that the Pathauto checkbox behavior works, that it disables the manual URL alias textfield when checked.
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
Comment #2
mably commentedAmazingly, 10 years later, this basic test still seems missing.
Let's try to fix that.
Comment #3
mably commentedComment #5
mably commentedComment #6
mably commentedCode review of MR #120
The commit adds the missing FunctionalJavascript test for the pathauto widget checkbox behavior, as requested in the issue.
Test coverage
PathautoWidgetTest::testPathautoWidget()verifies the full interaction cycle on the node form:The test correctly handles the vertical tabs UI by clicking the tab menu link rather than the
<summary>element, and usestrigger('formUpdated')to force summary recalculation after filling in the alias field.