This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-32d7787d-33ca-47bd-b103-4776a6fbdd6e XWIKI-25092 Open

Add automated test for "Authentication security module CAPTCHA"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-5b07f6ec-4e95-4b61-8fef-30b3f5225db9 Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Authentication security module CAPTCHA"
Issue Type: cid:jira-generated-image-avatar-32d7787d-33ca-47bd-b103-4776a6fbdd6e Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:51
Labels: testneeded
Priority: cid:jira-generated-image-static-major-39db8cdb-1952-4d8e-9a00-cb22f23cfc88 Major
Reporter: Vincent Massol
Description:

The manual test is here: Authentication security module CAPTCHA

Existing automated coverage

Missing automated coverage

  • As admin, go to Administer Wiki > Users & Rights > Authentication, select "CAPTCHA" in Failure Strategies and Save (no page object exists for this section); assert the configuration is saved
  • After 3 failed logins, fill the username, the correct password and the correct CAPTCHA answer, click Log-in and assert the user is logged in (needs a deterministic/test CAPTCHA)

Suggested location: xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/LoginProtectionIT.java

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).