Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7263

[hawtio] Usability problem with the login page

XMLWordPrintable

    • % %
    • Hide
      • Open new tab / window in your browser. (You can try incognito mode / private window)
      • Access directly hawtio console login page (e.g. http://localhost:8161/hawtio/login in case
        of old version and http://localhost:8161/console/login in case of new version)
      • Wait couple of seconds before page fully loads
      • Try to click anywhere in the page except the login form and try to type something on your
        keyboard to verify, that glitch is NOT triggered
      • Optional: you can use browser's developer tools to make sure that all the elements of page
        you see are are actually present.
      • Option 1): click to checkbox "Remember me" and trigger the glitch
      • Option 2): select one of the inputs and try to fill credentials, trigger glitch by typing
      Show
      Open new tab / window in your browser. (You can try incognito mode / private window) Access directly hawtio console login page (e.g. http://localhost:8161/hawtio/login in case of old version and http://localhost:8161/console/login in case of new version) Wait couple of seconds before page fully loads Try to click anywhere in the page except the login form and try to type something on your keyboard to verify, that glitch is NOT triggered Optional: you can use browser's developer tools to make sure that all the elements of page you see are are actually present. Option 1): click to checkbox "Remember me" and trigger the glitch Option 2): select one of the inputs and try to fill credentials, trigger glitch by typing

      This issue occurs under very specific conditions (see. steps to reproduce) - that means only
      once if opened in new window / browser tab and if login page is visited directly.
      Affects both old and new version of Hawtio web console.
      When user tries to fill the login form text inputs (starts typing when one of the inputs is already
      selected or tries to check the checkbox for page to remember credentials - long story short
      change values of any input in login form), the page flashes and resets it self. Login form is empty
      again. User is forced to select one of the input fields once more to be able to fill login
      credentials before submitting them.

      From the user's perspective, whole content of the page seems to be replaced in manned similar to following:

      var body = document.getElementByTagName('body");
      body.innerHTML = "..." // content of the page reassigned to the same HTML as it was
      

      This seems to be the case because of how automation done using Python and Selenium
      webdriver behaves. After attempt to do anything with the input type elements, selenium
      throws exception: "StaleElementReferenceException: Message: stale element reference: element is not attached to the page document".
      Unless there is sleep inserted into a script and user intervenes by typing into the form and
      activates glitch before selenium tries to locate page elements.

      In firefox there sometimes "leftover input" (or browser's input autocompletion most likely) with
      already filled credentials. See attached screenshot (taken from new version of Hawtio console).

            rhn-support-tasato Tadayoshi Sato
            rvais Roman Vais
            Juri Solovjov Juri Solovjov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: