-
Notifications
You must be signed in to change notification settings - Fork 19
Multi‐device Refresh (MDR) Test Plan (desktop)
Stephen Donner edited this page Jun 17, 2024
·
28 revisions
-
Most testing will be against the latest available
beta
build onWindows 10-x64
/Windows 11-x64
andmacOS-x64
- We'll also test v1.61.x, as this doesn't have multi-device refresh support, but needs to work nonetheless over the old API
- Testing will be completed against
account.bravesoftware.com
(staging) - For
Leo Premium
only, we'll need to run using--env-leo=staging --env-ai-chat.bsg=dev --env-ai-chat-premium.bsg=dev
Tests:
- purchase Leo Premium
- install [appropriate Brave version]
- launch Brave using
--env-leo=staging --env-ai-chat.bsg=dev --env-ai-chat-premium.bsg=dev
- load
account.bravesoftware.com
- enter basic auth username/password
- enter @mailinator.com test address
- click
Get login link
- click on the
Log in to Brave
link in the resulting email - click on
Browse plans
- click on
Start free trial
button - complete Stripe checkout
- confirm
You have active credentials loaded!
green banner and messaging
- purchase VPN + Leo
- purchase Brave Talk Premium
- purchase Brave Search Premium
- purchase all at once
- purchase (a) specific combination(s) of the above
- purchase Leo on
device A
- on
device B
, log in toaccount.bravesoftware.com
with the same email address - click
Refresh Leo
ondevice B
The credentials on device B
should be valid and mirror those of device A
(same expires_at
)
- run
Refresh (redeem) credentials
testcase - repeat for 9 devices (totaling 10)
- confirm no errors linking
- attempt redeeming
device A
credentials on device # 11
Confirm visible, logical error message (exceeded recovery limit for subscription
from https://github.com/brave-intl/subscriptions/pull/570/files#diff-a5ce247e55d5a20707517e34bef620f2eb369b4f9b8fa44fdfb2c18a702418e8R29)?
- install [appropriate Brave version]
- launch Brave using
--env-leo=staging --env-ai-chat.bsg=dev --env-ai-chat-premium.bsg=dev
- load
account.bravesoftware.com
- enter basic auth username/password
- enter @mailinator.com test address
- click
Get login link
- click on the
Log in to Brave
link in the resulting email - click on
Browse plans
- click on
Start free trial
forBrave VPN
- complete Stripe checkout
- open
brave://skus-internals
- confirm
created_at
andexpires_at
are 1 month apart - quit Brave
- time-travel (advance system clock) to 4 days before
expires_at
for VPN inbrave://skus-internals
- relaunch Brave
- wait a couple minutes
- check
brave://skus-internals
Product shows as ActiveCredentials
in brave://skus-internals
with a valid, extended expires_at
value; should be 1 month past the initial expires_at
- purchase Leo
- click cancel plan, cancel subscription
Product shows as Canceled
in brave://skus-internals
, with an appropriate expires_at
value (still valid until then)