Can't log out on translated site in tests - causes issues for 10.3 umami test

Created on 24 April 2024, 8 months ago
Updated 8 May 2024, 7 months ago

Problem/Motivation

If the site is translated \Drupal\Tests\UiHelperTrait::drupalLogout does not work. 11.x is currently passing because we have no 11.x translations. 10.3.x is failing because localize.drupal.org has translations for 10.3.x.

Steps to reproduce

Run ./vendor/bin/phpunit -v core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php --filter testDemoSpecificFeatures

Proposed resolution

Translate the log out text using the pages langcode.

NOTE that even though the MR is against 10.3.x it need to go to 11.x too... it's just that the bug only occurs on 10.3.x atm due to localize.drupal.org

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.3

Component
PHPUnit 

Last updated about 13 hours ago

Created by

🇬🇧United Kingdom alexpott 🇪🇺🌍

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