Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-142

Stop automatically logging the user out if already logged in

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.2.3
    • 1.0.4

      ticket description not 100% up-to-date, see comments

      Move the automagic logout on PageObjects#login, to a better suited place, such as an "after-each" callback on Selenium extension, so that it does not interfere with login logic. Making sure that the next test gets a new session.

      Additional context: the reason for automatic logout is because we already recycle the WebDriver instance between test-cases.

      Additional task: before re-introducing the logout in Selenium extension, verify via VNC if two consequent tests are presented with the login screen (despite no explicit logout).

        Acceptance criteria

              cmeier Christoph Meier
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.5d
                    0.5d