-
Notifications
You must be signed in to change notification settings - Fork 0
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 catalogue category e2e tests #314 #315
Conversation
a189b53
to
d680a92
Compare
9d01ea2
to
8a1296a
Compare
8a1296a
to
b72387d
Compare
3f36e13
to
74eb873
Compare
8ef1d3a
to
e61d843
Compare
8013de7
to
6a785a1
Compare
6a785a1
to
6ab0234
Compare
008cd59
to
66c0248
Compare
220fbe1
to
361b7a8
Compare
6fd6e10
to
9ea1038
Compare
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.
Comments so far before looking at test/e2e/test_catalogue_category.py
3d16ff1
to
d8bcd65
Compare
d8bcd65
to
20dab81
Compare
Could you please also run the black formatter as it has some things to reformat? Thanks |
I thought I did on the latest force push? |
Oh sorry, your last commit did not appear for me when I posted this. |
@VKTB Thanks for being thorough and spotting these, I wouldn't have myself. |
Description
Refactors catalogue category e2e tests. Also applies changes to all refactored tests so far to match the style of #31.
Notes
Removed tests:
test_create_catalogue_category_with_properties_with_allowed_values
- Tested by the newtest_create_leaf_with_properties
test_partial_update_catalogue_category_change_from_leaf_to_non_leaf
- With the way it is currently writtentest_partial_update_is_leaf_no_children
should be enough for leaf -> non leaf or non-leaf -> leaf as it doesn't care about the value change itself, just whether it is allowed to modify ittest_partial_update_catalogue_category_add_property
,test_partial_update_catalogue_category_remove_property
andtest_partial_update_catalogue_category_modify_property
replaced with one test updating properties (add and removal is irrelevant here)Testing instructions
Add a set up instructions describing how the reviewer should test the code
Agile board tracking
Closes #314