[x] Shield changes in PT are propagating to regular tabs.(#15191)
Installer
[x] Check that installer is close to the size of last release.
[x] Check signature: If OS Run spctl --assess --verbose /Applications/Brave.app/ and make sure it returns accepted. If Windows right click on the installer exe and go to Properties, go to the Digital Signatures tab and double click on the signature. Make sure it says "The digital signature is OK" in the popup window.
[x] Check Brave, muon, and libchromiumcontent version in about:brave and make sure it is EXACTLY as expected.
Last changeset test
[x] Test what is covered by the last changeset (you can find this by clicking on the SHA in about:brave)
Data
[x] Make sure that data from the last version appears in the new version OK
[x] With data from the last version, test that
[x] cookies are preserved
[x] pinned tabs can be opened
[x] pinned tabs can be unpinned
[x] unpinned tabs can be re-pinned
[x] opened tabs can be reloaded
[x] bookmarks on the bookmark toolbar can be opened
[x] bookmarks in the bookmark folder toolbar can be opened
About pages
[x] Test that about:adblock loads
[x] Test that about:autofill loads
[x] Test that about:bookmarks loads bookmarks
[x] Test that about:downloads loads downloads
[x] Test that about:extensions loads
[x] Test that about:history loads history
[x] Test that about:passwords loads
[x] Test that about:styles loads
[x] Test that about:welcome loads
[x] Test that about:preferences changing a preference takes effect right away
[x] Test that about:preferences language change takes effect on re-start
Bookmarks
[x] Test that creating a bookmark on the bookmarks toolbar with the star button works
[x] Test that creating a bookmark on the bookmarks toolbar by dragging the un/lock icon works
[x] Test that creating a bookmark folder on the bookmarks toolbar works
[x] Test that moving a bookmark into a folder by drag and drop on the bookmarks folder works
[x] Test that clicking a bookmark in the toolbar loads the bookmark.
[x] Test that clicking a bookmark in a bookmark toolbar folder loads the bookmark.
[x] Test that a bookmark on the bookmark toolbar can be removed via context menu
[x] Test that a bookmark in a bookmark folder on the bookmark toolbar can be removed via context menu
[x] Test that a bookmark subfolder can be removed via context menu
[x] Test that a bookmark folder on the bookmark toolbar can be removed via context menu
Context menus
[x] Make sure context menu items in the URL bar work
[x] Make sure context menu items on content work with no selected text
[x] Make sure context menu items on content work with selected text
[x] Make sure context menu items on content work inside an editable control on about:styles (input, textarea, or contenteditable)
Find on page
[x] Ensure search box is shown with shortcut
[x] Test successful find
[x] Test forward and backward find navigation
[x] Test failed find shows 0 results
[x] Test match case find
Keyboard Shortcuts
[x] Open a new window: Command + N (macOS) || Ctrl + N (Win/Linux)
[x] Open a new tab: Command + T (macOS) || Ctrl + T (Win/Linux)
[x] Open a new private tab: Command + Shift + N (macOS) || Ctrl + Shift + N (Win/Linux)
[x] Open a new Tor private tab: Command + Option + N (macOS) || Ctrl + Alt + N (Win/Linux)
[x] Reopen the latest closed tab: Command + Shift + t (macOS) || Ctrl + Shift + t (Win/Linux)
[x] Reopen the latest closed window: Command + Shift + Option + T (macOS) || Ctrl + Shift + Alt + T (Win/Linux)
[x] Jump to the next tab: Command + Option + -> (macOS) || Ctrl + PgDn (Win/Linux)
[x] Jump to the previous tab: Command + Option + <- (macOS) || Ctrl + PgUp (Win/Linux)
[x] Jump to the next tab: Ctrl + Tab (macOS/Win/Linux)
[x] Jump to the previous tab: Ctrl + Shift + Tab (macOS/Win/Linux)
[x] Test that tabs are draggable to alternate tabset
[x] Test that tabs can be teared off into a new window
[x] Test that you are able to reattach a tab that is teared off into a new window
[x] Test that tab pages can be closed
[x] Test that tab pages can be muted
[x] Test that tabs can be cloned
[x] Test that tab discarding works as expected and doesn't cause crashes/unexpected behaviour
[x] using BRAVE_ENABLE_DEBUG_MENU=1, disable tab preview via about:preferences#tabs, select Allow manual tab discarding using the Debug menu and manually discard a tab
Downloads
[x] Test downloading a file works and that all actions on the download item works
Fullscreen
[x] Test that entering full screen window works View -> Toggle Full Screen. And exit back (Not Esc)
[x] Test that entering HTML5 full screen works. And Esc to go back. (youtube.com)
Zoom
[x] Test zoom in / out shortcut works
[x] Test hamburger menu zooms
[x] Test zoom saved when you close the browser and restore on a single site
[x] Test zoom saved when you navigate within a single origin site
[x] Test that navigating to a different origin resets the zoom
Printing
[x] Test that you can print a PDF
Extensions/Plugins tests
[x] Enable each extension one by one under about:preferences#extensions and ensure that the browser doesn't become unresponsive
[x] Enable 1Password and ensure that the basic functionality is working
[x] Enable LastPass and ensure that the basic functionality is working
[x] Enable Dashlane and ensure that the basic functionality is working
[x] Enable bitwarden and ensure that the basic functionality is working
Widevine
[x] Test that you can log into Netflix and start a show
[x] Visit https://brianbondy.com/ and then turn on script blocking, nothing should load. Allow it from the script blocking UI in the URL bar and it should work
[x] Test that about:preferences default Bravery settings take effect on pages with no site settings
[x] Test that 3rd party storage results are blank at https://jsfiddle.net/7ke9r14a/9/ when 3rd party cookies are blocked and not blank when 3rd party cookies are unblocked
Fingerprint Tests
[x] Visit https://jsfiddle.net/bkf50r8v/13/, ensure 3 blocked items are listed in shields. Result window should show got canvas fingerprint 0 and got webgl fingerprint 00
[x] Go to https://brianbondy.com/ and click on the twitter icon on the top right. Test that context menus work in the new twitter tab
[x] Load twitter and click on a tweet so the popup div shows. Click to dismiss and repeat with another div. Make sure it shows
[x] Go to https://www.bennish.net/web-notifications.html and test that clicking on 'Show' pops up a notification asking for permission. Make sure that clicking 'Deny' leads to no notifications being shown
[x] Open about:styles and type some misspellings on a textbox, make sure they are underlined.
[x] Make sure that right clicking on a word with suggestions gives a suggestion and that clicking on the suggestion replaces the text
[x] Make sure that Command + Click (Control + Click on Windows, Control + Click on Ubuntu) on a link opens a new tab but does NOT switch to it. Click on it and make sure it is already loaded
[x] Open an email on http://mail.google.com/ or inbox.google.com and click on a link. Make sure it works
[x] Visit https://check.torproject.org in a Tor private tab, ensure its shows success message for using a Tor exit node
[x] Open a Tor private tab and toggle Tor switch , visit https://check.torproject.org, ensure it shows failure message for not using Tor exit node
[x] Open a normal tab and serach Check Tor, open the https://check.torproject.org link in a Tor private tab, ensure tab uses Tor exit node
[x] Visit https://check.torproject.org in a Tor private tab, note down exit node IP address, Click New circuit for this site in shields, ensure the exit node IP address changes after page is reloaded
[x] Verify Flash doesn't work on Tor private tabs even if it is enabled in about:preferences#plugins
[x] Verify Torrent viewer doesn't load in a Tor private tab and warns when trying to load a torrent/magnet link in a Tor private tab
[x] Verify Google Widevine doesn't load in Tor private tabs and doesn't prompt to install/run Google Windevine
[x] Ensure you are able to download a file in Tor private tab. Verify all Download/Cancel, Download/Retry and Download works in Tor private tab
[x] Disconnect network and open a Tor tab, should show modal to retry connection or disconnect Tor
[x] Visit https://bing.com in a Tor tab, ensure site favicon is loaded over Tor
Ledger
[x] Verify wallet is auto created after enabling payments
[x] Verify monthly budget and account balance shows correct BAT and USD value
[x] Click on add funds and click on each currency and verify it shows wallet address and QR Code
[x] Scan the QR code generated by Brave and ensure that the address being displayed after scanning matches the address within Brave
[x] Verify that Brave BAT wallet address can be copied
[x] Verify adding funds via any of the currencies flows into BAT Wallet after specified amount of time
[x] Verify adding funds to an existing wallet with amount, adjusts the BAT value appropriately
[x] Change min visit and min time in advance setting and verify if the publisher list gets updated based on new setting
[x] Visit nytimes.com for a few seconds and make sure it shows up in the Payments table
[x] Check that disabling payments and enabling them again does not lose state
[x] Generate 500 ledger table entries using npm run add-simulated-synopsis-visits 500
[x] ensure that disabling/enabling Brave Payments several times doesn't cause any issues
[x] visit about:preferences and switch through all the available preference pages including Payments and ensure they're loading without issues
[x] ensure that loading/viewing about:preferences#payments doesn't cause the CPU to reach 100% of usage and cause performance issues
[x] ensure that both Minimum page time & Minimum visits work correctly with the large list of ledger entries
[x] ensure that you can sort the ledger table using Site, Include, Views, Time Spent and %
[x] Upgrade from older version
[x] Verify the wallet isn't corrupted upon upgrade (balance is retained and wallet backup code isn't corrupted)
[x] Verify publishers list is not lost after upgrade
Ledger Media (To be verified on YouTube and Twitch)
[x] Visit any YouTube/Twitch video in a normal/session tab and ensure the video publisher name is listed in ledger table
[x] Visit any YouTube/Twitch video in a private tab and ensure the video publisher name is not listed in ledger table
[x] Visit any live YouTube/Twitch video and ensure the time spent is shown under ledger table
[x] Visit any embeded YouTube/Twitch video and ensure the video publisher name is listed in ledger table
[x] Ensure total time spent is correctly calculated for each publisher video
[x] Ensure total time spent is correctly calculated when switching to YouTube/Twitch video from an embeded video
[x] Ensure YouTube/Twitch publishers are not listed when Allow contributions to video is disabled in adavanced settings
[x] Ensure existing YouTube/Twitch publishers are not lost when Allow contributions to video is disabled in adavanced settings
[x] Ensure YouTube/Twitch publishers is listed but not included when auto-include is disabled
[x] Update Advanced settings to different time/visit value and ensure YouTube/Twitch videos are added to ledger table once criteria is met
[x] Perform a contribution while YouTube/Twitch channels are included on the ledger. Ensure the channels are listed on the contribution statement
[x] Verify that you are able to delete YouTube/Twitch publishers from ledger table
[x] Verify that you are able to re-add YouTube/Twitch publishers to ledger table
[x] Verify if you minimize a Twitch video (Stream/VOD) and navigate around the site, the video is counted in ledger
Sync
[x] Verify you are able to sync two devices using the secret code
[x] Visit a site on device 1 and change shield setting, ensure that the saved site preference is synced to device 2
[x] Enable Browsing history sync on device 1, ensure the history is shown on device 2
[ ] Clear browsing history on device 1, ensure the history is sync back on device 1 from device 2
[x] Import/Add bookmarks on device 1, ensure it is synced on device 2
[x] Ensure imported bookmark folder structure is maintained on device 2
[x] Ensure bookmark favicons are shown after sync
Session storage
Do not forget to make a backup of your entire ~/Library/Application\ Support/Brave folder.
[x] Temporarily move away your ~/Library/Application\ Support/Brave/session-store-1 and test that clean session storage works. (%appdata%\Brave in Windows, ./config/brave in Ubuntu)
[x] Test that windows and tabs restore when closed, including active tab.
[x] Ensure that the tabs in the above session are being lazy loaded when the session is restored
[x] Ensure that hovering over lazy loaded tabs correctly loads the tab without any issues
[x] Move away your entire ~/Library/Application\ Support/Brave folder (%appdata%\Brave in Windows, ./config/brave in Ubuntu)
Cookie and Cache
[x] Make a backup of your profile, turn on all clearing in preferences and shut down. Make sure when you bring the browser back up everything is gone that is specified.
[x] Go to http://samy.pl/evercookie/ and set an evercookie. Check that going to prefs, clearing site data and cache, and going back to the Evercookie site does not remember the old evercookie value.
Update tests
[x] Test that updating using BRAVE_UPDATE_VERSION=0.8.3 env variable works correctly.
[x] Test that using BRAVE_ENABLE_PREVIEW_UPDATES=TRUE env variable works and prompts for preview build updates.
Per release specialty tests
Installer
spctl --assess --verbose /Applications/Brave.app/
and make sure it returnsaccepted
. If Windows right click on the installer exe and go to Properties, go to the Digital Signatures tab and double click on the signature. Make sure it says "The digital signature is OK" in the popup window.about:brave
and make sure it is EXACTLY as expected.Last changeset test
Data
About pages
Bookmarks
Context menus
about:styles
(input, textarea, or contenteditable)Find on page
Keyboard Shortcuts
Command
+N
(macOS) ||Ctrl
+N
(Win/Linux)Command
+T
(macOS) ||Ctrl
+T
(Win/Linux)Command
+Shift
+N
(macOS) ||Ctrl
+Shift
+N
(Win/Linux)Command
+Option
+N
(macOS) ||Ctrl
+Alt
+N
(Win/Linux)Command
+Shift
+t
(macOS) ||Ctrl
+Shift
+t
(Win/Linux)Command
+Shift
+Option
+T
(macOS) ||Ctrl
+Shift
+Alt
+T
(Win/Linux)Command
+Option
+->
(macOS) ||Ctrl
+PgDn
(Win/Linux)Command
+Option
+<-
(macOS) ||Ctrl
+PgUp
(Win/Linux)Ctrl
+Tab
(macOS/Win/Linux)Ctrl
+Shift
+Tab
(macOS/Win/Linux)Command
+,
(macOS) ||Ctrl
+,
(Win/Linux)Command
+L
(macOS) ||Ctrl
+L
(Win/Linux)Command
+R
(macOS) ||Ctrl
+R
(Win/Linux)Command
+A
(macOS) ||Ctrl
+A
(Win/Linux)Command
+C
(macOS) ||Ctrl
+C
(Win/Linux)Command
+V
(macOS) ||Ctrl
+V
(Win/Linux)Command
+M
(macOS) ||Ctrl
+M
(Win/Linux)Command
+Q
(macOS) ||Ctrl
+Q
(Win/Linux)Tabs, Pinning and Tear off tabs
BRAVE_ENABLE_DEBUG_MENU=1
, disable tab preview viaabout:preferences#tabs
, selectAllow manual tab discarding
using theDebug
menu and manually discard a tabDownloads
Fullscreen
Zoom
Printing
Extensions/Plugins tests
about:preferences#extensions
and ensure that the browser doesn't become unresponsiveWidevine
Flash tests
Autofill tests
Next
button on https://www.paypal.com/signin doesn't crash the browserGeolocation
Crash Reporting
chrome://crash
causes the new tab to crashchrome://crashes
lists all the crashes and includes both Crash Report ID & Local Crash IDPerformance test
Each start should take less than 7 seconds
Bravery settings
Fingerprint Tests
got canvas fingerprint 0
andgot webgl fingerprint 00
Block all fingerprinting protection
is onBlock all fingerprinting protection
is onContent tests
about:passwords
. Then reload https://trac.torproject.org/projects/tor/login and make sure the saved credentials aren't autofilled instead shows saved id as a dropdown under the login fieldabout:styles
and type some misspellings on a textbox, make sure they are underlined.Display Image
button. Follow the steps mentioned on the page to verify it works correctlyTor Private Tabs
Check Tor
, open the https://check.torproject.org link in a Tor private tab, ensure tab uses Tor exit nodeNew circuit for this site
in shields, ensure the exit node IP address changes after page is reloadedabout:preferences#plugins
Ledger
add funds
and click on each currency and verify it shows wallet address and QR Codenpm run add-simulated-synopsis-visits 500
about:preferences
and switch through all the available preference pages including Payments and ensure they're loading without issuesabout:preferences#payments
doesn't cause the CPU to reach 100% of usage and cause performance issuesMinimum page time
&Minimum visits
work correctly with the large list of ledger entriesSite
,Include
,Views
,Time Spent
and%
Ledger Media (To be verified on YouTube and Twitch)
Allow contributions to video
is disabled in adavanced settingsAllow contributions to video
is disabled in adavanced settingsauto-include
is disabledSync
Session storage
Do not forget to make a backup of your entire
~/Library/Application\ Support/Brave
folder.~/Library/Application\ Support/Brave/session-store-1
and test that clean session storage works. (%appdata%\Brave
in Windows,./config/brave
in Ubuntu)~/Library/Application\ Support/Brave
folder (%appdata%\Brave
in Windows,./config/brave
in Ubuntu)Cookie and Cache
Update tests
BRAVE_UPDATE_VERSION=0.8.3
env variable works correctly.BRAVE_ENABLE_PREVIEW_UPDATES=TRUE
env variable works and prompts for preview build updates.