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 Linux for 0.59.x - Release #3101

Closed
kjozwiak opened this issue Jan 25, 2019 · 1 comment
Closed

Manual test run on Linux for 0.59.x - Release #3101

kjozwiak opened this issue Jan 25, 2019 · 1 comment

Comments

@kjozwiak
Copy link
Member

kjozwiak commented Jan 25, 2019

Per release specialty tests

  • Several Strings Remain Untranslated.(#2831)
  • & shown on onboarding first screen.(#3068)
  • Add Beta label for Sync.(#3079)
  • Upgrade from 72.0.3626.64 to 72.0.3626.71.(#3086)

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)

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

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)

@btlechowski
Copy link

Tested on

Brave 0.59.31 Chromium: 72.0.3626.71 (Official Build) (64-bit)
Revision f52ccad2a6a3c65fc9e0c591a517ceab1198dac0-refs/branch-heads/3626@{#763}
OS Linux

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

3 participants