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

Manual test run on Windows x64 for 0.23.x (Beta Channel) #14495

Closed
srirambv opened this issue Jun 21, 2018 · 1 comment
Closed

Manual test run on Windows x64 for 0.23.x (Beta Channel) #14495

srirambv opened this issue Jun 21, 2018 · 1 comment

Comments

@srirambv
Copy link
Collaborator

srirambv commented Jun 21, 2018

Per release specialty tests

  • Tab size change should have transition animation.(#7001)
  • Replace all CSS and l10n selectors with data-test-id for webdriver tests.(#8735)
  • Refactor safebrowsing.js with Aphrodite.(#9025)
  • Replace moment with date-fns for date helpers.(#11061)
  • Refresh Swedish language strings.(#11298)
  • Reduce webpack build time by caching babel-loader.(#11473)
  • Download bar cannot be closed with an active download.(#11923)
  • Efficiently Bypassing SNI-based HTTPS Filtering.(#12235)
  • UX & wording for Tor tabs on about:newtab.(#12922)
  • Distribute Tor binary with Brave.(#12932)
  • Use Tor as a subprocess.(#12934)
  • Urlbar UI for onion sites.(#12990)
  • Disable webtorrent whenever Tor is enabled.(#13063)
  • When Tor's enabled, remote autocomplete must also go over Tor.(#13064)
  • Load favicons over Tor when Tor's enabled.(#13065)
  • Replace Fanboy's Swedish with Frellwit's Swedish Filter for Swedish regional adblock filters.(#13092)
  • [hackerone] 317931.(#13214)
  • Prevent webrtc ip leak in tor mode.(#13397)
  • Block referer based on eTLD+1 instead of full origin.(#13779)
  • Hard-refresh in tor tab should create new circuit.(#13925)
  • Update default top site icon for Brave.com.(#14008)
  • Webrequest filtering functions not working in Tor mode.(#14021)
  • Connection log pops up in a console window when opening a private tab .(#14029)
  • Closing connection info console before connecting to tor network doesn't load page.(#14033)
  • Use tor stable binaries instead of alpha.(#14095)
  • Opening a link in new private tab doesn't load over tor network.(#14103)
  • Redo Tor newtab UI to remove Tor logo.(#14121)
  • Disable Tor tabs by default in 0.23.x.(#14124)
  • New Tor circuit info link needs to be changed.(#14156)
  • Change styling of box outline and fonts in private tabs page.(#14167)
  • Add tab UI indicator of whether a private tab is running Tor.(#14175)
  • YouTube channels not showing verified icon on ledger table.(#14351)
  • Torrent/Magnet link should show unsupported message on TOR tab.(#14374)
  • Cannot drag window via empty tab bar space.(#14469)
  • Include EasyPrivacy by default.(#14476)
  • Closing the last tab on full tabstrip and moving mouse away does not restore tab width.(#14477)
  • not being able to reconnect after receiving" Error: tor: CLOCK_JUMPED".(#14483)
  • Controlport blocks tor connection after browser restart.(#14503)
  • Bookmark modal alignment is off when home button is enabled/disabled.(#14456)
  • Add the ability to open up non-Tor private tabs.(#14459)

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