<!-- By default, browser tests will output links that use the base URL set
in SIMPLETEST_BASE_URL. However, if your SIMPLETEST_BASE_URL is an internal
path (such as may be the case in a virtual or Docker-based environment),
@@ -65,6 +56,25 @@
<!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["chrome", { "goog:chromeOptions": { "w3c": false } }, "http://localhost:4444/wd/hub"]' For using the Firefox browser, replace "chrome" with "firefox" -->
$this->assertStringContainsString('HTML output directory can_we_assume_that_a_subdirectory_with_this_name_does_not_exist is not a writable directory.',$process->getOutput());
unlink($alteredConfigFile);
// Test with a wrong output directory, overridden by
@@ -73,6 +130,57 @@ public function testFunctionalTestDebugHtmlOutput(): void {
'OUTPUT: '.$process->getOutput()."\n".
'ERROR: '.$process->getErrorOutput()."\n");
$this->assertStringContainsString('HTML output directory can_we_assume_that_a_subdirectory_with_this_name_does_not_exist is not a writable directory.',$process->getOutput());
// Test disabling by setting BROWSERTEST_OUTPUT_DIRECTORY = ''.