-
Notifications
You must be signed in to change notification settings - Fork 12
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-sdktoEnabled - Set
brave://flags/#brave-vpntoEnabled - Shut down Brave
- Relaunch using the same commandline args
- Load
account.bravesoftware.com. - Enter basic-authentication credentials and click
Sign inon the modal dialog - Enter a new test/throwaway email address, e.g.
brave@mailinator.com - Click on the
Get login linkbutton. - Check for a confirmation email (for e.g. but use your own:
brave@mailinator.com, can be used withhttps://www.mailinator.com/v4/public/inboxes.jsp?to=brave) and click either the embeddedConfirm your accessbutton or the link. - Confirm the tab opens on
https://account.bravesoftware.com/account. - Click on the
Browse plansbutton - 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
VPNbutton 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 waypage, which has atry againlink. - Click on either the
Log in to Bravebutton 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
Accountpane, click on theEdit paymentlink 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
Accountpane, click on theEdit paymentlink 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/accountwhere your plan subscription is valid.
- On macOS, open
System Preferences...->Network - Select the
BraveVPNconfig - Click on the
-to remove it - Click
Apply - Reconnect to
VPNvia any method - Confirm you are prompted to
AddtheBraveVPNconfig
- Load
account.bravesoftware.com/account/ - Click on
Cancel planunderBrave VPN Subscription - Confirm you get a
Cancel subscriptionpage with pertinent info - Click the
Cancel subscriptionbutton - Click on
Return to accounton theYour plan has been canceled.page - Confirm
Your subscription has been canceled. Access until [date is 1 month from now].message - Confirm
Renew planandRefresh Brave VPNlinks 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 paymentandCancel planlinks onhttps://account.bravesoftware.com/account/
- install latest
beta - launch Brave
- open
brave://flags - set/ensure
Enable experimental SKU SDKisEnabled - set/ensure
Enable experimental Brave VPNisEnabled - click on
Relaunch - confirm the
VPNbutton 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.
something-unique-here@mailinator.com - click on the
Get login linkbutton - 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 buttonor 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
VPNbutton in the toolbar - toggle from
DisconnectedtoConnecting... - click
Allowto accept the VPN configuration (macOS only) - click again on the
VPNbutton - toggle from
DisconnectedtoConnecting... - confirm via various methods that you are truly VPN-connected 🎉
- install latest
beta - launch Brave
- open
brave://flags - set/ensure
Enable experimental SKU SDKisEnabled - set/ensure
Enable experimental Brave VPNisEnabled - click on
Relaunch - confirm the
VPNbutton 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 linkbutton - check for a confirmation email and click either the blurple
Log in to Bravebutton or the link below it - confirm you land on
https://account.bravesoftware.com/account/ - click on the
Refresh Brave VPNbutton - confirm you see
YOU HAVE ACTIVE CREDENTIALS LOADED!messaging - click on the
VPNbutton on the toolbar - toggle
Brave Firewall & VPNfromDisconnectedtoConnected - click on the
Allowbutton when prompted by macOS or Windows to add theBrave Browser BetaVPN configuration - confirm you see all visible
Connectedindicators and states:-
greenVPNstatus indicator in theVPN` button, main toolbar - OS-appropriate system-level network config added and active
- clicking on
"hamburger"menu ->Brave VPN->VPNshould showConnectedtoggle 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 versiona bunch of times - swipe down and tap on
Developer options - tap
QA Preferences - enter the password (found in 1PWD)
- tap to toggle
Brave VPNtoOn - 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 VPNto toggle it toOn - Tap
Relaunch Now - Load
account.bravesoftware.com - Log in with the same email address you used from the
desktop - sign-uptestcase - Tap on the
Refresh Brave VPNbutton - Confirm you see
You have active credentials loaded! - Tap on the 3-dots menu
- Tap on
Brave VPN - Tap
Install VPN Profile - Tap
OKat theConnection requestdialog - Confirm you see a white/green
VPN is enabled!message (flashes quickly) - Confirm you're connected to
Brave VPNviawhatismyipaddress.comorspeed.cloudflare.comor 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-uptestcase - Tap on the
Refresh Brave VPNbutton - Confirm you see
You have active credentials loaded! - Tap on the 3-dots menu
- Tap
Settings - Tap on
Brave Firewall & VPNto toggle it fromDisabledtoEnabled - When prompted, click on
Allow - Authenticate to iOS
- After the config is added, tap
Enabledto set it back toOn - Confirm you're connected to
Brave VPNviawhatismyipaddress.comorspeed.cloudflare.com, or similar
TBD
TBD