Multi‐device Refresh (MDR) Test Plan (desktop) - brave/qa-resources GitHub Wiki
-
Most testing will be against the latest available
betabuild onWindows 10-x64/Windows 11-x64andmacOS-x64 - We'll also test
v1.61.109, 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 Premiumonly, we'll need to run using--env-leo=staging --env-ai-chat.bsg=dev --env-ai-chat-premium.bsg=dev
- 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 Bravelink in the resulting email - click on
Browse plans - click on
Start free trialbutton - complete Stripe checkout
- confirm
You have active credentials loaded!green banner and messaging
- 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 Bravelink in the resulting email - click on
Browse plans - click on
Start free trialbutton on theBrave VPNsection - complete Stripe checkout
- confirm
You have active credentials loaded!green banner and messaging - click on
Plans - click on
Start free trialon theLeo Premiumsection - complete Stripe checkout
- install [appropriate Brave version]
- load
account.bravesoftware.com - enter basic auth username/password
- enter @mailinator.com test address
- click
Get login link - click on the
Log in to Bravelink in the resulting email - click on
Browse plans - click on
Start free trialbutton for theBrave Talk Premiumproduct - complete Stripe checkout
- confirm
Brave Talk Premiumpage, withStart Premium callbutton
- install [appropriate Brave version]
- load
account.bravesoftware.com - enter basic auth username/password
- enter @mailinator.com test address
- click
Get login link - click on the
Log in to Bravelink in the resulting email - click on
Browse plans - click on
Buy nowbutton for theBrave Search Premiumproduct - complete Stripe checkout
Product shows as Paid in brave://skus-internals, with an appropriate expires_at value 1 month from the original created_at date
- 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 Bravelink in the resulting email - click on
Browse plans - click on
Start free trialbutton on theBrave VPNsection - complete Stripe checkout
- confirm
You have active credentials loaded!green banner and messaging - click on
Plans - click on
Start free trialon theLeo Premiumsection - complete Stripe checkout
- click on
Plans - click on
Start free trialon theBrave Talk Premiumsection - complete Stripe checkout
- click on
Plans - click on
Buy nowon theBrave Search Premiumsection
Each purchased product shows as ActiveCredentials in brave://skus-internals with a valid, extended expires_at value; should be 1 month past the initial expires_at
- install [appropriate Brave version]
- launch Brave on
device A - load
account.bravesoftware.com - enter basic auth username/password
- enter @mailinator.com test address
- click
Get login link - click on the
Log in to Bravelink in the resulting email - click on
Browse plans - click on
Start free trialforBrave VPN - complete Stripe checkout
- confirm working
Brave VPN - quit Brave
- switch to a new device,
device B - launch Brave
- log in to
account.bravesoftware.comusing the same @mailinator.com address you used fordevice A - click on
Refresh Leo
The credentials on device B should be valid (ActiveCredentials) and mirror those of device A (same expires_at)
- run
Refresh (redeem) credentialstestcase - repeat for 9 devices (totaling 10)
- confirm no errors linking
- attempt redeeming
device Acredentials 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 Bravelink in the resulting email - click on
Browse plans - click on
Start free trialforBrave VPN - complete Stripe checkout
- open
brave://skus-internals - confirm
created_atandexpires_atare 1 month apart - quit Brave
- time-travel (advance system clock) to 4 days before
expires_atfor 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
- 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 Bravelink in the resulting email - click on
Browse plans - click on
Start free trialbutton - complete Stripe checkout
- confirm
You have active credentials loaded!green banner and messaging* cancel VPN - click on
Cancel plan - click on
Cancel subscription - confirm
Your plan has been canceled.message
Product shows as Paid in brave://skus-internals, with an appropriate expires_at value 1 month from the original created_at date
- 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 Bravelink in the resulting email - click on
Browse plans - click on
Start free trialbutton - complete Stripe checkout
- confirm
You have active credentials loaded!green banner and messaging* cancel VPN - click on
Cancel plan - click on
Cancel subscription - confirm
Your plan has been canceled.message - click on
Return to account - confirm
Your subscription has been canceled. Access until {1 month from now}. - click on
Renew plan
Product shows as ActiveCredentials in brave://skus-internals with a valid, extended expires_at value