-
Notifications
You must be signed in to change notification settings - Fork 19
Premium VPN Tests
Stephen Donner edited this page Oct 12, 2022
·
36 revisions
You should run Brave using --vmodule="*/vpn/*"=2 --enable-logging=stderr --v=0
Cross-platform VPN launch
project board
- 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.bravesoftware.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.bravesoftware.com/account/?intent=recover&product_id=8297c863-bdd8-4ef4-b988-d9e461982c5a
, and then tohttps://account.bravesoftware.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.
- On the
Account
pane, click on theEdit payment
link underYour 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.
- On macOS, open
System Preferences...
->Network
- Select the
BraveVPN
config - Click on the
-
to remove it - Click
Apply
- Reconnect to
VPN
via any method - Confirm you are prompted to
Add
theBraveVPN
config
- Load
account.bravesoftware.com/account/
- Click on
Cancel plan
underBrave VPN Subscription
- Confirm you get a
Cancel subscription
page with pertinent info - Click the
Cancel subscription
button - Click on
Return to account
on theYour plan has been canceled.
page - Confirm
Your subscription has been canceled. Access until [date is 1 month from now].
message - Confirm
Renew plan
andRefresh Brave VPN
links are present
- 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...)
TBD
- Switch to your Android device
- Install the latest
nightly
- Launch Brave
- Tap through onboarding
- Tap the 3-dots menu
- Tap
Settings
->Developer options
->QA Preferences
- Input the QA code and tap
OK
- Tap on
Brave VPN
to toggle it toOn
- Tap
Relaunch Now
- Load
account.bravesoftware.com
- Log in with the same email address you used from the
desktop - sign-up
testcase - Tap on the
Refresh Brave VPN
button - Confirm you see
You have active credentials loaded!
- Tap on the 3-dots menu
- Tap on
Brave VPN
- Tap
Install VPN Profile
- Tap
OK
at theConnection request
dialog - Confirm you see a white/green
VPN is enabled!
message (flashes quickly) - Confirm you're connected to
Brave VPN
viawhatismyipaddress.com
orspeed.cloudflare.com
or similar
Outstanding issue:
- Switch to your iOS device
- Install the appropriate build
- Launch Brave
- Load
account.bravesoftware.com
- Log in with the same email address you used from the
desktop, sign-up
testcase - Tap on the
Refresh Brave VPN
button - Confirm you see
You have active credentials loaded!
- Tap on the 3-dots menu
- Tap
Settings
- Tap on
Brave Firewall & VPN
to toggle it fromDisabled
toEnabled
- When prompted, click on
Allow
- Authenticate to iOS
- After the config is added, tap
Enabled
to set it back toOn
- Confirm you're connected to
Brave VPN
viawhatismyipaddress.com
orspeed.cloudflare.com
, or similar
TBD
TBD