Statistical reports fail to open in DevOps Test UI on Linux

When you run a Web UI test on a Red Hat Enterprise Linux (RHEL) 10 system, the statistical reports might open in an external web browser instead of the window in HCL DevOps Test UI (Test UI).

Cause

After the test run is complete, the statistical report fails to open in Test UI because the supported package that is required to render the report is not available.

Resolution

To resolve this issue, you must install the missing webkit2gtk4.1 library by performing the following steps:

  1. Open a terminal on your Linux system.
  2. Enable the Extra Packages for Enterprise Linux (EPEL) repository and install the library by running the following commands:
    sudo dnf config-manager --set-enabled epel
    sudo dnf install --setopt=install_weak_deps=False webkit2gtk4.1
  3. Verify that the library is installed successfully by running the following command:
    ldconfig -p | grep -E 'libwebkit2gtk-4.1|libjavascriptcoregtk-4.1'

    If the installation is successful, you can see an output similar to the following example:

    libwebkit2gtk-4.1.so.0 (libc6,x86-64) => /lib64/libwebkit2gtk-4.1.so.0
    libjavascriptcoregtk-4.1.so.0 (libc6,x86-64) => /lib64/libjavascriptcoregtk-4.1.so.0
  4. Restart Test UI.
  5. Run the Web UI test again.

    The statistical report now opens in Test UI.