Skip to content

Multi‐device Refresh (MDR) Test Plan (desktop)

Stephen Donner edited this page Jun 14, 2024 · 28 revisions

Multi-device Refresh (MDR) Test Plan (desktop)

Docs:

### Spec: https://docs.google.com/document/d/13HZ5ir0bCI1c83EfrrZ_aEJqt9v9_EVUJuIggHCqntI/edit?tab=t.0#heading=h.u1umkweurnde ### Roadmap: https://github.com/brave/roadmap/issues/1243

Setup:

Latest available beta build on Windows 10-x64/Windows 11-x64 and macOS-x64

Purchases

Tests:

  • purchase Leo
  • purchase VPN + Leo
  • purchase Talk Premium
  • purchase Brave Search
  • purchase all at once
  • purchase (a) specific combination(s) of the above

Refresh (redeem) credentials

Steps:

  • purchase Leo on device A
  • on device B, log in to account.bravesoftware.com with the same email address
  • click Refresh Leo on device B

Expected Results:

The credentials on device B should be valid and mirror those of device A (same expires_at)


Max limit # of actively-linked/recovered devices

Steps:

  • run Refresh (redeem) credentials testcase
  • repeat for 9 devices (totaling 10)
  • confirm no errors linking
  • attempt redeeming device A credentials on device # 11

Expected Results:

Confirm visible, logical error message (exceeded recovery limit for subscription from https://github.com/brave-intl/subscriptions/pull/570/files#diff-a5ce247e55d5a20707517e34bef620f2eb369b4f9b8fa44fdfb2c18a702418e8R29)?


Auto-renew (within 5 days of exp.)

Steps:

  • purchase VPN
  • be 6 days before expires_at for VPN in brave://skus-internals
  • quit Brave
  • time-travel to 2 days in the future (you are now 4 days until the original expires_at date)
  • relaunch Brave
  • wait a couple minutes
  • check brave://skus-internals

Expected Results:

Product shows as ActiveCredentials in brave://skus-internals with a valid, extended expires_at value


Cancellation

Steps:

  • purchase Leo
  • click cancel plan, cancel subscription

Expected Results:

Product shows as Canceled in brave://skus-internals, with an appropriate expires_at value (still valid until then)


Renewal

Steps:

  • purchase VPN
  • cancel VPN
  • renew plan

Expected Results:

Product shows as ActiveCredentials in brave://skus-internals with a valid, extended expires_at value