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 flaky payment method spec #13135

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

mkllnk
Copy link
Member

@mkllnk mkllnk commented Feb 10, 2025

What? Why?

This didn't come up on CI because CI is probably waiting long enough for the flash to disappear. But locally it failed every time for me.

What should we test?

  • Specs only.

Release notes

Changelog Category (reviewers may add a label for the release notes):

  • User facing changes
  • API changes (V0, V1, DFC or Webhook)
  • Technical changes only
  • Feature toggled

The title of the pull request will be included in the release notes.

Dependencies

Documentation updates

This didn't come up on CI because CI is probably waiting long enough for
the flash to disappear. But locally it failed every time for me.
@mkllnk mkllnk added the technical changes only These pull requests do not contain user facing changes and are grouped in release notes label Feb 10, 2025
@mkllnk mkllnk self-assigned this Feb 10, 2025
@mkllnk mkllnk marked this pull request as ready for review February 10, 2025 05:37
Copy link
Collaborator

@rioug rioug left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@dacook dacook left a comment

Choose a reason for hiding this comment

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

Great.
Another solution perhaps would be to use scroll_to

Either way, this demonstrates how floating messages can cause problems (for real users too). The "dismiss" button is the best answer to the problem 👍

@dacook dacook merged commit f35ba03 into openfoodfoundation:master Feb 12, 2025
36 checks passed
@mkllnk mkllnk deleted the flaky-payment-method-spec branch February 12, 2025 04:08
@mkllnk
Copy link
Member Author

mkllnk commented Feb 12, 2025

Another solution perhaps would be to use scroll_to

There was no scroll bar on that page. Action button and flash message were just overlapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical changes only These pull requests do not contain user facing changes and are grouped in release notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants