Commit dadcf25
test(e2e): create product per media test instead of hardcoded id [MPT-22436]
The media service fixtures built their service against the hardcoded
product id from e2e_config (catalog.product.id), which had reached its
maximum number of media items. MediaService.create then returned 400
Bad Request, failing setup for the sync and async media tests.
Point the sync and async media service fixtures at the shared
created_product / async_created_product fixtures so each run starts from
a freshly created, empty product instead of the shared seeded one.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a1bcd9d commit dadcf25
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments