brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.81k stars 2.33k forks source link

Add sidebar as way to manage bookmarks and access favorite websites #21699

Closed rebron closed 2 years ago

rebron commented 2 years ago

Description

Add a sidebar to normal window, private window, and private window with Tor to provide users the ability to access their favorite websites.

A user will be able to add a site/url to the sidebar which will then display the website favicon. If no favicon is available an icon with the sites' first letter will be generated. A user will be able remove and reorder via drag and drop these website icons. We will provider an overflow UX to allow users to add sites beyond the visible window size.

Add a bookmarks sidebar panel to allow users to add, delete, rename, drag and drop, and organize their bookmarks from the panel. Selecting bookmarks from the sidebar will open and close a bookmarks sidebar panel.

The sidebar will special case three items, Brave Talk, Brave Wallet, and Bookmarks. If a user removes any of those items, a user can re-add via add to sidebar bubble

Sidebar will provide access to Brave Talk and Brave Wallet. When selected for the first time, clicking on the icon will open up a new Brave Talk page or Brave Wallet page. When either Brave Talk or Brave Wallet is selected again, we will set focus on the existing page (rather than opening up a new page).

Sidebar settings will be available from the hamburger menu and in brave://settings/appearance to show, never show, or show on mouseover.

This will constitute version 1 of the sidebar.

Design/Expected Result:

https://www.figma.com/file/xOdKFSr3P5AXSAbP2r8ung/Sidebar-Desktop?node-id=880%3A32542

Brave version (brave://version info)

Targeted for release in 1.37

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

LaurenWags commented 2 years ago

@brave/legacy_qa I discussed a test plan for this one with @rebron and @kjozwiak.

Basically we should:

aguscruiz commented 2 years ago

Latest designs matching production in this Figma page: https://www.figma.com/file/xOdKFSr3P5AXSAbP2r8ung/?node-id=3693%3A65920

GeetaSarvadnya commented 2 years ago

Verification PASSED on


Brave | 1.37.105 Chromium: 100.0.4896.46 (Official Build) (64-bit)
-- | --
Revision | 5ca33821b2211805855c77d334353d27c616a7ca-refs/branch-heads/4896@{#584}
OS | Windows 10 Version 21H2 (Build 19044.1586)

General testing on sidebar settings

Verify global sidebar settings and sidebar settings in hamburger menu_PASSED - Confirmed Sidebar global settings is provided under brave://settings/appearance ![image](https://user-images.githubusercontent.com/38657976/159907947-a4ecba18-e706-4b1f-992e-0e0a4f01b115.png) - Confirmed by default sidebar settings is selected as `Never` under the hamburger menu when sidebar settings is not enabled ![image](https://user-images.githubusercontent.com/38657976/159908795-5f431091-9259-4d1d-847a-c01f04ceaefd.png) - Confirm user can enable/disable sidebar via `brave://settings/appearance` or `Hamburger menu->Show sidebar` - Confirm sidebar settings changes made in the `brave://settings/appearance` settings appear in the `Hamburger menu->Show sidebar` and vice versa - Confirmed sidebar settings are retained after browser restart Example | Example -- | -- ![image](https://user-images.githubusercontent.com/38657976/159909950-ac0fd76e-39e3-4271-8d43-49b6c44021ce.png) | ![image](https://user-images.githubusercontent.com/38657976/159910019-bb324c80-56fe-491e-8ce6-f2531c0f5a5a.png) - Confirmed click on `Bookmarks` settings in sidebar opens up and close the bookmarks sidebar panel ![sidebar_bookmarks icon toggle](https://user-images.githubusercontent.com/38657976/159910566-513bc93b-508d-4ecf-b56f-3e43c2facc48.gif) - Confirmed that user can delete the `default settings (Brave talk, wallet and bookmark) icons` from the sidebar panel - Confirmed deleted settings are removed from the sidebar menu and settings are retained after browser restart - Confirmed user can `re-add` the default settings (Brave talk, wallet and bookmark) icons via add to sidebar bubble ![sidebar_delete and readd sidebar icons](https://user-images.githubusercontent.com/38657976/159911390-06d7e5ef-d615-4c74-9683-3f76b05cc05f.gif) - Confirmed mouse hover on each item in the sidebar menu shows the settings name as expected ![sidebar_mouse over on each item](https://user-images.githubusercontent.com/38657976/159916833-429ad051-5297-4fa0-9e94-fb562557068d.gif)

Clean profile

Case 1: Sidebar_Add/remove/reorder the websites favicons_PASSED _**Add**_ - Confirmed user has the ability to add `favorite websites` to the sidebar - Confirmed `website favicon` gets added in the sidebar menu when the user add any website - Confirmed user can access the added websites by `clicking on the website favicon` added in the sidebar menu - Confirmed if website favicon is not available then `website first letter` gets added as a favicon in the sidebar - Confirmed user can add the website only once, if user tries to add the same website 2nd time then `+` Add to side menu gets disabled Example | Example -- | -- ![image](https://user-images.githubusercontent.com/38657976/159859974-8a8499c8-4977-4f9c-b07b-ed4c5693e78f.png) | ![image](https://user-images.githubusercontent.com/38657976/159859833-53f9ef6e-f9ae-4e2b-8acb-cd2cdfcc37c7.png) _**Remove:**_ - Confirmed user can remove the added website by `right-clicking on the favicon` - Confirmed website favicon gets removed from the sidebar menu when the user clicks on the `Remove` icon - Confirmed removed website can be `readded` to the sidebar Example | Example | Example | Example -- | -- | -- | -- ![image](https://user-images.githubusercontent.com/38657976/159861377-e609f448-bf01-4879-b2cc-f94512fcec52.png) | ![image](https://user-images.githubusercontent.com/38657976/159861438-cd7ae98b-2ba6-47ce-b8e9-e0ff6f823a0b.png) | ![image](https://user-images.githubusercontent.com/38657976/159861580-4caedb94-d7be-4c8d-bf55-b73484784943.png) | ![image](https://user-images.githubusercontent.com/38657976/159862283-3a3f89c1-79ea-4a1b-8eab-f2b80f28785c.png) _**Reorder:**_ - Confirmed user can reorder the added favicons via the `drag and drop` option in the sidebar menu - Confirmed user has the ability to access the favorite website by `clicking on up/down arrows` provided in the sidebar menu - Confirmed users can access the websites after `favicons re-order Example | Example -- | -- ![image](https://user-images.githubusercontent.com/38657976/159864091-b9dbbbcc-d8ac-4c48-bf7d-7fdd0b763469.png) | ![image](https://user-images.githubusercontent.com/38657976/159864180-03053fc1-3ed2-41b5-a419-e38ad0d58339.png)
Case 2: Sidebar_Bookmarks settings_PASSED **_Import BM_** - Confirmed by default sidebar bookmarks panel shows `Bookmarks` and `Other Bookmarks` empty folders when no bookmarks are added - Confirmed imported bookmarks are shown in the Bookmarks panel when bookmarks are imported via `brave://settings/importData`/ `NTP import option`/`Bookmarks manager import option`/`Hamburger menu import BM option` - Confirmed imported bookmarks can be `accessed` by clicking on them Example | Example | Example | Example -- | -- | -- | -- ![image](https://user-images.githubusercontent.com/38657976/159873384-cb654c9f-1693-4465-ad3f-967748ee546b.png) | ![image](https://user-images.githubusercontent.com/38657976/159874053-b7dd69de-fe3e-4343-9b1d-19a5e73dd09b.png) | ![image](https://user-images.githubusercontent.com/38657976/159875088-13ac9a23-efce-4b84-8c87-e6db4a9fefa5.png) | ![image](https://user-images.githubusercontent.com/38657976/159876844-b1b3200a-308b-4330-a408-d404861cd367.png) **_Add bookmarks_** - Confirmed bookmarks added via the `bookmarks icon in the URL bar` are shown under the bookmarks panel in the sidebar menu - Confirmed bookmarks added via `bookmarks this tab via the hamburger menu` are shown under the bookmarks panel in the sidebar menu - Confirmed bookmarks added via `bookmarks all the tabs via the hamburger menu` are shown under the bookmarks panel in the sidebar menu - Confirmed bookmarks added via the `Add a new bookmarks option in the 3dot menu in bookmarks manager` are shown under the bookmarks panel in the sidebar menu - Confirm bookmarks can be `re-named` and `reorganized` Example | Example | Example | Example | Example | Example | Example -- | -- | -- | -- | -- | -- | -- ![image](https://user-images.githubusercontent.com/38657976/159880011-3059064f-990e-4ffc-97f9-b9fd3c0d3fcf.png) | ![image](https://user-images.githubusercontent.com/38657976/159880287-aa76ae42-d943-4daa-bb6e-6e1a60b80ad0.png) | ![image](https://user-images.githubusercontent.com/38657976/159880426-a9a8e225-1087-4d27-9af8-ce717861e336.png) | ![image](https://user-images.githubusercontent.com/38657976/159880504-05cdce84-8192-4644-9e76-4e60ff8988bc.png) | ![image](https://user-images.githubusercontent.com/38657976/159881236-56cf5692-bda9-491f-b813-e0f371210dd4.png) | ![image](https://user-images.githubusercontent.com/38657976/159881802-73017ed4-8689-4fb9-975f-b730274582ca.png) | ![image](https://user-images.githubusercontent.com/38657976/159901479-f75ed750-83ec-4879-8d50-91797253a609.png) **_Re-order_** - Confirmed bookmarks that are showing up in the Sidebar panel should also show up in `Bookmarks manager` - Confirmed bookmarks can be re-arranged via the drag and drop option - Confirmed changes made in the bookmarks panel in the sidebar menu should reflect in `Bookmarks manager` and vice versa Example | Example -- | -- ![image](https://user-images.githubusercontent.com/38657976/159878167-88ff9534-6c2e-4360-b274-4c87b6152a9f.png) | ![image](https://user-images.githubusercontent.com/38657976/159878699-b4fd70de-ad2b-40bc-b96e-d5516fa88ebc.png) **_Remove_** - Confirmed bookmarks can be removed from the sidebar menu via the `Delete` option - Confirmed that deleted bookmarks are removed from the sidebar bookmarks panel - Confirmed deleted bookmarks is removed from bookmarks manager as well - Confirmed that deleted bookmarks can be re-bookmarked and are shown in the sidebar bookmarks panel Example | Example -- | -- ![image](https://user-images.githubusercontent.com/38657976/159883272-d6a29204-620f-46b9-9135-4091979fd9cc.png) | ![image](https://user-images.githubusercontent.com/38657976/159883434-2e1d2f97-942c-43c9-9e28-5973516fee5d.png) | ![image](https://user-images.githubusercontent.com/38657976/159883690-7789d1b1-e3e1-4fd7-b68a-9ae797784f34.png) **_Re-order bookmarks icon in the sidebar menu_** - Confirmed that bookmarks icon default position can be altered in the sidebar menu via the drag and drop option - Confirmed bookmarks can be accessed/edited when the bookmarks icon is re-ordered Example | Example | Example -- | -- | -- ![image](https://user-images.githubusercontent.com/38657976/159886407-8b448789-590f-4bb8-931c-628d29dcba46.png) | ![image](https://user-images.githubusercontent.com/38657976/159886349-65731203-4c37-442f-8a00-e8ce945f4939.png) | ![image](https://user-images.githubusercontent.com/38657976/159887109-4cbc89ab-d260-42e7-9237-0d4e5f700b14.png)
Case 3: Sidebar_Brave talk settings_PASSED - Confirmed Brave talk settings icon is aligned properly in the sidebar menu - Confirmed Brave talk settings icon position can be altered via drag and drop option - Confirmed click on Brave talk icon for the 1st time it opens up https://talk.brave.com/widget in a new tab (behavior is same in PT and TOR windows) - Confirmed user can a start call using brave talk settings via sidebar menu Example | Example | Example -- | -- | -- ![image](https://user-images.githubusercontent.com/38657976/159896350-35015602-3cac-4493-a88e-9c0eb2aee6c3.png) | ![image](https://user-images.githubusercontent.com/38657976/159897292-2a81b7be-d070-4680-ab50-84ee8892c1a8.png) | ![image](https://user-images.githubusercontent.com/38657976/159897231-774b4cae-6119-48f9-ac5c-aa5998f10636.png) - Confirmed that if the user tries to open brave talk for the 2nd time, the focus will set on the existing brave talk opened tab (behavior is same in PT and TOR windows) ![sidebar_open brave talk](https://user-images.githubusercontent.com/38657976/159915265-5130a7f6-c1ff-4d35-8e0f-50982f66cb4b.gif)
Case 4: Sidebar_Brave wallet settings_PASSED - Confirmed Brave wallet settings icon is aligned properly in the sidebar menu - Confirmed Brave wallet settings icon position can be altered via the drag and drop option - Confirmed click on Brave talk icon for the 1st time opens up to brave://wallet/crypto/onboarding in a new tab - Confirm user can create a wallet via sidebar wallet settings Example | Example -- | -- ![image](https://user-images.githubusercontent.com/38657976/159899389-b5ef55d6-0f21-4b3b-934a-9ec304a0e089.png) | ![image](https://user-images.githubusercontent.com/38657976/159900084-bedb245c-b0a3-42b7-a643-d5b7357a9b97.png) - Confirmed that if the user tries to open the brave wallet for the 2nd time, the focus will set on the existing brave wallet opened tab ![sidebar_open wallet](https://user-images.githubusercontent.com/38657976/159915454-84e53a23-f12d-440c-8ebc-28f73604095d.gif)
Case 5: Sidebar_TOR/Private windows_PASSED - Confirmed by default sidebar menu is disabled or selected as `Never` in `Normal`, `Private` and `TOR` windows in the hamburger menu Normal window | Private window | TOR windows -- | -- | -- ![image](https://user-images.githubusercontent.com/38657976/159917755-6b49be94-6ad7-4d55-8b02-4053c039ccaf.png) | ![image](https://user-images.githubusercontent.com/38657976/159918124-7676fb6c-28ac-4bfc-a162-26c232bce75c.png) | ![image](https://user-images.githubusercontent.com/38657976/159918178-e0820d85-4716-4e02-adc8-a3cf1115734d.png) - Confirm enable sidebar (select Always) in normal window enables the sidebar in Private and Tor windows Normal window | Private window | TOR windows -- | -- | -- ![image](https://user-images.githubusercontent.com/38657976/159918727-e1e135b7-2cf0-4bcb-816c-8772d6cfc58f.png) | ![image](https://user-images.githubusercontent.com/38657976/159918808-4779a87b-f428-434b-978f-430e69059387.png) | ![image](https://user-images.githubusercontent.com/38657976/159918866-0b1902b2-814c-44a6-ae23-899c50551b85.png) - Confirmed that changes (add/remove favicons or re-order icons) made in sidebar menu in one window (Normal/PT/TOR) reflects in other tab types - Confirmed that changes are retained after the browser restart - Confirmed changes made in sidebar settings (Never/Mouseover/Always) in the hamburger menu in one window (Normal/PT/TOR) reflects in other tab types - Confirmed that settings changes are retained after the browser restart - Confirmed that clicking on the brave wallet in PT/TOR window opens up the wallet page in the normal window as expected - Confirmed user can access the added bookmarks in PT/TOR windows sidebar menu ![sidebar_in Normal PT and TOR windows](https://user-images.githubusercontent.com/38657976/159921886-154b6dcd-a110-48ca-81a3-ccbbdcd82fec.gif) - Confirmed bookmarks can be edited/deleted in one window (Normal/PT/TOR) window is reflected in other tab types

Upgrade profile

Upgrade profile_PASSED - Install `1.36.x` and import a few bookmarks and - Upgrade the profile to `1.37.x` and confirmed sidebar settings in brave://settings/appearance - Enable the sidebar and confirmed bookmarks are shown in the sidebar panel in `1.37.x` - Confirmed bookmarks can be added/deleted/re-added in the upgraded profile - Confirmed website favicons can be re-ordered in the sidebar menu in an upgraded profile 1.36.x | 1.37.x - Normal window | 1.37.x - Private window | 1.37.x - Tor window -- | -- | -- | -- ![image](https://user-images.githubusercontent.com/38657976/159939954-a8fc2d72-5565-4d08-8b8d-4e25a5787178.png) | ![image](https://user-images.githubusercontent.com/38657976/159940177-82fba7af-f6db-41f3-ae87-606c346d2947.png) | ![image](https://user-images.githubusercontent.com/38657976/159940027-d6623525-5655-4b96-9b9b-ee200d45524f.png) | ![image](https://user-images.githubusercontent.com/38657976/159940078-f574691e-d2f6-4fcb-9fb4-3d7d0c90d377.png)
MadhaviSeelam commented 2 years ago

Verification Complete using

Brave | 1.37.105 Chromium: 100.0.4896.46 (Official Build) (64-bit) Revision | 5ca33821b2211805855c77d334353d27c616a7ca-refs/branch-heads/4896@{#584} OS | Windows 11 Version 21H2 (Build 22000.556)

Logged #21859 Logged #21861 Logged #21864 Logged #21865 Logged #21893 Logged #21894 - Closed

Prerequisite: Install 1.37.x

Testcase 1: Sidebar UI - Default Widgets
- Launch `Brave` - Sidebar is displayed as a default - Brave Talk, Wallet and Bookmarks items displayed as default items - Hovered over Brave Talk and it was highlighted in red and description displayed as `Brave Talk` - Hovered over Wallet and it was highlighted in red and description displayed as `Wallet` - Hovered over Bookmarks and it was highlighted in red and description displayed `Bookmarks` - `Settings` icon displayed at the bottom of the `Sidebar` ex1 ---- Default widgets
Testcase 2: Sidebar - Remove and Re-add Default Widgets
- Remove `Wallet` from Sidebar > - Hovered over `Wallet` and clicked remove > - `Wallet` was removed - Re-add `Wallet` thru bubble > - Clicked on add `(+)` button and `Wallet` entry displayed in the bubble > - Clicked `Wallet` to add > - Wallet is displayed on the Sidebar - Verified Remove and Re-add for Brave Talk and Wallet and the results were same as above ex1|ex2 ----|--- Remove|Re-added default widget

Testcase 3: Sidebar UI

- Add favicons > - Navigate to `brave.com` > - Hovered over on add (+)` button to add the site to `Sidebar` > - `Brave` favicon added to the `Sidebar` > - Added couple of more sites (`youtube.com`, `bbc.com`) > - Their `favicons` displayed on the `Sidebar` > - When hovered over a favicon, a description is displayed eg. Youtube > - If a site does not have a favicon, site's first letter will be generated Eg. Everlane "E" - Drag and drop > Drag and drop `Youtube` favicon below `bbc` > - The reorder happens seamlessly without issues > - Clicked on the `bbc` favicon on the `Sidebar` to open the website - Responsiveness > - Added few sites to `Sidebar` beyond the visible window size > - Up arrow and down arrow are visible and clickable to move thru website icons that are not visible > - Up and down arrows are disabled depending upon location ex1|ex2|ex3 ----|---|--- add favicon|Drag and Drop favicons|Sidebar_responsiveness-uparrow_downarrow

Testcase 4: Sidebar - Settings icon

- Click `Settings` icon on the Sidebar - `brave://settings/?search=Show%20Sidebar` page opened - `Show Sidebar Enabled` entry in `Appearance` page highlighted in Yellow - `Always` option was selected as a default - Select `on mouseover' - Return to `Normal window` - `Sidebar` is not displayed on the left - `Hover over` to display the `Sidebar` - Verified `Sidebar` is available only on hover state in the `Private Window` and `Private Window with TOR` - Select Never in the drop down - Return to `Normal window` - `Sidebar` is not displayed for `Normal window`, `Private Window` and `Private Window with TOR` - Select `Always' again - `Sidebar` is displayed for `Normal window`, `Private Window` and `Private Window with TOR` ex1|ex2 ---|--- Settings|settings 2|<
Testcase 5: `Sidebar` Should Be Available in Normal, Private and Private Window With TOR As a default
- Launch `Brave` - `Sidebar` is displayed in the Normal window as a default with default widgets - Click on `Hamburger` menu and select New Private window OR Ctrl+Shift+N - `Sidebar` as a default is displayed in the Private window with any favicons and default widgets - Click on `Hamburger` menu and select New private window with TOR OR Alt+Shift+N - Sidebar as a default is displayed in the Private window with TOR and any favicons and default widgets ex1|ex2|ex3 ---|---|--- Normal window with sidebar|Sidebar - Private Window with TOR|Sidebar-Private Window
Testcase 6: Sidebar Options functionality
- Launch Brave - Right click in the empty space on the `Sidebar' to open up `Show Sidebar` options - Verified `Always` option is selected and is a default in the `Sidebar` - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Normal Window - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Private Window - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Private Window with TOR - Verified `Always` option is selected for `Show Sidebar enabled` entry in `brave://settings/Appearance` as default - Select On mouseover on the Sidebar - Sidebar is displayed in hovered state - Verified `On mouseover` option is selected and in the `Sidebar` - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Normal Window - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Private Window - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Private Window with TOR - Verified `On mouseover` option is selected for `Show Sidebar enabled` entry in `brave://settings/Appearance` - Select never in the `Sidebar` - Verified `Sidebar` is no longer displayed - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Normal Window - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Private Window - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Private Window with TOR - Verified `never` option is selected for `Show Sidebar enabled` entry in `brave://settings/Appearanc ex1|ex2|ex3 ---|---|--- Sidebar always normal window|sidebar-never-privatewindow with TOR|sidebar-onmouseoever-private window
Testcase 7: Bookmarks Sidebar panel UI and Functionality
- Launch `Brave` - Hovered over and click `Bookmarks` icon in the `Sidebar` - `Bookmarks sidebar panel` is displayed with `Bookmarks` and `Other bookmarks` folders - Clicked on `Youtube `favicon on the `Sidebar` to open `Youtube.com` website - `Add Bookmark` > - Bookmarked `Youtube.com` site in the `Bookmarks `folder in the sidebar panel > - Verify the site is available in the `Bookmarks `folder in the sidebar panel > - Bookmarked one more site `Sony.com` and the site is displayed > - Added couple of folders for Media and Sports in the sidebar panel for Bookmarks folder > - Bookmark `https://www.callawaygolf.com/` under Sports folder - `Drag and Drop` > - `Drag and drop` `Youtube` and `Sony `sites to Media folder > - Drag and drop bookmarks to organize them > - `Bookmark sidebar panel` displayed both Media and Sports folders and bookmarked sites - `Remove` > - Right click on `Youtube` bookmark in the `bookmark sidebar panel` to `remove` and the bookmark should be longer listed - `Rename` > - Right click to `rename` `Sony group portal` bookmark and edit to `Sony` and new name should be displayed > - Bookmarked a site and drag and dropped a site from Bookmark folder to Other bookmarks folder - Clicked Bookmarks icon to close the sidebar panel - ex1|ex2|ex3 ---|---|--- Add bookmark1|Addbookmark2|
Testcase 8: Bookmarks sidebar panel - Bookmark context menu
- Launch Brave - Hover over `bbc.com` bookmark in the `Bookmark sidebar panel` - Right click to open context menu for - Select `Open in Tab` for `BBC` bookmark - BBC site should open in a new Tab - Hover over `nytimes` bookmark - Select Open in New Window - `nytimes` opens in new window - Click on `Bookmarks` icon to verify all the bookmarks from original window are preserved - Verified window is displayed with Sidebar with all the existing favicons preserved - Hover over `Time` bookmark - Right click and Select `Open in Private window` - `Time` opens in a Private window - Clicked on Bookmarks icon to verify all the bookmarks from original window are preserved - Verified Sidebar with all existing favicons are preserved - ex1|ex2|ex3| ---|---|--- Bookmarks context menu|
Testcase 9: Wallet Icon on the Sidebar
- Launch Brave - Click on Wallet icon on the `Sidebar` - If the Wallet icon is selected first time, 'Welcome to the new Brave Wallet' onboarding page should be displayed - Complete onboarding process to display portfolio page - Close and relaunch the browser - Click on Wallet icon on the Sidebar ex1|ex2 ---|--- wallet onboarding|Wallet page after onboarding
Testcase 10: Brave Talk Icon on the Sidebar
- Launch Brave - Click on Brave Talk icon on the `Sidebar` - The icon is highlighted in red and Brave talk home page should be displayed BraveTalk homepage
Testcase12: Verify Sidebar UI look and feel for Dark theme
ex1|ex2|ex3|ex4|ex5|ex6| ---|---|---|---|---|--- |Add to sidebar bubble|ABC favicon added|responsive ness|Remove|tooltip text on favicon|responsive ness| ex7|ex8|ex9|ex10|ex11|ex12|ex13 ----|----|---|---|---|---|--- sidebar-always-normalwindow|Sidebar-on mouseover-private window|Sidebar never-tor window|Settings|brave talk|Bookmarks|Wallet
Testcase 12: Upgrade
- Updated from 1.36.119 Chromium: 99.0.4844.83 to 1.37.105 Chromium: 100.0.4896.46 - Sidebar displayed on Normal, Private window and Private Window with TOR - Sidebar is not enabled in Settings as per Logged #21726 - Manually enabled in this test ex1|ex2|ex3|ex4 ---|---|---|---| 1-36 | 1-37|Normal window after upgrade|Private window with TOR after upgrade|private window after upgrade
btlechowski commented 2 years ago

Verification passed on

Brave 1.37.101 Chromium: 99.0.4844.83 (Official Build) beta (64-bit)
Revision b11086e62d7c1a44b0942ac5568d22a425c7ae35-refs/branch-heads/4844_74@{#5}
OS Ubuntu 18.04 LTS
Testcase 1: Sidebar UI - Default Widgets
- Launch `Brave` - Sidebar is displayed as a default - Brave Talk, Wallet and Bookmarks items displayed as default items - Hovered over Brave Talk and it was highlighted in red and description displayed as `Brave Talk` - Hovered over Wallet and it was highlighted in red and description displayed as `Wallet` - Hovered over Bookmarks and it was highlighted in red and description displayed `Bookmarks` - `Settings` icon displayed at the bottom of the `Sidebar` ![image](https://user-images.githubusercontent.com/34715963/160213379-c64cf5df-4757-4060-adee-164648027072.png) ![image](https://user-images.githubusercontent.com/34715963/160213404-05218693-4d2c-415c-be05-6cdf36c9b36e.png) ![image](https://user-images.githubusercontent.com/34715963/160213415-f50b46a0-c117-43b8-b859-65bf28f9d6c0.png) ![image](https://user-images.githubusercontent.com/34715963/160213457-c549e85f-029e-4e95-bd61-60eb9199e909.png)
Testcase 2: Sidebar - Remove and Re-add Default Widgets
- Remove `Wallet` from Sidebar > - Hovered over `Wallet` and clicked remove > - `Wallet` was removed - Re-add `Wallet` thru bubble > - Clicked on add `(+)` button and `Wallet` entry displayed in the bubble > - Clicked `Wallet` to add > - Wallet is displayed on the Sidebar - Verified Remove and Re-add for Brave Talk and Wallet and the results were same as above ![image](https://user-images.githubusercontent.com/34715963/160213588-faad873e-6e92-4808-8c9d-ce6a1c69fb65.png) ![image](https://user-images.githubusercontent.com/34715963/160213599-950404dc-17bb-49ea-bf6e-8324d2b64bdb.png) ![image](https://user-images.githubusercontent.com/34715963/160213607-2f83728c-b96e-499a-9d25-9f86f262f912.png)

Testcase 3: Sidebar UI

- Add favicons > - Navigate to `brave.com` > - Hovered over on add (+)` button to add the site to `Sidebar` > - `Brave` favicon added to the `Sidebar` > - Added couple of more sites (`youtube.com`, `bbc.com`) > - Their `favicons` displayed on the `Sidebar` > - When hovered over a favicon, a description is displayed eg. Youtube > - If a site does not have a favicon, site's first letter will be generated Eg. Everlane "E" - Drag and drop > Drag and drop `Youtube` favicon below `bbc` > - The reorder happens seamlessly without issues > - Clicked on the `bbc` favicon on the `Sidebar` to open the website - Responsiveness > - Added few sites to `Sidebar` beyond the visible window size > - Up arrow and down arrow are visible and clickable to move thru website icons that are not visible > - Up and down arrows are disabled depending upon location ![image](https://user-images.githubusercontent.com/34715963/160213657-36b65186-7bcd-461c-95de-2bbc6ef58b19.png) ![image](https://user-images.githubusercontent.com/34715963/160213681-65fc9088-3214-433b-b604-6632db727a8d.png) ![image](https://user-images.githubusercontent.com/34715963/160213741-23003cd9-ae0f-4c4e-9e8f-16eef689c2f4.png) ![image](https://user-images.githubusercontent.com/34715963/160213767-1595f64a-8ba2-489c-b4ac-9881d6ae0a2d.png) ![image](https://user-images.githubusercontent.com/34715963/160213810-d27b9c03-e8fe-428c-8c04-80a53e3b5cdf.png)

Testcase 4: Sidebar - Settings icon

- Click `Settings` icon on the Sidebar - `brave://settings/?search=Show%20Sidebar` page opened - `Show Sidebar Enabled` entry in `Appearance` page highlighted in Yellow - `Always` option was selected as a default - Select `on mouseover' - Return to `Normal window` - `Sidebar` is not displayed on the left - `Hover over` to display the `Sidebar` - Verified `Sidebar` is available only on hover state in the `Private Window` and `Private Window with TOR` - Select Never in the drop down - Return to `Normal window` - `Sidebar` is not displayed for `Normal window`, `Private Window` and `Private Window with TOR` - Select `Always' again - `Sidebar` is displayed for `Normal window`, `Private Window` and `Private Window with TOR` ![image](https://user-images.githubusercontent.com/34715963/160213997-8bd7db3a-e02c-455a-b109-f551459d9826.png) ![image](https://user-images.githubusercontent.com/34715963/160214009-00921b44-2c40-480e-8cc7-b30483a133d7.png)
Testcase 5: `Sidebar` Should Be Available in Normal, Private and Private Window With TOR As a default
- Launch `Brave` - `Sidebar` is displayed in the Normal window as a default with default widgets - Click on `Hamburger` menu and select New Private window OR Ctrl+Shift+N - `Sidebar` as a default is displayed in the Private window with any favicons and default widgets - Click on `Hamburger` menu and select New private window with TOR OR Alt+Shift+N - Sidebar as a default is displayed in the Private window with TOR and any favicons and default widgets ![image](https://user-images.githubusercontent.com/34715963/160214079-e617716c-a500-4650-bfc6-f394d755a97f.png) ![image](https://user-images.githubusercontent.com/34715963/160214091-151252bf-f6a3-41db-bc31-f434dec980cc.png) ![image](https://user-images.githubusercontent.com/34715963/160214098-9a9e98b3-3315-4751-9025-be8f85562c46.png)
Testcase 6: Sidebar Options functionality
- Launch Brave - Right click in the empty space on the `Sidebar' to open up `Show Sidebar` options - Verified `Always` option is selected and is a default in the `Sidebar` - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Normal Window - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Private Window - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Private Window with TOR - Verified `Always` option is selected for `Show Sidebar enabled` entry in `brave://settings/Appearance` as default - Select On mouseover on the Sidebar - Sidebar is displayed in hovered state - Verified `On mouseover` option is selected and in the `Sidebar` - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Normal Window - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Private Window - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Private Window with TOR - Verified `On mouseover` option is selected for `Show Sidebar enabled` entry in `brave://settings/Appearance` - Select never in the `Sidebar` - Verified `Sidebar` is no longer displayed - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Normal Window - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Private Window - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Private Window with TOR - Verified `never` option is selected for `Show Sidebar enabled` entry in `brave://settings/Appearanc ![image](https://user-images.githubusercontent.com/34715963/160214133-e338e851-c813-454e-b9d7-d154d04fc215.png) ![image](https://user-images.githubusercontent.com/34715963/160214147-7fc271fd-dc7e-4c5e-8187-c6e97aa50317.png) ![image](https://user-images.githubusercontent.com/34715963/160214155-5b323f4c-9456-47a6-982b-75ac76fdc1ab.png) ![image](https://user-images.githubusercontent.com/34715963/160214168-a5bca79b-19cf-4f74-8339-25b9da0296d5.png) ![image](https://user-images.githubusercontent.com/34715963/160214177-605b5600-fe5c-4a32-893b-a52731cc58c2.png) ![image](https://user-images.githubusercontent.com/34715963/160214195-045f5833-e67d-4480-9703-3acc9cc90972.png)
Testcase 7: `Bookmarks Sidebar panel` UI and Functionality
- Launch `Brave` - Hovered over and click `Bookmarks` icon in the `Sidebar` - `Bookmarks sidebar panel` is displayed with `Bookmarks` and `Other bookmarks` folders - Clicked on `Youtube `favicon on the `Sidebar` to open `Youtube.com` website - `Add Bookmark` > - Bookmarked `Youtube.com` site in the `Bookmarks `folder in the sidebar panel > - Verify the site is available in the `Bookmarks `folder in the sidebar panel > - Bookmarked one more site `Sony.com` and the site is displayed > - Added couple of folders for Media and Sports in the sidebar panel for Bookmarks folder > - Bookmark `https://www.callawaygolf.com/` under Sports folder - `Drag and Drop` > - `Drag and drop` `Youtube` and `Sony `sites to Media folder > - Drag and drop bookmarks to organize them > - `Bookmark sidebar panel` displayed both Media and Sports folders and bookmarked sites - `Remove` > - Right click on `Youtube` bookmark in the `bookmark sidebar panel` to `remove` and the bookmark should be longer listed - `Rename` > - Right click to `rename` `Sony group portal` bookmark and edit to `Sony` and new name should be displayed > - Bookmarked a site and drag and dropped a site from Bookmark folder to Other bookmarks folder - Clicked Bookmarks icon to close the sidebar panel ![image](https://user-images.githubusercontent.com/34715963/160214829-90421178-c207-4736-bb05-90200eef8755.png) ![image](https://user-images.githubusercontent.com/34715963/160214892-06218178-7f6f-47ab-a91c-38e15902a3d8.png) ![image](https://user-images.githubusercontent.com/34715963/160215106-85a3f068-e0ce-42cf-a86d-dff9a87da28f.png) ![image](https://user-images.githubusercontent.com/34715963/160215138-f08f33ed-0d29-4f1f-bd22-e88f4b9150c2.png) ![image](https://user-images.githubusercontent.com/34715963/160215147-91fd4ea1-3a67-4258-9029-b6951700d59f.png)
Testcase 8: Bookmarks sidebar panel - Bookmark context menu
- Launch Brave - Hover over `bbc.com` bookmark in the `Bookmark sidebar panel` - Right click to open context menu for - Select `Open in Tab` for `BBC` bookmark - BBC site should open in a new Tab - Hover over `nytimes` bookmark - Select Open in New Window - `nytimes` opens in new window - Click on `Bookmarks` icon to verify all the bookmarks from original window are preserved - Verified window is displayed with Sidebar with all the existing favicons preserved - Hover over `Time` bookmark - Right click and Select `Open in Private window` - `Time` opens in a Private window - Clicked on Bookmarks icon to verify all the bookmarks from original window are preserved - Verified Sidebar with all existing favicons are preserved -
Testcase 9: Wallet Icon on the Sidebar
- Launch Brave - Click on Wallet icon on the `Sidebar` - If the Wallet icon is selected first time, 'Welcome to the new Brave Wallet' onboarding page should be displayed - Complete onboarding process to display portfolio page - Close and relaunch the browser - Click on Wallet icon on the Sidebar ![image](https://user-images.githubusercontent.com/34715963/160215309-7a1fb275-6c7d-4af7-9ae7-09333bc67db7.png) ![image](https://user-images.githubusercontent.com/34715963/160215425-0dd35533-6886-44f5-a946-dd984ea8d470.png)
Testcase 10: Brave Talk Icon on the Sidebar
- Launch Brave - Click on Brave Talk icon on the `Sidebar` - The icon is highlighted in red and Brave talk home page should be displayed ![image](https://user-images.githubusercontent.com/34715963/160215495-c8dce462-a70e-43e0-98ec-f7c722da2ff3.png)
Testcase12: Verify Sidebar UI look and feel for Dark theme
![image](https://user-images.githubusercontent.com/34715963/160215603-3a8c2053-d066-4268-bfe8-2eafc776db88.png)
Testcase 12: Upgrade
- Updated from 1.36.119 Chromium: 99.0.4844.83 to 1.37.105 Chromium: 100.0.4896.46 - Sidebar displayed on Normal, Private window and Private Window with TOR - Sidebar is not enabled in Settings as per Logged #21726 - Manually enabled in this test ![image](https://user-images.githubusercontent.com/34715963/160215704-9e32e0c4-062f-40b1-b89a-8143ae5c53a5.png)
stephendonner commented 2 years ago

Verification PASSED on

Brave 1.37.105 Chromium: 100.0.4896.46 (Official Build) (x86_64)
Revision 5ca33821b2211805855c77d334353d27c616a7ca-refs/branch-heads/4896@{#584}
OS macOS Version 11.6.5 (Build 20G527)
Testcase 1: Sidebar UI - Default Widgets - PASSED
- Launch `Brave` - Sidebar is displayed as a default - Brave Talk, Wallet and Bookmarks items displayed as default items - Hovered over Brave Talk and it was highlighted in red and description displayed as `Brave Talk` - Hovered over Wallet and it was highlighted in red and description displayed as `Wallet` - Hovered over Bookmarks and it was highlighted in red and description displayed `Bookmarks` - `Settings` icon displayed at the bottom of the `Sidebar` Brave Talk | Wallet | Bookmarks | Settings -----------|--------|-----------|--------- Screen Shot 2022-03-27 at 12 07 33 AM | Screen Shot 2022-03-27 at 12 07 49 AM | Screen Shot 2022-03-27 at 12 08 01 AM | Screen Shot 2022-03-27 at 12 08 24 AM
Testcase 2: Sidebar - Remove and Re-add Default Widgets - PASSED
- Remove `Wallet` from Sidebar > - Hovered over `Wallet` and clicked remove > - `Wallet` was removed - Re-add `Wallet` thru bubble > - Clicked on add `(+)` button and `Wallet` entry displayed in the bubble > - Clicked `Wallet` to add > - Wallet is displayed on the Sidebar - Verified Remove and Re-add for Brave Talk and Wallet and the results were same as above example | example | example | example ---------|----------|---------|---------- Screen Shot 2022-03-27 at 12 12 44 AM | Screen Shot 2022-03-27 at 12 13 02 AM | Screen Shot 2022-03-27 at 12 14 04 AM | Screen Shot 2022-03-27 at 12 15 36 AM

Testcase 3: Sidebar UI - PASSED

- Add favicons > - Navigate to `brave.com` > - Hovered over on add (+)` button to add the site to `Sidebar` > - `Brave` favicon added to the `Sidebar` > - Added couple of more sites (`youtube.com`, `bbc.com`) > - Their `favicons` displayed on the `Sidebar` > - When hovered over a favicon, a description is displayed eg. YouTube > - If a site does not have a favicon, site's first letter will be generated Eg. Everlane "E" - Drag and drop > Drag and drop `YouTube` favicon below `bbc` > - The reorder happens seamlessly without issues > - Clicked on the `bbc` favicon on the `Sidebar` to open the website - Responsiveness > - Added few sites to `Sidebar` beyond the visible window size > - Up arrow and down arrow are visible and clickable to move thru website icons that are not visible > - Up and down arrows are disabled depending upon location example | example | example | example | example ---------|---------|-----------|---------|-------- Screen Shot 2022-03-27 at 11 18 35 AM | Screen Shot 2022-03-27 at 11 19 18 AM | Screen Shot 2022-03-27 at 11 19 28 AM | Screen Shot 2022-03-27 at 11 23 31 AM | Screen Shot 2022-03-27 at 11 25 18 AM

Testcase 4: Sidebar - Settings icon - PASSED

- Click `Settings` icon on the Sidebar - `brave://settings/?search=Show%20Sidebar` page opened - `Show Sidebar Enabled` entry in `Appearance` page highlighted in Yellow - `Always` option was selected as a default - Select `on mouseover' - Return to `Normal window` - `Sidebar` is not displayed on the left - `Hover over` to display the `Sidebar` - Verified `Sidebar` is available only on hover state in the `Private Window` and `Private Window with TOR` - Select Never in the drop down - Return to `Normal window` - `Sidebar` is not displayed for `Normal window`, `Private Window` and `Private Window with TOR` - Select `Always' again - `Sidebar` is displayed for `Normal window`, `Private Window` and `Private Window with TOR` example | example | example | example ---------|----------|---------|--------- Screen Shot 2022-03-27 at 12 57 57 AM | Screen Shot 2022-03-27 at 12 59 10 AM | Screen Shot 2022-03-27 at 12 59 39 AM | Screen Shot 2022-03-27 at 12 59 13 AM
Testcase 5: `Sidebar` Should Be Available in Normal, Private, and Private Window With TOR As a default - PASSED
- Launch `Brave` - `Sidebar` is displayed in the Normal window as a default with default widgets - Click on `Hamburger` menu and select New Private window OR Ctrl+Shift+N - `Sidebar` as a default is displayed in the Private window with any favicons and default widgets - Click on `Hamburger` menu and select New private window with TOR OR Alt+Shift+N - Sidebar as a default is displayed in the Private window with TOR and any favicons and default widgets example | example | example ---------|----------|--------- Screen Shot 2022-03-27 at 1 20 37 AM | Screen Shot 2022-03-27 at 1 21 12 AM | Screen Shot 2022-03-27 at 1 21 28 AM
Testcase 6: Sidebar Options functionality - PASSED
- Launch Brave - Right click in the empty space on the `Sidebar` to open up `Show Sidebar` options - Verified `Always` option is selected and is a default in the `Sidebar` - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Normal Window - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Private Window - Verified `Always` option is selected in `Show Sidebar` in Hamburger menu as a default in Private Window with TOR - Verified `Always` option is selected for `Show Sidebar enabled` entry in `brave://settings/appearance` as default - Select `On mouseover` on the Sidebar - Sidebar is displayed in hovered state - Verified `On mouseover` option is selected and in the `Sidebar` - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Normal Window - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Private Window - Verified `On mouseover` option is selected in `Show Sidebar` in Hamburger menu in Private Window with TOR - Verified `On mouseover` option is selected for `Show Sidebar enabled` entry in `brave://settings/appearance` - Select `never` in the `Sidebar` - Verified `Sidebar` is no longer displayed - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Normal Window - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Private Window - Verified `never` option is selected in `Show Sidebar` in Hamburger menu in Private Window with TOR - Verified `never` option is selected for `Show Sidebar enabled` entry in `brave://settings/appearance` `Always` example | example | example ---------|----------|--------- Screen Shot 2022-03-27 at 1 35 10 AM | Screen Shot 2022-03-27 at 1 35 34 AM | Screen Shot 2022-03-27 at 1 34 43 AM `On mouseover` example | example | example ---------|----------|--------- Screen Shot 2022-03-27 at 1 27 55 AM | Screen Shot 2022-03-27 at 1 26 31 AM | Screen Shot 2022-03-27 at 1 28 26 AM
Testcase 7: `Bookmarks Sidebar panel` UI and Functionality - PASSED
- Launch `Brave` - Hovered over and click `Bookmarks` icon in the `Sidebar` - `Bookmarks sidebar panel` is displayed with `Bookmarks` and `Other bookmarks` folders - Clicked on `Youtube `favicon on the `Sidebar` to open `Youtube.com` website - `Add Bookmark` > - Bookmarked `YouTube.com` site in the `Bookmarks `folder in the sidebar panel > - Verify the site is available in the `Bookmarks `folder in the sidebar panel > - Bookmarked one more site `Sony.com` and the site is displayed > - Added couple of folders for Media and Sports in the sidebar panel for Bookmarks folder > - Bookmark `https://www.callawaygolf.com/` under Sports folder - `Drag and Drop` > - `Drag and drop` `YouTube` and `Sony `sites to Media folder > - Drag and drop bookmarks to organize them > - `Bookmark sidebar panel` displayed both Media and Sports folders and bookmarked sites - `Remove` > - Right click on `YouTube` bookmark in the `bookmark sidebar panel` to `remove` and the bookmark should be longer listed - `Rename` > - Right click to `rename` `Sony group portal` bookmark and edit to `Sony` and new name should be displayed > - Bookmarked a site and drag and dropped a site from Bookmark folder to Other bookmarks folder - Clicked Bookmarks icon to close the sidebar panel example | example | example ---------|---------|--------- Screen Shot 2022-03-27 at 11 43 07 AM | Screen Shot 2022-03-27 at 11 43 13 AM | Screen Shot 2022-03-27 at 11 43 23 AM
Testcase 8: Bookmarks sidebar panel - Bookmark context menu - PASSED
- Launch Brave - Hover over `bbc.com` bookmark in the `Bookmark sidebar panel` - Right click to open context menu for - Select `Open in Tab` for `BBC` bookmark - BBC site should open in a new Tab - Hover over `nytimes` bookmark - Select Open in New Window - `nytimes` opens in new window - Click on `Bookmarks` icon to verify all the bookmarks from original window are preserved - Verified window is displayed with Sidebar with all the existing favicons preserved - Hover over `Time` bookmark - Right click and Select `Open in Private window` - `Time` opens in a Private window - Clicked on Bookmarks icon to verify all the bookmarks from original window are preserved - Verified Sidebar with all existing favicons are preserved Screen Shot 2022-03-27 at 12 50 27 AM
Testcase 9: Wallet Icon on the Sidebar - PASSED
- Launch Brave - Click on Wallet icon on the `Sidebar` - If the Wallet icon is selected first time, 'Welcome to the new Brave Wallet' onboarding page should be displayed - Complete onboarding process to display portfolio page - Close and relaunch the browser - Click on Wallet icon on the Sidebar example | example ---------|--------- Screen Shot 2022-03-27 at 12 37 59 AM | Screen Shot 2022-03-27 at 12 40 19 AM
Testcase 10: Brave Talk Icon on the Sidebar - PASSED
- Launch Brave - Click on Brave Talk icon on the `Sidebar` - The icon is highlighted in red and Brave talk home page should be displayed Screen Shot 2022-03-27 at 12 36 55 AM
Testcase 11: Verify Sidebar UI look and feel for Dark theme - PASSED
Screen Shot 2022-03-27 at 12 21 24 AM
Testcase 12: Upgrade - PASSED
- Updated from `1.36.220 Chromium: 99.0.4844.83` to `1.37.105 Chromium: 100.0.4896.46` - Sidebar displayed on `Normal`, `Private window` and `Private Window with TOR` - Sidebar is not enabled in Settings as per Logged #21726 - Manually enabled in this test example | example | example | example ---------|----------|---------|--------- Screen Shot 2022-03-27 at 3 19 55 PM |Screen Shot 2022-03-27 at 3 27 37 PM |Screen Shot 2022-03-27 at 3 27 45 PM | Screen Shot 2022-03-27 at 3 27 55 PM |