chore: Make dynamic context for tests assets related to Cart

Created on 9 April 2025, 3 months ago

Problem/Motivation

Each test that works with the cart needs to handle the context manually to store the updated cart details in the separate asset file. This works but produces a lot of duplicates in the assets for other requests, too.

Proposed resolution

We need to override the Test Helpers class that calculates the hash of the request, and automate handling the context per the cart id and the cart version.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡²Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @murz
  • πŸ‡ΊπŸ‡¦Ukraine Joyakas
  • Pipeline finished with Success
    3 months ago
    Total: 294s
    #470111
  • Merge request !29Issue #3518194 Dynamic cart context β†’ (Merged) created by Unnamed author
  • Pipeline finished with Failed
    3 months ago
    Total: 405s
    #473691
  • Pipeline finished with Failed
    3 months ago
    Total: 3513s
    #473776
  • Pipeline finished with Failed
    3 months ago
    Total: 362s
    #474835
  • Pipeline finished with Failed
    3 months ago
    Total: 354s
    #474924
  • Pipeline finished with Failed
    2 months ago
    #480079
  • Pipeline finished with Success
    2 months ago
    #480080
  • Pipeline finished with Success
    2 months ago
    Total: 388s
    #481017
  • πŸ‡ΊπŸ‡¦Ukraine Joyakas
  • Pipeline finished with Failed
    2 months ago
    #483683
  • Pipeline finished with Success
    2 months ago
    Total: 300s
    #484689
  • Pipeline finished with Failed
    2 months ago
    #484701
  • Pipeline finished with Success
    2 months ago
    #485600
  • Pipeline finished with Success
    2 months ago
    #485633
  • Pipeline finished with Skipped
    2 months ago
    #486334
  • πŸ‡¦πŸ‡²Armenia murz Yerevan, Armenia

    Good job! Reviewed and merged.

  • πŸ‡¦πŸ‡²Armenia murz Yerevan, Armenia
Production build 0.71.5 2024