testTfaLogin() sendin fields that do not exist to TFA Config form

Created on 13 June 2025, 3 months ago

Problem/Motivation

Discovered in ✨ Make QR account name configurable Active

$edit in TfaLoginTest::testTfaLogin() is passing user and pass values to the TFA Configuration form.

These fields rightly do not exist and are throwing an ElementNotFoundException.

We have hit some edge case in Mink WebAssert::fieldExists() that was returning an incorrect field

(pass was mapped to tfa_allowed_validation_plugins[tfa_totp])

Steps to reproduce

Run tests in ✨ Make QR account name configurable Active commit 80a96bc8aa60a136e2a0c8990e468a4c60be2263

Proposed resolution

Do not send user/pass fields to TFA config form

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

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