Coupon Apply Button Disappears Into Web Component
HardCheckoutShadow DOM
Mission
- Incident
When commerce controls disappear inside a component boundary, brittle tests stop protecting checkout changes
- Goal
Reach the real coupon action through the component boundary and verify the surfaced status ends in done
- Pass condition
Trigger the real coupon apply primary action inside the shadow boundary
What counts
- Trigger the real coupon apply primary action inside the shadow boundary
- idle -> running -> done lifecycle
- coupon success banner confirms SPRING10 was applied
Constraints1 rules + 1 mutation note
Rules
- Do not click decoy actions outside the nested apply control
Mutation
- Apply button path changes between baseline and mutated shadow hierarchy
Hint 1
Action: Trigger the real coupon apply primary action inside the shadow boundary.
Hint 2
Assertion: Assert idle -> running -> done lifecycle.
Hint 3
Assertion: Assert coupon success banner confirms SPRING10 was applied.
