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 ordering of points and purposes in ret. req. #1135

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

Cruikshanks
Copy link
Member

https://eaflood.atlassian.net/browse/WATER-4478

When running the acceptance tests we've created for the returns requirement setup journeys, we've encountered random failures. Typically, it will pass on one machine but then fail on another.

We've tracked the root cause down to the fact we have not imposed an order in how we list the purposes and points during the journey. This means the test is always selecting option 1, for example, and then asserting it is 'Foo'. But depending on the machine the test is running on option 1 might have displayed as 'Bar'. This means the assertion fails.

This change ensures the points and purposes in the journey are listed in a consistent controlled manor. This will fix the tests and make things better for all!

https://eaflood.atlassian.net/browse/WATER-4478

When running the acceptance tests we've created for the returns requirement setup journeys we've encountered random failures. Typically it will pass on one machine but then fail on another.

We've tracked the root cause down to the fact we have not imposed an order in how we list the purposes and points during the journey. This means the test is always selecting option 1, for example, and then asserting it is 'Foo'. But depending on the machine the test is running on option 1 might have displayed as 'Bar'. This means the assertion fails.

This change ensures the points and purposes in the journey are listed in a consistent controlled manor. This will fix the tests and make things better for all!
@Cruikshanks Cruikshanks added the bug Something isn't working label Jun 24, 2024
@Cruikshanks Cruikshanks self-assigned this Jun 24, 2024
@Cruikshanks Cruikshanks marked this pull request as ready for review June 24, 2024 11:07
@Cruikshanks Cruikshanks requested a review from rvsiyad June 24, 2024 11:07
Copy link
Contributor

@rvsiyad rvsiyad left a comment

Choose a reason for hiding this comment

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

@Cruikshanks Cruikshanks merged commit eb48773 into main Jun 24, 2024
5 of 6 checks passed
@Cruikshanks Cruikshanks deleted the fix-ordering-of-purposes-and-points branch June 24, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants