-
Notifications
You must be signed in to change notification settings - Fork 19
Premium VPN Tests
Stephen Donner edited this page Oct 11, 2022
·
36 revisions
You should run Brave using --vmodule="*/vpn/*"=2 --enable-logging=stderr --v=0
- New profile, launch Brave using
--vmodule="*/vpn/*"=2 --enable-logging=stderr --v=0
- Open
brave://flags
- Set
brave://flags/#skus-sdk
toEnabled
- Set
brave://flags/#brave-vpn
toEnabled
- Shut down Brave
- Relaunch using the same commandline args
- Load
account.bravesoftware.com
. - Enter basic-authentication credentials and click
Sign in
on the modal dialog - Enter a new test/throwaway email address, e.g.
[email protected]
- Click on the
Get login link
button. - Check for a confirmation email (for e.g. but use your own:
[email protected]
, can be used withhttps://www.mailinator.com/v4/public/inboxes.jsp?to=brave
) and click either the embeddedConfirm your access
button or the link. - Confirm the tab opens on
https://account.brave.com/account
. - Click on the
Browse plans
button - Scroll down to
Brave VPN Subscription
- Click on
Buy now
- Confirm you are taken to a Stripe checkout page, similar to
https://checkout.stripe.com/pay/cs_test_b....
- Fill out valid test data for all fields, using
https://stripe.com/docs/testing#cards
. - Ensure the email address used here matches the one on the account page.
- Click
Subscribe
. - Confirm, after some processing time, it automatically redirects and loads
https://account.bravesoftware.com/account/?intent=provision&order_id=7d8c214...
. - Click on
Refresh Brave VPN
- Confirm there's a message saying
You have active credentials loaded!
- Click on the
VPN
button in the toolbar - Click on the toggle to
Connect
- Confirm you are connected to the VPN
- Load
account.bravesoftware.com
- Enter your Brave Premium-enabled email address and click the
Get Login link
. - Confirm you see
A login email is on the way
page, which has atry again
link. - Click on either the
Log in to Brave
button or link in the email. - Confirm you are redirected and logged in to a page like
https://account.brave.com/account/?intent=recover&product_id=8297c863-bdd8-4ef4-b988-d9e461982c5a
, and then tohttps://account.brave.com
.
- On the
Account
pane, click on theEdit payment
link underYour plan subscriptions
. - Confirm you are taken to a Stripe page.
- Enter invalid [expired, random, etc.] pieces of the credentials.
- Confirm Stripe catches errors and only proceeds when all pertinent information is correct.
### PREREQUISITE: run `desktop, log in`
- [ ] On the `Account` pane, click on the `Edit payment` link under `Your plan subscriptions`.
- [ ] Confirm you are taken to a Stripe page.
- [ ] Confirm you can add a new card
- [ ] Confirm once your new card is added, you can delete the old card.
- [ ] Click on `Return to Brave Software`
- [ ] Confirm you are taken to `account.bravesoftware.com/account` where your plan subscription is valid.
## Android -> iOS
## desktop -> Android
### PREREQUISITE: run `desktop, log in`
- [ ] Load `account.bravesoftware.com/account/`
- [ ] Click on `Cancel plan` under `Brave VPN Subscription`
- [ ] Confirm you get a `Cancel subscription` page with pertinent info
- [ ] Click the `Cancel subscription` button
- [ ] Click on `Return to account` on the `Your plan has been canceled.` page
- [ ] Confirm `Your subscription has been canceled. Access until [date is 1 month from now].` message
- [ ] Confirm `Renew plan` and `Refresh Brave VPN` links
- Ensure you're logged in to an account with a canceled Brave VPN subscription
- Click on
Renew plan
- Confirm the Stripe checkout page loads, with your email and payment details
- Click
Subscribe
- Confirm
Edit payment
andCancel plan
links onhttps://account.bravesoftware.com/account/
- install latest
beta
- launch Brave
- open
brave://flags
- set/ensure
Enable experimental SKU SDK
isEnabled
- set/ensure
Enable experimental Brave VPN
isEnabled
- click on
Relaunch
- confirm the
VPN
button appears in the toolbar - load
account.bravesoftware.com
- enter basic auth (in 1PW), click
Sign In
- enter a new test/throwaway email address, e.g.
[email protected]
- click on the
Get login link
button - Check for a confirmation email (for e.g. but use your own:
https://www.mailinator.com/v4/public/inboxes.jsp?to=something-unique-here
) and click either the embeddedConfirm your access button
or the link - confirm the tab opens
https://account.bravesoftware.com/account
- click on
Browse plans
- on
https://account.bravesoftware.com/plans/
, scroll down toBrave VPN Subscription
, and click onBuy now
- confirm you are taken to a Stripe checkout page, similar to
https://checkout.stripe.com/pay/cs_test_b...
- fill out valid test data for all fields, using
https://stripe.com/docs/testing#cards
- click
Subscribe
- click the
VPN
button in the toolbar - toggle from
Disconnected
toConnecting...
- click
Allow
to accept the VPN configuration (macOS only) - click again on the
VPN
button - toggle from
Disconnected
toConnecting...
- confirm via various methods that you are truly VPN-connected 🎉
- install latest
beta
- launch Brave
- open
brave://flags
- set/ensure
Enable experimental SKU SDK
isEnabled
- set/ensure
Enable experimental Brave VPN
isEnabled
- click on
Relaunch
- confirm the
VPN
button appears in the toolbar - load
account.bravesoftware.com
- enter basic auth (in 1PW), click
Sign In
- enter the same email address you purchased VPN with, on
machine 1
- click on the
Get login link
button - check for a confirmation email and click either the blurple
Log in to Brave
button or the link below it - confirm you land on
https://account.bravesoftware.com/account/
- click on the
Refresh Brave VPN
button - confirm you see
YOU HAVE ACTIVE CREDENTIALS LOADED!
messaging - click on the
VPN
button on the toolbar - toggle
Brave Firewall & VPN
fromDisconnected
toConnected
- click on the
Allow
button when prompted by macOS or Windows to add theBrave Browser Beta
VPN configuration - confirm you see all visible
Connected
indicators and states:-
green
VPNstatus indicator in the
VPN` button, main toolbar - OS-appropriate system-level network config added and active
- clicking on
"hamburger"
menu ->Brave VPN
->VPN
should showConnected
toggle state/status
-
- confirm via various methods[0] that you are truly VPN-connected 🎉
[0] wireshark, Charles Proxy, Fiddler (Everywhere) etc.
- install latest beta
- launch Brave
- tap through onboarding
- tap the 3-dots menu
- tap
Settings
- tap
About Brave
- tap
Application version
a bunch of times - swipe down and tap on
Developer options
- tap
QA Preferences
- enter the password (found in 1PWD)
- tap to toggle
Brave VPN
toOn
- tap
Relaunch Now
- tap on the 3-dots menu
- swipe down and tap on
Brave VPN
- tap on
Monthly subscription
(more coming soon...)
- install latest
beta
- launch Brave
- open
brave://flags
- set/ensure
Enable experimental SKU SDK
isEnabled
- set/ensure
Enable experimental Brave VPN
isEnabled
- click on
Relaunch
- confirm the
VPN
button appears in the toolbar - load
account.bravesoftware.com
- enter basic auth (in 1PW), click
Sign In
- enter a new test/throwaway email address, e.g.
[email protected]
- click on the
Get login link
button - Check for a confirmation email (for e.g. but use your own:
https://www.mailinator.com/v4/public/inboxes.jsp?to=something-unique-here
) and click either the embeddedConfirm your access button
or the link - confirm the tab opens
https://account.bravesoftware.com/account
- click on
Browse plans
- on
https://account.bravesoftware.com/plans/
, scroll down toBrave VPN Subscription
, and click onBuy now
- confirm you are taken to a Stripe checkout page, similar to
https://checkout.stripe.com/pay/cs_test_b...
- fill out valid test data for all fields, using
https://stripe.com/docs/testing#cards
- click
Subscribe
- click the
VPN
button in the toolbar - toggle from
Disconnected
toConnecting...
- click
Allow
to accept the VPN configuration (macOS only) - click again on the
VPN
button - toggle from
Disconnected
toConnecting...
- confirm via various methods that you are truly VPN-connected 🎉
- [linking desktop credentials to Android steps go here]
Outstanding issue: