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 macOS for 1.15.x - Beta #11803

Closed
kjozwiak opened this issue Sep 22, 2020 · 2 comments
Closed

Manual test run on macOS for 1.15.x - Beta #11803

kjozwiak opened this issue Sep 22, 2020 · 2 comments

Comments

@kjozwiak
Copy link
Member

kjozwiak commented Sep 22, 2020

Per release specialty tests

  • Plugins FP blocking not working correctly when FP set to Standard.(#11278)
  • [Desktop] Payment server url handling.(#11284)
  • [Desktop] Uphold server url handling.(#11286)
  • [Desktop] webtorrent .torrent file detection security issue.(#11488)
  • [Desktop] Remove Chromium cookie flyouts.(#11709)
  • Hide "Passwords" entry in the "Safety check" section of the Settings UI.(#11741)
  • Upgrade from Chromium 86.0.4240.30 to Chromium 86.0.4240.42.(#11747)

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

About pages

  • Verify that both chrome:// and about:// forward to brave:// (run through several internal pages)

Importing

  • Verify that you can import History, Favorites/Bookmarks and Passwords from Google Chrome
  • Verify that you can import History, Favorites/Bookmarks, Passwords, Search Engines and Autofill from Firefox
  • Verify that you can import Favorites/Bookmarks from Mirosoft Edge
  • Verify that importing bookmarks using 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

  • Verify pdfium, 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 that magnet links and .torrent files correctly opens WebTorrent and you're able to download the file(s)

CWS

Flash

  • 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

Note: Flash will no longer be supported after December 2020 as per https://blog.chromium.org/2017/07/so-long-and-thanks-for-all-flash.html.

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 & brave://gpucrash causes the new tab to crash
  • Check that brave://crashes lists the Uploaded Crash Report ID once the report has been submitted
  • Verify the crash ID matches the report on BackTrace using _rxid equal [ value ]

Bravery settings

Fingerprint Tests

Brave Ads

  • Verify when you enable Rewards from panel or brave://rewards, Ads are enabled by default
  • Verify Ads UI (panel, settings, etc) shows when in a region with Ads support
  • Verify Ads UI (panel, settings, etc) does not show when in a region without Ads support. Verify the Ads panel does show the 'Sorry! Ads are not yet available in your region.' message.
  • Verify when the system language is English, the Browser language is French, and you are in one of the supported regions, Ad notifications are still served to you.
  • Verify you are served Ad notifications when Ads are enabled
    • Verify ad earnings are reflected in the rewards widget on the NTP.
  • Verify when Ads are toggled off, there are no Ad messages in the logs
  • Verify when Rewards are toggled off (but Ads were not explicitly toggled off), there are no Ads logs recorded
  • Verify view/click/dismiss/landed ad notifications show in confirmations.json
  • Verify pages you browse to are being classified in the logs
  • Verify tokens are redeemed by viewing the logs (you can use --rewards=debug=true to shorten redemption time)
  • Verify Ad is not shown if a tab is playing media and is only shown after it stops playing

Rewards

  • Verify you are able to create a new wallet.
  • Verify you are able to restore a wallet.
  • Verify account balance shows correct BAT and USD value.
  • Verify actions taken (claiming grant, tipping, auto-contribute) display in wallet panel.
  • Verify AC monthly budget shows correct BAT and USD value.
  • Verify you are able to exclude a publisher from the 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 you are able to perform an auto contribution.
    • Verify auto contribution is reflected in the rewards widget on the NTP.
  • Verify monthly statement shows expected data.
  • Verify when you click on the BR panel while on a site, the panel displays site specific information (site favicon, domain, attention %).
  • Verify BR panel shows message about an unverified publisher.
  • Verify one time and monthly tip banners show a message about unverified publisher.
  • Verify one time tip and monthly tip banners show a verified checkmark for a verified creator.
  • Verify when you click on Send a tip, the custom tip banner displays if set up.
    • Verify custom tip banner is also displayed for monthly contribution.
  • Verify you are able to make one-time tip and they display in Tips panel.
    • Verify tip is reflected in the rewards widget on the NTP.
    • Verify when you tip an unverified publisher, the one time tip is recorded in the Pending Contributions list.
  • Verify you are able to make recurring tip and they display in Monthly Contributions panel.
    • Verify you are able to adjust your recurring tip amount from the BR panel.
    • Verify recurring tip is reflected in the rewards widget on the NTP.
  • Verify you can tip a verified website.
    • Verify the website displays in the auto-contribute list after specified amount of time/visits per settings.
  • Verify you can tip a verified YouTube creator.
    • Verify the YouTube creator displays in the auto-contribute list after specified amount of time/visits per settings.
  • Verify you can tip a verified Vimeo creator.
    • Verify the Vimeo creator displays in the auto-contribute list after specified amount of time/visits per settings.
  • Verify you can tip a verified Twitch creator.
    • Verify the Twitch creator displays in the auto-contribute list after specified amount of time/visits per settings.
  • Verify you can tip a verified Twitter user from the panel.
  • Verify you can tip a verified Twitter user via inline tip button.
    • Verify the in-line tip button is spaced properly.
  • Verify you can tip a verified Github user from the panel.
  • Verify you can tip a verified Github user via inline tip button.
    • Verify the Github creator displays in the auto-contribute list after specified amount of time/visits per settings.
  • Verify you can tip a verified Reddit user from the panel.
  • Verify you can tip a verified Reddit user via inline tip button.
  • Verify if you disable auto-contribute you are still able to tip creators.
  • Verify if auto-contribute is disabled AC does not occur.
  • Verify if Rewards is disabled AC does not occur.
  • Verify that disabling Rewards and enabling it again does not lose state.
  • Adjust min visit/time in settings. Visit some sites to verify they are added to the table after the specified settings.
  • Uphold cases
    • Verify you are able to connect a KYC'd Uphold wallet to Rewards.
    • Verify wallet balance in Brave updates when BAT is added to the Brave Browser card.
    • Verify if you only have user controlled BAT (BAT in Uphold only), you can only tip KYC'd creators, any tips to non-KYC'd creators go to the Pending Contributions list.
    • Verify connected (verified but not KYC'd) publishers display messaging on panel and tip banner.
    • Verify you are able to perform an auto contribute using Uphold BAT.

Social-media blocking settings

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 shown properly when sync chain is created
  • Verify you are able to add a new mobile device to the chain via QR code/code words
  • Verify newly created bookmarks get 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

Tor Tabs

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

Chromium/Brave GPU

  • Verify that brave://gpu (Brave) matches chrome://gpu (Chrome) when using the same Chromium version

Components

  • Remove the following component folders and ensure that they're being re-downloaded after restarting the browser
    • AutoplayWhitelist.dat, ExtensionWhitelist.dat, ReferrerWhitelist.json and Greaselion.json
    • CertificateRevocation
    • rs-ABPFilterParserData.dat & regional_catalog.json (AdBlock)
    • Sponsored New Tab Images
    • speedreader-updater.dat
    • HTTPSE
    • Safe Browsing
  • Restart the browser, load brave://components, wait for 8 mins and verify that no component shows any errors

Note: Always double check brave://components to make sure there's no errors/missing version numbers

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 both windows and tabs are being restored, including the current active tab
  • Ensure that tabs are being lazy loaded when a previous session is being restored

Upgrade

  • Make sure that data from the last version appears in the new version OK
  • Ensure that brave://version lists the expected Brave & Chromium versions
  • 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
    • Sync chain created in previous version is retained
    • Social media blocking buttons changes are retained
    • Rewards
      • Wallet balance is retained
      • Auto-contribute list is retained
      • Both Tips and Monthly Contributions are retained
      • Wallet panel transactions list is retained
      • Changes to rewards settings are retained
    • Ads
      • Both Estimated pending rewards & Ad notifications received this month are retained
      • Changes to ads settings are retained
      • Ensure that ads are not being enabled when upgrading to a new version if they were disabled
      • Ensure that ads are not disabled when upgrading to a new version if they were enabled
@kjozwiak kjozwiak added this to the 1.15.x - Beta milestone Sep 22, 2020
@kjozwiak kjozwiak changed the title Manual test run on OS X for 1.15.x - Beta Manual test run on macOS for 1.15.x - Beta Sep 22, 2020
@kjozwiak
Copy link
Member Author

kjozwiak commented Sep 22, 2020

Please wait till C86 gets merged into 1.15.x via brave/brave-core#6677 & #11800 before running through the above test run 👍

@LaurenWags
Copy link
Member

Also ran the tests on the following pages:

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