diff --git a/packages/e2e-test-utils/src/has-php-error.js b/packages/e2e-test-utils/src/has-php-error.js index 470faa0729c60b..f25bb42f4941a0 100644 --- a/packages/e2e-test-utils/src/has-php-error.js +++ b/packages/e2e-test-utils/src/has-php-error.js @@ -5,7 +5,7 @@ * * @type RegExp */ -const REGEXP_PHP_ERROR = /(Fatal error|Recoverable fatal error|Warning|Parse error|Notice|Strict Standards|Deprecated|Unknown error)<\/b>/; +const REGEXP_PHP_ERROR = /(Fatal error|Recoverable fatal error|Warning|Parse error|Notice|Strict Standards|Deprecated|Unknown error)<\/b>: /; /** * Returns a promise resolving to a boolean reflecting whether a PHP notice is