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 Release 2 (Release Channel) #14671

Closed
srirambv opened this issue Jul 6, 2018 · 9 comments
Closed

Manual test run on OS X for 0.23.x Release 2 (Release Channel) #14671

srirambv opened this issue Jul 6, 2018 · 9 comments

Comments

@srirambv
Copy link
Collaborator

srirambv commented Jul 6, 2018

Per release specialty tests

  • IndexedDB not working in web worker.(#12463)
  • Twitch streams don't play.(#14475)
  • Lazy load Tor instead of at startup.(#14617)
  • Can't access to riot.im website (#10685)

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 + P (macOS) || Ctrl + Shift + P (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

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

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

Fingerprint Tests

Content tests

  • 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
  • Load twitter and click on a tweet so the popup div shows. Click to dismiss and repeat with another div. Make sure it shows
  • 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
  • Go to https://trac.torproject.org/projects/tor/login and make sure that the password can be saved. Make sure the saved password shows up in 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 field
  • Open about:styles and type some misspellings on a textbox, make sure they are underlined.
  • Make sure that right clicking on a word with suggestions gives a suggestion and that clicking on the suggestion replaces the text
  • 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
  • Open an email on http://mail.google.com/ or inbox.google.com and click on a link. Make sure it works
  • Test that PDF is loaded over https at https://basicattentiontoken.org/BasicAttentionTokenWhitePaper-4.pdf
  • Test that PDF is loaded over http at http://www.pdf995.com/samples/pdf.pdf
  • Test that https://mixed-script.badssl.com/ shows up as grey not red (no mixed content scripts are run).
  • Test that hovering the cursor over a link changes the cursor into a pointer (hand)
  • Visit https://dlptest.com/ftp-test/ and ensure that basic authentication is working by clicking on ftp://ftp.dlptest.com/ and ensuring you're prompted for credentials
  • Test that WebSockets are working by ensuring http://slither.io/ runs once "Play" has been clicked.

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
  • 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.
  • 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.
@bsclifton
Copy link
Member

NOTE: Geolocation doesn't show the exactly location (which Chrome does). But it's fairly close. I didn't test on previous version, but I doubt this regressed.

@bsclifton
Copy link
Member

bsclifton commented Jul 6, 2018

NOTE: crash reports are not showing for me on stats.brave.com

@bsclifton
Copy link
Member

NOTE: closing tab pages seemed to be off by an index of 1. ex: closing tab page 1 closed tab page 2

@bsclifton
Copy link
Member

NOTE: we haven't done ad replacement; so the Slashdot test fails under Bravery settings.

@bsclifton
Copy link
Member

NOTE: when presented with the Show Deleted Sites UI, the YouTube channels are not readable:
screen shot 2018-07-06 at 5 12 15 pm

@bsclifton
Copy link
Member

NOTE: I did not test a contribution ☹️

@LaurenWags
Copy link
Member

@bsclifton I'm not able to reproduce what you were seeing on the Show Deleted Sites dialog (#14671 (comment)) - is that still occurring for you?

@bsclifton
Copy link
Member

@LaurenWags I checked again... most sites look OK. There are only a few which look like the above (might be a corruption on my side). I have several hundred items in my deleted list

@LaurenWags
Copy link
Member

LaurenWags commented Jul 9, 2018

Thanks @bsclifton! Makes sense, if they were deleted prior to us implementing the 'easy to read' fix, they will display that way, afaik we couldn't fix that. But going forward deleted sites should display in an easy to read way. Just wanted to make sure we didn't have a regression 😄

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

4 participants