Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual test run on OS X for 0.60.x - Beta #3369

Closed
kjozwiak opened this issue Feb 15, 2019 · 0 comments
Closed

Manual test run on OS X for 0.60.x - Beta #3369

kjozwiak opened this issue Feb 15, 2019 · 0 comments

Comments

@kjozwiak
Copy link
Member

kjozwiak commented Feb 15, 2019

Per release specialty tests

  • Newtab should use brave-ui.(#633)
  • New tab page should match fonts/typography from browser-laptop new tab page.(#1034)
  • Unable to Authenticate (2FA with google prompt) with Gmail.(#1356)
  • Run bat-native-ledger in a utility process.(#1708)
  • Shields disabled on private window.(#1897)
  • Refactor database.(#2163)
  • Brave Action Item sizing.(#2295)
  • Allow contributions to videos checkbox controls if you are able to tip a YouTube video.(#2463)
  • Update New Tab Page Images and refine design.(#2504)
  • Restore all from deleted publisher doesn't restore all - Follow up to 1441.(#2551)
  • Thank you banner shows generic favicon instead of custom publisher image.(#2668)
  • Publisher info is flashing.(#2684)
  • Publisher banner: incorrect letter used thank you banner.(#2718)
  • Disabling Rewards should also disable Ads.(#2888)
  • Ads box should respect rewards status.(#2922)
  • Browser crashes when ad notification clicked on.(#2970)
  • Ad notifications sometimes presented to user when Ads toggle is off.(#2972)
  • Change retry and error logic for one-time tips.(#3052)
  • Restrict custom-headers for partners.(#3301)
  • Clean up Default search engines settings.(#3316)
  • AC table not working if min visit is set to 1min.(#3320)
  • Private and Tor windows NTP UI doesn't fill completely .(#3322)
  • Incorrect verified youtube publisher favicons in auto contribute table.(#3324)
  • Upgrade from 72.0.3626.96 to 72.0.3626.109 on 0.60.x branch.(#3358)

Installer

  • Check that installer is close to the size of last release
  • Check signature: If OS Run spctl --assess --verbose /Applications/Brave-Browser-Beta.app/ and make sure it returns accepted. If Windows right click on the brave_installer-x64.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

Data(Upgrade from previous release)

  • Make sure that data from the last version appears in the new version OK
  • With data from the last version, verify that
    • bookmarks on the bookmark toolbar and bookmark folders can be opened
    • cookies are preserved
    • installed extensions are retained and work correctly
    • opened tabs can be reloaded
    • stored passwords are preserved
    • unpinned tabs can be pinned

About pages

  • Verify that chrome:// forwards to brave://
  • Verify brave://adblock loads adblock page
  • Verify brave://newtab loads a new tab
  • Verify brave://rewards loads Brave rewards page
  • Verify brave://settings loads Brave settings page
  • Verify brave://version correctly shows Brave version and Chromium version
  • Verify brave://welcome loads the welcome page

Import tests

  • Verify that you can import bookmarks, cookies, history, passwords and stats from muon
  • Verify that you can import bookmarks, cookies, history, passwords from Google Chrome
  • Verify that you can import bookmarks, cookies, history, passwords, autofill and search engines from Firefox
  • Verify that you can import bookmarks from Edge
  • Verify importing Bookmark HTML file retains the folder structure on a clean profile

Context menus

  • Verify Block element via selector removes a CSS element from page without reloading
  • Verify Clear all CSS rules for this sites removes the blocked element after page reload
  • Verify Clear all CSS rules for all sites removes the rule and loads all elements for all pages

Extensions/Plugins tests

  • Verify one item from Brave Update server is installable (Example: Ad-block DAT file on fresh extension)
  • Verify one item from Google Update server is installable (Example: Extensions from CWS)
  • Verify PDFJS, Torrent viewer extensions are installed automatically on fresh profile and cannot be disabled
  • Verify older version of an extension gets updated to new version via Google server
  • Verify older version of an extension gets updated to new version via Brave server
  • Verify magnet links and .torrent files loads Torrent viewer page and able to download torrent

CWS

  • Verify installing ABP from CWS shows warning message NOT A RECOMMENDED BRAVE EXTENSION!but still allows to install the extension
  • Verify installing LastPass from CWS doesn't show any warning message
  • Verify installing an extension that is not vetted by Brave gets blocked

Flash tests

  • Test that Flash gets blocked by default when installed
  • Test that once you allow Flash, it turns into a click to play area, and loads flash when allowed

PDF

Widevine

  • Verify Widevine Notification is shown when you visit Netflix for the first time
  • Test that you can stream on Netflix on a fresh profile after installing Widevine

Geolocation

Crash Reporting

  • Check that loading brave://crash causes the new tab to crash
  • Check that brave://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 rewards
  • Only import a large set of bookmarks
  • Combine rewards, and a large set of bookmarks

Bravery settings

Fingerprint Tests

Content tests

  • Open a page with an input control 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
  • Test that https://mixed-script.badssl.com/ shows up as grey not red (no mixed content scripts are run)

Sync

  • Verify you are able to create a sync chain and add a mobile/computer to the chain
  • Verify you are able to join an existing sync chain using code words
  • Verify the device name is correct when sync chain is created
  • Verify you are able to add a new mobile device to the chain via QR code/code words
  • Verify new bookmarks added gets sync'd to all devices on the sync chain
  • Verify existing bookmarks on current profile gets sync'd to all devices on the sync chain
  • Verify folder structure is retained after sync completes
  • Verify bookmarks don't duplicate when sync'd from other devices
  • Verify removing bookmark from device gets sync'd to all devices on the sync chain
  • Verify adding/removing a bookmark in offline mode gets sync'd to all devices on the sync chain when device comes online
  • With only two device in chain, verify removing the other device resets the sync on b-c as well

Rewards

  • Verify wallet is auto created after enabling rewards
  • Verify account balance shows correct BAT and USD value
  • Verify you are able to restore a wallet
  • Verify wallet address matches the QR code that is generated under Add funds
  • Verify actions taken (claiming grant, tipping, auto-contribute) display in wallet panel
  • Verify adding funds via any of the currencies flows into wallet after specified amount of time
  • Verify adding funds to an existing wallet with amount, adjusts the BAT value appropriately
  • Verify monthly budget shows correct BAT and USD value
  • Verify you are able to exclude a publisher from the auto-contribute table by clicking on the x in auto-contribute table and popup list of sites
  • Verify you are able to exclude a publisher by using the toggle on the Rewards Panel
  • Verify when you click on the BR panel while on a site, the panel displays site specific information (site favicon, domain, attention %)
  • Verify when you click on Send a tip, the custom tip banner displays
  • Verify you are able to make one-time tip and they display in tips panel
  • Verify you are able to make recurring tip and they display in tips panel
  • Verify you can tip a verified publisher
  • Verify you can tip a verified YouTube creator
  • Verify tip panel shows a verified checkmark for a verified publisher/verified YouTube creator
  • Verify tip panel shows a message about unverified publisher
  • Verify BR panel shows message about an unverified publisher
  • Verify you are able to perform a contribution
  • Verify if you disable auto-contribute you are still able to tip regular sites and YouTube creators
  • Verify that disabling Rewards and enabling it again does not lose state
  • Verify that disabling auto-contribute and enabling it again does not lose state
  • Adjust min visit/time in settings. Visit some sites and YouTube channels to verify they are added to the table after the specified settings
  • Upgrade from older version
    • Verify the wallet balance is retained and wallet backup code isn't corrupted
    • Verify auto-contribute list is not lost after upgrade
    • Verify tips list is not lost after upgrade
    • Verify wallet panel transactions list is not lost after upgrade

Tor Tabs

  • Visit https://check.torproject.org in a Tor window, ensure its shows success message for using a Tor exit node
  • Visit https://check.torproject.org in a Tor window, note down exit node IP address. Do a hard refresh (Ctrl+Shift+R/Cmd+Shift+R), ensure exit IP changes after page reloads
  • Visit https://check.torproject.org in a Tor window, note down exit node IP address. Click New Tor Identity for this site in app menu, ensure the exit node IP address changes after page is reloaded
  • Visit https://protonirockerxow.onion/ in a Tor window, ensure login page is shown
  • Visit http://pdf995.com in a Tor window, should warn about connecting to HTTP site
  • Visit https://browserleaks.com/geo in a Tor window, ensure location isn't shown
  • Visit https://diafygi.github.io/webrtc-ips/ in a Tor window with block all fingerprinting, ensure WebRTC is blocked and no IP is shown
  • Visit https://diafygi.github.io/webrtc-ips/ in a Tor window, disable shields, ensure WebRTC is blocked and no IP is shown
  • Verify Flash doesn't work on Tor window even if it is enabled in brave://settings/content/flash
  • Verify Torrent viewer doesn't load in a Tor window and warns when trying to load a torrent/magnet link in a Tor window
  • Verify Google Widevine doesn't load in Tor window and doesn't prompt Google Windevine notification in URL bar
  • Ensure you are able to download a file in Tor window. Verify all Download/Cancel, Download/Retry and Download works in Tor window
  • Disconnect network and open a Tor window, should show modal to retry connection or relaunch Tor window to connect

Cookie and Cache

  • 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

Session storage

  • Temporarily move away your browser profile and test that a new profile is created when browser is launched
    • macOS - ~/Library/Application\ Support/BraveSoftware/
    • Windows - %userprofile%\appdata\Local\BraveSoftware\
    • Linux(Ubuntu) - ~/.config/BraveSoftware/
  • 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

Update tests

  • Verify visiting brave://settings/help triggers update check
  • Verify once update is downloaded, prompts to Relaunch to install update

Chromium upgrade tests

  • Verify brave://gpu on Brave and chrome://gpu on Chrome are similar for the same Chromium version on both browsers

Adblock

  • Verify referrer blocking works properly for TLD+1. Visit https://technology.slashdot.org/ and verify adblock works properly similar to https://slashdot.org/

Components

  • Delete Adblock folder from browser profile and restart browser. Visit brave://components and verify Brave Ad Block Updater downloads and update the component. Repeat for all Brave components

Keyboard Shortcuts (WIP)

Sync (WIP)

####Rewards Media (To be verified on YouTube and Twitch) (WIP)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants