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

Prepare UI test for new sessions invalidation behavior when changing password

XMLWordPrintable

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

      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

        Acceptance criteria

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

                Created:
                Updated:
                Work Started:

                  Task DoD