(E2E) testErrorChrome - Skip Backdrop and D8+ (much like D7)
authorTim Otten <totten@civicrm.org>
Fri, 6 May 2022 22:48:43 +0000 (15:48 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 6 May 2022 23:21:56 +0000 (16:21 -0700)
commitaf719516df55ae5432e0ddc9f369768a83e8c07f
tree2dd7ef7dfd807202487f40c5dd7d1a1dd04acd1b
parent730ded66a3633ac22c2dff27b0a834495d85dc78
(E2E) testErrorChrome - Skip Backdrop and D8+ (much like D7)

This test was added during 5.50.alpha (#23257, #22805).  It's purpose is to
assert that the page-chrome/site-wide-template is present on certain
error-messages; however, the underlying behavior was only implemented on
WordPress. It has not yet been implemented on other CMS.

Before
------

* __WordPress__: Runs testErrorChrome. Expected to pass.
* __Drupal 7__: Skip testErrorChrome (mostly) because it is expected to fail.
* __Drupal 8+, Backdrop__: Runs testErrorChrome. Fails.

After
-----

* __WordPress__: Runs testErrorChrome. Expected to pass.
* ___Drupal 7, Drupal 8+, Backdrop__: Skip testErrorChrome (mostly) because it is expected to fail.

Comment
-------

It still runs `testErrorChrome` for `permission` errors; per MM discussion, it appears that this does actually work, but we need
to tune assertion for BD+D8.
tests/phpunit/E2E/Core/ErrorTest.php