-
Notifications
You must be signed in to change notification settings - Fork 14
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
Refactor the list collector repeating blocks functional test spec #1240
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is way better, nice 👍
Changes look good, includes all the correct tests with proper assertions
Only minor thought was that the describe headers were slightly inconsistent, some quite detailed and some not, reckon middle ground for those would be nice
tests/functional/spec/features/repeating_blocks/list_collector_repeating_blocks.spec.js
Show resolved
Hide resolved
tests/functional/spec/features/repeating_blocks/list_collector_repeating_blocks.spec.js
Outdated
Show resolved
Hide resolved
tests/functional/spec/features/repeating_blocks/list_collector_repeating_blocks.spec.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good and working as expected 👍
What is the context of this PR?
Refactored the tests in the list collector repeating blocks spec file. Needed to be refactored as some of the test cases were missing assertions or were executing additional steps after assertions. All tests should now be following the Given, When, Then pattern.
How to review
Check that the changes make sense and that the functional test still passes. Are any test cases missing?
Checklist