Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25093

Add automated test for "Authentication security module disable account"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Authentication security module disable account

      Existing automated coverage

      Missing automated coverage

      • As admin, in Administer Wiki > Users & Rights > Authentication select Failure Strategy "Disable account", set Maximum number of authorized attempts to 4 and Save
      • Create user U1, log out, fail to log in as U1 4 times
      • Assert the error "This account has been disabled. Please ask the administrator to enable it back." is shown and the correct password is refused
      • As admin, enable U1 from its profile page (ProfileUserProfilePage#clickEnable)
      • Log out and assert U1 can log in with the correct password

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: