Skip to content

Conversation

@albertsola
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Nov 13, 2025

✅ Found Jira issue key in the title: MPT-14888

Generated by 🚫 dangerJS against e5590af

@albertsola albertsola force-pushed the e2e/catalog/MPT-14888-product-items branch 4 times, most recently from 1d6108e to 70508af Compare November 14, 2025 11:46
service = async_mpt_vendor.catalog.items
update_data = {"name": "e2e - delete me (updated)"}
item = await service.update(async_created_item.id, update_data)
assert item.name == "e2e - delete me (updated)"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We could and we do it some times, although this goes against the Requirement 2 of the TDR:

https://softwareone.atlassian.net/wiki/spaces/mpt/pages/6688604176/TDR+Python+API+Client+E2E+Test#Requirements

1. E2E tests should check the communication between the client and the real MPT API

2. It shouldn’t test the MPT API itself. Means tests should not check permutations of the cases of the MPT API, and also, it shouldn’t check that MPT creates/updates/deletes entities properly

3. E2E tests should check that simple requests/responses are not failing

For now we try to minimise the request done to the API for performance purposes.

@albertsola albertsola requested a review from jentyk November 14, 2025 15:07
@albertsola albertsola force-pushed the e2e/catalog/MPT-14888-product-items branch 2 times, most recently from 3245df1 to 5964e1c Compare November 17, 2025 15:48
@albertsola albertsola self-assigned this Nov 17, 2025
@albertsola albertsola force-pushed the e2e/catalog/MPT-14888-product-items branch from 5964e1c to e5590af Compare November 17, 2025 16:19
@sonarqubecloud
Copy link

@albertsola albertsola merged commit 316148e into main Nov 17, 2025
4 checks passed
@albertsola albertsola deleted the e2e/catalog/MPT-14888-product-items branch November 17, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants