Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(E2E) testErrorChrome - Skip Backdrop and D8+ (much like D7) #23398

Merged
merged 1 commit into from
May 7, 2022

Conversation

totten
Copy link
Member

@totten totten commented May 6, 2022

Overview

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 another patch to tune assertion for BD+D8.

@civibot
Copy link

civibot bot commented May 6, 2022

(Standard links)

This test was added during 5.50.alpha (civicrm#23257, civicrm#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.
@seamuslee001 seamuslee001 merged commit 519c53b into civicrm:5.50 May 7, 2022
@totten totten deleted the 5.50-e2e-error-bd branch May 9, 2022 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants