Update file BrowserHtmlDebugTrait.php
Open
requested to merge issue/drupal-2992069:2992069-setuphtmloutput-initbrowseroutputfile-and into 11.x
Closes #2992069
Merge request reports
Activity
Filter activity
In this fix, It addresses the conversion of the BROWSERTEST_OUTPUT_DIRECTORY to always be relative to the webroot and converts it to an absolute URL when needed. The adjustments made in the initBrowserOutputFile() function ensure that the directory path is constructed correctly and that the HTML output files are written to the appropriate location.
The htmlOutput() function also correctly writes the HTML output files to the directory specified by $this->htmlOutputDirectory and logs the URL to the HTML output file using HtmlOutputLogger::log().
Please register or sign in to reply