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

Fix failing Hide alert banner test #283

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

andybroomfield
Copy link
Contributor

Fix #282

Remove testing in default localgov profile
This is beause the profile is testing the home page, which with the profile
is now the user login page now that
localgovdrupal/localgov#613
is merged means that is the user login page.

Remove testing in default localgov profile
This is beause the profile is testing the home page, which with the profile
is now the user login page now that
localgovdrupal/localgov#613
is merged means that is the user login page.
@andybroomfield
Copy link
Contributor Author

This test fail

Drupal\Tests\localgov_alert_banner\FunctionalJavascript\AlertBannerHideTest::testAlertBannerHide
WebDriver\Exception\ElementNotVisible: element not interactable

Is known and will raise as a new issue.

@Adnan-cds
Copy link
Contributor

Sorry Andy, I am slightly confused. Is this change not trying to resolve the test failure seen in the last test run?

@andybroomfield
Copy link
Contributor Author

@Adnan-cds so this solves a new issue that was causing both Drupal 9. and Drupal 10 PHPunit tests to fail.
The issue I've noted in the comments is the long standing Drupal 10 test failure.

Copy link
Contributor

@Adnan-cds Adnan-cds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am no longer seeing the test failure that says Drupal\Tests\localgov_alert_banner\FunctionalJavascript\AlertBannerHideTest::testAlertBannerHide Failed asserting that a NULL is not empty. So I guess this fix is working.

@andybroomfield andybroomfield merged commit 6ea60b9 into 1.x Sep 6, 2023
7 of 8 checks passed
@andybroomfield andybroomfield deleted the fix/1.x-282-test-fail-profile branch September 6, 2023 16:00
@andybroomfield
Copy link
Contributor Author

Thanks @Adnan-cds i've merged this and opened a new issue for the Drupal 10 test fail as #284

1 similar comment
@andybroomfield
Copy link
Contributor Author

Thanks @Adnan-cds i've merged this and opened a new issue for the Drupal 10 test fail as #284

@andybroomfield andybroomfield mentioned this pull request Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test fail - Failed asserting that a NULL is not empty.
2 participants