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 karma test #12834

Merged
merged 2 commits into from
Sep 2, 2024
Merged

Fix karma test #12834

merged 2 commits into from
Sep 2, 2024

Conversation

rioug
Copy link
Collaborator

@rioug rioug commented Sep 2, 2024

What? Why?

For some reason karma hangs and fails with a timeout error if a confirm javascript pop up isn't mocked. I am not sure why it stopped working suddenly, karma is deprecated and has not been updated in the last week. I suspect it might be a chrome issue.

What should we test?

Green build 🟢

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

For some reason, karma hang and fails with a timeout error if javascrpit
`confirm` pop up isn't mocked.

Plus fix spec to actually check the pop up has been displayed
@rioug rioug marked this pull request as ready for review September 2, 2024 03:51
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.

Thank you!!

@dacook dacook merged commit 9cfcab4 into openfoodfoundation:master Sep 2, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Build broken: Karma test failing
2 participants