---
title: "Verify scheduled sale pricing changes at the configured boundary"
description: "Use a controlled catalog clock to inspect a scheduled promotion before, during, and after its active interval, including list, detail, and cart pricing."
canonical_url: "https://vostride.com/agent-library/product-catalog/sale-price-boundary.md"
md_url: "https://vostride.com/agent-library/product-catalog/sale-price-boundary.md"
content_kind: "recipe"
topic: "product-catalog"
---

# Verify scheduled sale pricing changes at the configured boundary

Use a controlled catalog clock to inspect a scheduled promotion before, during, and after its active interval, including list, detail, and cart pricing.

## Risk

Scheduled promotions can disagree across cached catalog surfaces. The test uses an explicit timezone and boundary policy so the intended active interval is unambiguous and compares actual payable price with presentation labels.

## Fixtures

- A sandbox product with known regular and sale prices and a scheduled promotion interval.
- A supported product-scoped clock fixture and documented timezone plus inclusive or exclusive boundary rules.
- Independent expected prices at three controlled timestamps and catalog/cart inspection hooks.

## Steps

1. Place the fixture clock before the promotion start and verify list and detail pages show the regular price without an active-sale claim.
2. Advance into the active interval and refresh according to the documented cache propagation boundary; verify both surfaces show the expected sale and comparison prices.
3. Add the product to a fresh cart and verify its stored unit price follows the active promotion policy.
4. Advance beyond the sale end and verify list and detail pages return to regular pricing.
5. Create another fresh cart line and inspect its unit price, keeping any prior cart price-lock behavior separate from the new-purchase expectation.

## Expected results

- Promotion activation and expiry follow the stated timezone and interval boundaries.
- List, detail, and newly created cart lines agree on current pricing.
- Sale badges and comparison prices do not persist beyond their documented validity.

## False-pass traps

- A server clock change is not established by changing the browser displayed date.
- An old cart may intentionally retain a locked price and should not be confused with a fresh post-sale purchase.

## Cleanup

- Remove the promotion and clock override, then clear both run-owned cart states.

## Use with agent-qa

Adapt this test design to your application's acceptance criteria and configured target using the [recipe execution guide](/agent-library/software-factory/turn-a-recipe-into-an-agent-qa-test.md). External fixture setup and non-UI checks require your own supported hooks or test tooling. Validate the authored test, execute it, and inspect the completed evidence; this recipe is not a recorded test result.

## References

- [agent-qa test](/docs/agent-qa/configuration/test.md)
- [agent-qa hooks](/docs/agent-qa/guides/hooks.md)
- [agent-qa auth state](/docs/agent-qa/guides/auth-state.md)

- [Product catalog QA recipes](/agent-library/product-catalog.md)
- [Software factory QA library](/agent-library.md)
