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 flakey macro tests #3414

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Fix flakey macro tests #3414

wants to merge 11 commits into from

Conversation

rmccar
Copy link
Contributor

@rmccar rmccar commented Oct 31, 2024

What is the context of this PR?

Fixes: #3401

Added awaits to some of the expects that are causing some flakiness on the autosuggest and upped a wait on the modal tests. I have now run the tests 10 times in a row and they passed every time which you can see in the test attempts in the GitHub action below. I think if we continue to see flakiness after this PR has been merged we should revisit this again.

How to review this PR

Check the macro test logs for the last commit where I made changes rather than the merging in main commits (https://github.com/ONSdigital/design-system/actions/runs/11631038531/job/32395239872?pr=3414) to see that the tests have been run 10 times and passed every time.

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit 621bdf3
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/672ce021f8646b0008efb9d6
😎 Deploy Preview https://deploy-preview-3414--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rmccar rmccar added Tech improvements Tech debt, cleanup, code standardisation etc. Testing labels Oct 31, 2024
@rmccar rmccar self-assigned this Oct 31, 2024
@rmccar rmccar marked this pull request as ready for review October 31, 2024 22:48
@rmccar rmccar marked this pull request as draft October 31, 2024 22:53
@rmccar rmccar marked this pull request as ready for review November 1, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tech improvements Tech debt, cleanup, code standardisation etc. Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate flakey macro and script tests
1 participant