Uploaded image for project: 'Community Edition'
  1. Community Edition
  2. MGNLCE-394

Prepare UI test for new sessions invalidation behavior when changing password

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      Goal

      We want to make sure the new session invalidation on password changes works properly.

      Therefore we'd need a UI test which would test the following: 

      • A user changes the password from "Edit user profile" dialog, expected that a confirmation dialog (see attachment) pops up, click button "Log out" should invalidate all active sessions (include current one)
      • A user changes the password from "Edit user profile" dialog, expected that a confirmation dialog (see attachment) pops up, click button "Keep active sessions" should do nothing and the sessions remain working.

      From the Security app:

      • A Superuser changes another user password from Security app, expected that a confirmation dialog (see attachment) pops up if the user has any active sessions, click button "Log out" should invalidate all active sessions of the user
      • A Superuser changes another user password from Security app, expected that a confirmation dialog (see attachment) pops up if the user has any active sessions, click button "Keep active sessions"  should do nothing and the sessions of the user remain working.
      • A Superuser changes his own password from Security app, expected that a confirmation dialog (see attachment) pops up, click button "Log out" should invalidate all active sessions (include current one)
      • A Superuser changes his own password from Security app, expected that a confirmation dialog (see attachment) pops up, click button "Keep active sessions" should do nothing and the sessions remain working.
      • The 4 cases above should be tested on the new Security app (migrated to new UI framework)

      Dev notes

      The new UI tests should be placed in https://git.magnolia-cms.com/projects/PLATFORM/repos/ce/browse/magnolia-integration-tests/tests/src/test/java/it/info/magnolia/functionaltests

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                kmusayev Khayal Musayev
                nguyen.phung Nguyen Phung Chi
                AdminX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Work Started:

                  Checklists

                    Task DoD