Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Manual test run on OS X for 0.23.x w/ Chromium 69 (BETA Channel) #15135

Closed
srirambv opened this issue Sep 1, 2018 · 0 comments
Closed

Manual test run on OS X for 0.23.x w/ Chromium 69 (BETA Channel) #15135

srirambv opened this issue Sep 1, 2018 · 0 comments

Comments

@srirambv
Copy link
Collaborator

srirambv commented Sep 1, 2018

Per release specialty tests

  • Scrolling makes back button grow on MacBook Pro.(#14785)
  • Back button getting large when scrolling up when already at top of screen.(#14829)
  • Disabling nav scroll when content is horizontally scrollable..(#14871)
  • Update to Muon 8.1.0.(#15101)
  • Update to Chromium 69.0.3497.57.(#15102)
  • Unable to print .(#15103)
  • Cr69 crashes.(#15104)
  • Save password notification not shown for default password manager.(#15106)
  • Geolocation not identified .(#15107)
  • Look up from context menu does not work.(#15108)
  • After successful payment contribution, click on Brave_Payments history file is causing browser crash.(#15112)
  • Two finger swipe for backwards/forwards does not work in C69.(#15114)
  • Camera/Microphone access request notification not shown on CR69.(#15121)
  • Keyboard shortcut for previous tab ctrl+shift+tab not working on cr69.(#15122)
  • Notifications not shown on Web Push Book.(#15124)

Installer

  • Check that installer is close to the size of last release.
  • 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.
  • Check Brave, muon, and libchromiumcontent version in about:brave and make sure it is EXACTLY as expected.

Last changeset test

  • Test what is covered by the last changeset (you can find this by clicking on the SHA in about:brave)

Data

  • Make sure that data from the last version appears in the new version OK
  • With data from the last version, test that
    • cookies are preserved
    • pinned tabs can be opened
    • pinned tabs can be unpinned
    • unpinned tabs can be re-pinned
    • opened tabs can be reloaded
    • bookmarks on the bookmark toolbar can be opened
    • bookmarks in the bookmark folder toolbar can be opened

About pages

  • Test that about:adblock loads
  • Test that about:autofill loads
  • Test that about:bookmarks loads bookmarks
  • Test that about:downloads loads downloads
  • Test that about:extensions loads
  • Test that about:history loads history
  • Test that about:passwords loads
  • Test that about:styles loads
  • Test that about:welcome loads
  • Test that about:preferences changing a preference takes effect right away
  • Test that about:preferences language change takes effect on re-start

Bookmarks

  • Test that creating a bookmark on the bookmarks toolbar with the star button works
  • Test that creating a bookmark on the bookmarks toolbar by dragging the un/lock icon works
  • Test that creating a bookmark folder on the bookmarks toolbar works
  • Test that moving a bookmark into a folder by drag and drop on the bookmarks folder works
  • Test that clicking a bookmark in the toolbar loads the bookmark.
  • Test that clicking a bookmark in a bookmark toolbar folder loads the bookmark.
  • Test that a bookmark on the bookmark toolbar can be removed via context menu
  • Test that a bookmark in a bookmark folder on the bookmark toolbar can be removed via context menu
  • Test that a bookmark subfolder can be removed via context menu
  • Test that a bookmark folder on the bookmark toolbar can be removed via context menu

Context menus

  • Make sure context menu items in the URL bar work
  • Make sure context menu items on content work with no selected text
  • Make sure context menu items on content work with selected text
  • Make sure context menu items on content work inside an editable control on about:styles (input, textarea, or contenteditable)

Find on page

  • Ensure search box is shown with shortcut
  • Test successful find
  • Test forward and backward find navigation
  • Test failed find shows 0 results
  • Test match case find

Keyboard Shortcuts

  • Open a new window: Command + N (macOS) || Ctrl + N (Win/Linux)
  • Open a new tab: Command + T (macOS) || Ctrl + T (Win/Linux)
  • Open a new private tab: Command + Shift + N (macOS) || Ctrl + Shift + N (Win/Linux)
  • Open a new Tor private tab: Command + Option + N (macOS) || Ctrl + Alt + N (Win/Linux)
  • Reopen the latest closed tab: Command + Shift + t (macOS) || Ctrl + Shift + t (Win/Linux)
  • Reopen the latest closed window: Command + Shift + Option + T (macOS) || Ctrl + Shift + Alt + T (Win/Linux)
  • Jump to the next tab: Command + Option + -> (macOS) || Ctrl + PgDn (Win/Linux)
  • Jump to the previous tab: Command + Option + <- (macOS) || Ctrl + PgUp (Win/Linux)
  • Jump to the next tab: Ctrl + Tab (macOS/Win/Linux)
  • Jump to the previous tab: Ctrl + Shift + Tab (macOS/Win/Linux)
  • Open Brave preferences: Command + , (macOS) || Ctrl + , (Win/Linux)
  • Jump into the URL bar: Command + L (macOS) || Ctrl + L (Win/Linux)
  • Reload page: Command + R (macOS) || Ctrl + R (Win/Linux)
  • Select All: Command + A (macOS) || Ctrl + A (Win/Linux)
  • Copying text: Command + C (macOS) || Ctrl + C (Win/Linux)
  • Pasting text: Command + V (macOS) || Ctrl + V (Win/Linux)
  • Minimize Brave: Command + M (macOS) || Ctrl + M (Win/Linux)
  • Quit Brave: Command + Q (macOS) || Ctrl + Q (Win/Linux)

Tabs, Pinning and Tear off tabs

  • Test that tabs are pinnable
  • Test that tabs are unpinnable
  • Test that tabs are draggable to same tabset
  • Test that tabs are draggable to alternate tabset
  • Test that tabs can be teared off into a new window
  • Test that you are able to reattach a tab that is teared off into a new window
  • Test that tab pages can be closed
  • Test that tab pages can be muted
  • Test that tabs can be cloned
  • Test that tab discarding works as expected and doesn't cause crashes/unexpected behaviour
    • 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

  • Test downloading a file works and that all actions on the download item works

Fullscreen

  • Test that entering full screen window works View -> Toggle Full Screen. And exit back (Not Esc)
  • Test that entering HTML5 full screen works. And Esc to go back. (youtube.com)

Zoom

  • Test zoom in / out shortcut works
  • Test hamburger menu zooms
  • Test zoom saved when you close the browser and restore on a single site
  • Test zoom saved when you navigate within a single origin site
  • Test that navigating to a different origin resets the zoom

Printing

  • Test that you can print a PDF

Extensions/Plugins tests

  • Enable each extension one by one under about:preferences#extensions and ensure that the browser doesn't become unresponsive
  • Enable 1Password and ensure that the basic functionality is working
  • Enable LastPass and ensure that the basic functionality is working
  • Enable Dashlane and ensure that the basic functionality is working
  • Enable bitwarden and ensure that the basic functionality is working

Widevine

  • Test that you can log into Netflix and start a show

Flash tests

Autofill tests

Geolocation

Crash Reporting

  • Check that loading chrome://crash causes the new tab to crash
  • Check that chrome://crashes lists all the crashes and includes both Crash Report ID & Local Crash ID
  • Verify the crash ID matches the report on brave stats

Performance test

Each start should take less than 7 seconds

  • Enable only sync (new sync group).
  • Enable only sync with a large sync group (many entries).
  • Enable only payments.
  • Only import a large set of bookmarks.
  • Combine sync, payments, and a large set of bookmarks.

Bravery settings

  • Check that HTTPS Everywhere works by loading http://https-everywhere.badssl.com/
  • Turning HTTPS Everywhere off and shields off both disable the redirect to https://https-everywhere.badssl.com/
  • Check that ad replacement works on http://slashdot.org
  • Check that toggling to blocking and allow ads works as expected
  • Test that clicking through a cert error in https://badssl.com/ works
  • Visit several popular websites and ensure that the certificate viewer is working correctly (macOS/Windows only)
    • Ignore the certificate warning under https://expired.badssl.com and ensure that the certificate viewer is working correctly once the page loads
  • Turning Safe Browsing off and shields off both disable safe browsing for https://www.raisegame.com/
  • 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
  • Test that about:preferences default Bravery settings take effect on pages with no site settings
  • 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

Content tests

Tor Private Tabs

  • Visit https://check.torproject.org in a Tor private tab, ensure its shows success message for using a Tor exit node
  • 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
  • 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
  • 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
  • Visit https://protonirockerxow.onion/ in a Tor private tab, ensure login page is shown
  • Open Tor private tab and toggle Tor switch, visit https://protonirockerxow.onion/ ensure website doesn't load
  • Visit https://browserleaks.com/geo in a Tor private tab, ensure location isn't shown
  • Visit https://diafygi.github.io/webrtc-ips/ in a Tor private tab with block all fingerprinting, ensure WebRTC is blocked and no IP is shown
  • Visit https://diafygi.github.io/webrtc-ips/ in a Tor private tab, disable shields, ensure WebRTC is blocked and no IP is shown
  • Verify Flash doesn't work on Tor private tabs even if it is enabled in about:preferences#plugins
  • 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
  • Verify Google Widevine doesn't load in Tor private tabs and doesn't prompt to install/run Google Windevine
  • 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
  • Disconnect network and open a Tor tab, should show modal to retry connection or disconnect Tor
  • Visit https://bing.com in a Tor tab, ensure site favicon is loaded over Tor

Ledger

  • Verify wallet is auto created after enabling payments
  • Verify monthly budget and account balance shows correct BAT and USD value
  • Click on add funds and click on each currency and verify it shows wallet address and QR Code
  • Scan the QR code generated by Brave and ensure that the address being displayed after scanning matches the address within Brave
  • Verify that Brave BAT wallet address can be copied
  • Verify adding funds via any of the currencies flows into BAT Wallet after specified amount of time
  • Verify adding funds to an existing wallet with amount, adjusts the BAT value appropriately
  • Change min visit and min time in advance setting and verify if the publisher list gets updated based on new setting
  • Visit nytimes.com for a few seconds and make sure it shows up in the Payments table
  • Check that disabling payments and enabling them again does not lose state
  • Generate 500 ledger table entries using npm run add-simulated-synopsis-visits 500
    • ensure that disabling/enabling Brave Payments several times doesn't cause any issues
    • visit about:preferences and switch through all the available preference pages including Payments and ensure they're loading without issues
    • ensure that loading/viewing about:preferences#payments doesn't cause the CPU to reach 100% of usage and cause performance issues
    • ensure that both Minimum page time & Minimum visits work correctly with the large list of ledger entries
    • ensure that you can sort the ledger table using Site, Include, Views, Time Spent and %
  • Upgrade from older version
    • Verify the wallet isn't corrupted upon upgrade (balance is retained and wallet backup code isn't corrupted)
    • Verify publishers list is not lost after upgrade

Ledger Media (To be verified on YouTube and Twitch)

  • Visit any YouTube/Twitch video in a normal/session tab and ensure the video publisher name is listed in ledger table
  • Visit any YouTube/Twitch video in a private tab and ensure the video publisher name is not listed in ledger table
  • Visit any live YouTube/Twitch video and ensure the time spent is shown under ledger table
  • Visit any embeded YouTube/Twitch video and ensure the video publisher name is listed in ledger table
  • Ensure total time spent is correctly calculated for each publisher video
  • Ensure total time spent is correctly calculated when switching to YouTube/Twitch video from an embeded video
  • Ensure YouTube/Twitch publishers are not listed when Allow contributions to video is disabled in adavanced settings
  • Ensure existing YouTube/Twitch publishers are not lost when Allow contributions to video is disabled in adavanced settings
  • Ensure YouTube/Twitch publishers is listed but not included when auto-include is disabled
  • Update Advanced settings to different time/visit value and ensure YouTube/Twitch videos are added to ledger table once criteria is met
  • Perform a contribution while YouTube/Twitch channels are included on the ledger. Ensure the channels are listed on the contribution statement
  • Verify that you are able to delete YouTube/Twitch publishers from ledger table
  • Verify that you are able to re-add YouTube/Twitch publishers to ledger table
  • Verify if you minimize a Twitch video (Stream/VOD) and navigate around the site, the video is counted in ledger

Sync

  • Verify you are able to sync two devices using the secret code
  • Visit a site on device 1 and change shield setting, ensure that the saved site preference is synced to device 2
  • 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
  • Import/Add bookmarks on device 1, ensure it is synced on device 2
  • Ensure imported bookmark folder structure is maintained on device 2
  • Ensure bookmark favicons are shown after sync

Session storage

Do not forget to make a backup of your entire ~/Library/Application\ Support/Brave folder.

  • 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)
  • Test that windows and tabs restore when closed, including active tab.
    • Ensure that the tabs in the above session are being lazy loaded when the session is restored
    • Ensure that hovering over lazy loaded tabs correctly loads the tab without any issues
  • Move away your entire ~/Library/Application\ Support/Brave folder (%appdata%\Brave in Windows, ./config/brave in Ubuntu)

Cookie and Cache

  • 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.
  • 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

  • Test that updating using BRAVE_UPDATE_VERSION=0.8.3 env variable works correctly.
  • Test that using BRAVE_ENABLE_PREVIEW_UPDATES=TRUE env variable works and prompts for preview build updates.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants