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

Introduce network logs for requests sent by Chrome webdriver

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.3.3
    • None
    • None
    • DevX 12
    • 3

      Background

      As part of MGNLTEST-238 support for scaled docker setup of external SPA nodes was introduced, however, due to the nature of complexity of external SPA tests which involved a lot of back and forth communication between magnolia and external SPA until the page is finally rendered, the current state of debug tooling - logs, recordings, exposed ports for VNC recorder are insufficient to provide adequate information to the test writer on the cause for test failure.

      Proposed solution

      Display network logs for the following parameters for the requests sent by selenium web driver:

      • Request Url
      • Headers
      • Response status
      • Reason for failure

      Note

      In light of the current state of tooling supported by Selenium 4, there is support available atleast for the chrome driver to capture network logs by attaching network event listeners to the devtools API.

        Acceptance criteria

              rdhar Rishab Dhar
              rdhar Rishab Dhar
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 7.75h
                    7.75h