-
Notifications
You must be signed in to change notification settings - Fork 19
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
Sync Test Plan #172
Comments
Verification PASSED on
Invalid/Can't run through the following cases:
Verification passed on
|
@btlechowski closing this off as it's basically completed 👍 Awesome job getting this created. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sync Test Plan
Important testing notes
Sync update takes right now up to 60 secondsWhen syncing lots of bookmarks use staging server; command line parameter is
--sync-url="https://sync-v2.bravesoftware.com/v2"
Logs can be shown with command params:
--enable-logging=stderr --v=0 --vmodule=*/sync/*=3,*/brave_sync/*=3,*/sync_bookmarks/*=3
Additional params:
--enable-logging=stderr --vmodule=traffic_logger=3
To lower sync cycle add
sync_cycle=0
:--enable-logging=stderr --v=0 --vmodule=*/sync/*=3,*/brave_sync/*=3,*/sync_bookmarks/*=3,sync_cycle=0
Use custom profile path to test many clients on one machine, example:
Standalone sync chain
Steps
brave://settings/braveSync/setup
Start a new sync chain
Computer
OK
Manage your synced devices
View Sync Code
brave://sync-internals/
:Passphrase Type
isPassphraseType::kCustomPassphrase
(from Sync v2 brave-core#5294)brave://sync-internals/
:Encrypted Types
isBookmarks, Preferences, Passwords, Autofill Profiles, Autofill, Autofill Wallet Metadata, Themes, Typed URLs, Extensions, Search Engines, Sessions, Apps, App settings, Extension settings, Dictionary, Favicon Images, Favicon Tracking, Device Info, App List, Arc Package, Printers, Reading List, Send Tab To Self, Wifi Configurations, Web Apps, OS Preferences
(from Sync v2 brave-core#5294)brave://sync-internals/
:Has Token
istrue
(from Sync v2 brave-core#5294)[profile]/Default/Preferences
:seed
inbrave_sync_v2
should not be your sync code (it is encrypted) (from Sync v2 brave-core#5294)[profile]/Default/Preferences
:v1_meta_info_cleared
istrue
(from Sync v2 brave-core#5294)[profile]/Default/Preferences
:v1_migrated
istrue
(from Sync v2 brave-core#5294)Steps
brave://settings/braveSync/setup
Start a new sync chain
Phone/Tablet
OK
Manage your synced devices
brave://sync-internals/
:Passphrase Type
isPassphraseType::kCustomPassphrase
(from Sync v2 brave-core#5294)brave://sync-internals/
:Encrypted Types
isBookmarks, Preferences, Passwords, Autofill Profiles, Autofill, Autofill Wallet Metadata, Themes, Typed URLs, Extensions, Search Engines, Sessions, Apps, App settings, Extension settings, Dictionary, Favicon Images, Favicon Tracking, Device Info, App List, Arc Package, Printers, Reading List, Send Tab To Self, Wifi Configurations, Web Apps, OS Preferences
(from Sync v2 brave-core#5294)brave://sync-internals/
:Has Token
istrue
(from Sync v2 brave-core#5294)[profile]/Default/Preferences
:seed
inbrave_sync_v2
should not be your sync code (it is encrypted) (from Sync v2 brave-core#5294)[profile]/Default/Preferences
:v1_meta_info_cleared
istrue
(from Sync v2 brave-core#5294)[profile]/Default/Preferences
:v1_migrated
istrue
(from Sync v2 brave-core#5294)Steps
brave://settings/braveSync/setup
Start a new sync chain
Computer
Steps
brave://settings/braveSync/setup
Start a new sync chain
Computer
x
located in the top right cornerSteps
brave://settings/braveSync/setup
Start a new sync chain
Computer
OK
Manage your synced devices
Steps
Sync Settings
are automatically turned onTransport State
is set toActive
inbrave://sync-internals/
brave://sync-internals/
:Passphrase Type
isPassphraseType::kCustomPassphrase
(from Sync v2 brave-core#5294)brave://sync-internals/
:Encrypted Types
isBookmarks, Preferences, Passwords, Autofill Profiles, Autofill, Autofill Wallet Metadata, Themes, Typed URLs, Extensions, Search Engines, Sessions, Apps, App settings, Extension settings, Dictionary, Favicon Images, Favicon Tracking, Device Info, App List, Arc Package, Printers, Reading List, Send Tab To Self, Wifi Configurations, Web Apps, OS Preferences
(from Sync v2 brave-core#5294)brave://sync-internals/
:Has Token
istrue
(from Sync v2 brave-core#5294)[profile]/Default/Preferences
:seed
inbrave_sync_v2
should not be your sync code (it is encrypted) (from Sync v2 brave-core#5294)[profile]/Default/Preferences
:v1_meta_info_cleared
istrue
(from Sync v2 brave-core#5294)[profile]/Default/Preferences
:v1_migrated
istrue
(from Sync v2 brave-core#5294)Steps
Transport State
is set toActive
inbrave://sync-internals/
Steps
Transport State
is set toDisabled
inbrave://sync-internals/
[profile]/Default/Preferences
:seed
is deleted frombrave_sync_v2
Steps
Transport State
is set toDisabled
inbrave://sync-internals/
[profile]/Default/Preferences
:seed
is deleted frombrave_sync_v2
Multiple devices sync chain
Steps
DeviceA
andDeviceB
DeviceA
openbrave://settings/braveSync/setup
DeviceA
clickStart a new sync chain
DeviceA
clickComputer
DeviceA
copy the code wordsDeviceA
clickOK
DeviceB
openbrave://settings/braveSync/setup
DeviceB
clickI have a sync Code
DeviceB
paste the code wordsDeviceB
clickConfirm
DeviceA
: Device list contains bothDeviceA
andDeviceB
DeviceB
: Device list contains bothDeviceA
andDeviceB
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
openbrave://settings/braveSync/setup
DeviceA
clickStart a new sync chain
DeviceA
clickComputer
DeviceA
copy the code wordsDeviceA
clickOK
DeviceB
openbrave://settings/braveSync/setup
DeviceB
clickI have a sync Code
DeviceB
paste the code wordsDeviceB
clickConfirm
DeviceA
andDeviceB
DeviceA
: Device list contains bothDeviceA
andDeviceB
DeviceB
: Device list contains bothDeviceA
andDeviceB
Steps
DeviceA
andDeviceB
DeviceA
openbrave://settings/braveSync/setup
DeviceA
clickStart a new sync chain
DeviceA
clickComputer
DeviceA
copy the code wordsDeviceB
use the invalid code wordsDeviceB
use the proper code wordsSteps
DeviceA
andDeviceB
DeviceA
openbrave://settings/braveSync/setup
DeviceA
clickStart a new sync chain
DeviceA
clickComputer
DeviceA
copy the code wordsDeviceB
use empty code wordsDeviceB
use the proper code wordsSteps
DeviceA
andDeviceB
DeviceA
openbrave://settings/braveSync/setup
DeviceA
clickStart a new sync chain
DeviceA
clickComputer
DeviceA
copy the code wordsDeviceB
use the code wordsSteps
DeviceB
: Leave sync chainDeviceB
: Prompt is shown asking if user is sure to leave sync chainDeviceB
: Sync chain is resetDeviceA
:DeviceB
is deleted from the sync chainSteps
DeviceB
: Leave sync chainDeviceB
: Prompt is shown asking if user is sure to leave sync chainDeviceB
: Sync chain is resetDeviceA
:DeviceB
is deleted from the sync chainSteps
Steps
Sync Bookmarks and Folders
Steps
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
DeviceB
: Add bookmarkB1
DeviceA
andDeviceB
Steps
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceB
: Add bookmark folderFB1
DeviceA
andDeviceB
Steps
DeviceA
andDeviceB
DeviceA
: Import sync1_DeviceA.html.txtDeviceB
: Import sync1_DeviceB.html.txtDeviceA
andDeviceB
Steps
DeviceA
: Add bookmarkA1
DeviceB
: Add bookmarkB1
DeviceA
: Add bookmarkA2
to FB1DeviceB
: Add bookmarkB2
to FA1Steps
DeviceA
: Add bookmarkA1
DeviceB
: Add bookmarkB1
DeviceA
: Add bookmarkA2
to FB1DeviceB
: Add bookmarkB2
to FA1Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Import sync1_DeviceA.html.txtDeviceB
: Import sync1_DeviceB.html.txtSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Import sync1_DeviceA.html.txtDeviceB
: Import sync1_DeviceB.html.txtSteps
DeviceA
: Add bookmark folderFA2
DeviceB
: Add bookmark folderFB2
DeviceA
: Add bookmark folderFA2
to FB1DeviceB
: Add bookmark folderFB2
to FA1Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
DeviceA
: Add bookmarkA2
DeviceA
: Add bookmarkA3
DeviceB
DeviceA
ORDeviceB
: MoveA1
to the endA2 A3 A1
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
DeviceA
: Add bookmarkA2
DeviceA
: Add bookmarkA3
DeviceB
DeviceA
ORDeviceB
: MoveA3
to the beginningA3 A1 A2
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceB
: Add bookmark folderFB1
DeviceA
: Add bookmarkA1
DeviceA
: Add bookmarkA2
DeviceB
: MoveA1
toFA1
DeviceA
: MoveA2
toFB1
FA1 -> A1
FB1 -> A2
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceB
: Add bookmark folderFB1
DeviceA
: Add bookmarkA1
toFA1
DeviceB
: MoveA1
toFB1
A1
is moved toFB1
on both devicesSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceA
: Add bookmarkA1
toFA1
DeviceA
: Add bookmarkA2
toFA1
DeviceA
: Add bookmarkA3
toFA1
FA1
->A1 A2 A3
DeviceB
DeviceA
ORDeviceB
: MoveA1
to the endFA1
->A2 A3 A1
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceB
: Add bookmark folderFB1
DeviceA
: Add bookmark folderFA2
DeviceB
: MoveFA1
toFA2
DeviceA
: MoveFA2
toFB1
FB1 -> FA2 -> FA1
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
DeviceA
: Add bookmarkA2
DeviceA
: Add bookmarkA3
DeviceB
DeviceA
: RenameA1
toA4
DeviceA
: RenameA2
toB1
A1
is renamed toA4
A2
is renamed toB1
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
DeviceB
DeviceA
: RenameA1
toA2
DeviceA
: RenameA1
toB1
A2
orB1
A1
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
with URLA1.com
DeviceB
DeviceA
: Change URL toA2.com
A2.com
on both devicesSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
DeviceB
DeviceB
: DeleteA1
A1
is deleted on both devicesSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceB
DeviceB
: RenameFA1
toFB1
FA1
is rename toFB1
on both devicesSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceB
DeviceB
: DeleteFA1
FA1
is deleted on both devicesSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceA
: Add bookmarkA1
DeviceB
: DeleteFA1
and the same time onDeviceA
: MoveA1
toFA1
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmark folderFA1
DeviceA
: Add bookmarkA1
DeviceB
DeviceB
: RenameFA1
toFB1
and the same time onDeviceA
: MoveA1
toFA1
FB1 -> A1
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
and bookmark itDeviceB
DeviceB
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openhttps://www.onet.pl
DeviceA
: Openhttps://www.interia.pl
and bookmark itDeviceB
DeviceA
: Change URL tohttps://www.onet.pl
https://www.onet.pl
on both devicesonet.pl
on both devicesSteps
Important: It is best to stress test on staging server, use
--sync-url="https://sync-v2.bravesoftware.com/v2"
DeviceA
andDeviceB
DeviceA
andDeviceB
on staging serverDeviceA
: Import brave_sorted_1000.htmlbrave://bookmarks
)Steps
Important: It is best to stress test on staging server, use
--sync-url="https://sync-v2.bravesoftware.com/v2"
DeviceA
andDeviceB
DeviceA
andDeviceB
on staging serverDeviceA
: Import brave_sorted_5000.htmlbrave://bookmarks
)Other Bookmarks
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
toOther Bookmarks
Other Bookmarks
folder is automatically shown on the right side of Bookmark barOther Bookmarks
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Add bookmarkA1
toOther Bookmarks
DeviceB
: Add bookmarkB1
toOther Bookmarks
DeviceA
: Add bookmark folderFA1
toOther Bookmarks
DeviceB
: Add bookmark folderFB1
toOther Bookmarks
DeviceA
: Delete all bookmarks and bookmarks folders fromOther Bookmarks
Other Bookmarks
Other Bookmarks
folder is automatically hidden from Bookmark barSync other stuff
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
DeviceA
: Openonet.pl
DeviceB
:interia.pl
is present inbrave://history/
DeviceB
:onet.pl
is present inbrave://history/
Steps
DeviceA
: Openbrave://settings/clearBrowserData
and clear browsing dataDeviceB
:interia.pl
is not present inbrave://history/
DeviceB
:onet.pl
is not present inbrave://history/
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
DeviceA
: Openonet.pl
DeviceB
:interia.pl
is present inbrave://history/
DeviceB
:onet.pl
is present inbrave://history/
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
History
syncingDeviceA
: Openinteria.pl
DeviceA
: Openonet.pl
DeviceB
: History is not synced, history is empty inbrave://history/
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
inGuest Window
DeviceA
: Openonet.pl
inGuest Window
DeviceB
:interia.pl
is not present inbrave://history/
DeviceB
:onet.pl
is not present inbrave://history/
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
inPrivate Window
DeviceA
: Openonet.pl
inPrivate Window
DeviceB
:interia.pl
is not present inbrave://history/
DeviceB
:onet.pl
is not present inbrave://history/
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
inPrivate Window with Tor
DeviceA
: Openonet.pl
inPrivate Window with Tor
DeviceB
:interia.pl
is not present inbrave://history/
DeviceB
:onet.pl
is not present inbrave://history/
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
DeviceA
: In URL field clickSend this page
DeviceB
: Click the NotificationDeviceB
: Notification is shown containing the page URLDeviceB
: When notification is clicked, page is opened in BraveSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
DeviceA
: Openonet.pl
in new tabDeviceB
:interia.pl
is present inHamburger Menu -> History
DeviceB
:onet.pl
is present inHamburger Menu -> History
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: OpenGuest Window
DeviceA
: Openinteria.pl
DeviceA
: Openonet.pl
in new tabDeviceB
:interia.pl
is not present inHamburger Menu -> History
DeviceB
:onet.pl
is not present inHamburger Menu -> History
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: OpenPrivate Window
DeviceA
: Opencnn.com
DeviceA
: Openfoxnews.com
in new tabDeviceB
:cnn.com
is not present inHamburger Menu -> History
DeviceB
:foxnews.com
is not present inHamburger Menu -> History
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: OpenPrivate Window with Tor
DeviceA
: Openwp.pl
DeviceA
: Openo2.pl
in new tabDeviceB
:wp.pl
is not present inHamburger Menu -> History
DeviceB
:o2.pl
is not present inHamburger Menu -> History
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
DeviceA
: Openonet.pl
in new tabDeviceB
:interia.pl
is present inHamburger Menu -> History
DeviceB
:onet.pl
is present inHamburger Menu -> History
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openinteria.pl
DeviceA
: Openonet.pl
in new tabDeviceA
: Turn Sync Open Tabs offDeviceB
:interia.pl
is not present inHamburger Menu -> History
DeviceB
:onet.pl
is not present inHamburger Menu -> History
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openbrave://settings/search
DeviceA
: Change default search engine toQwant
DeviceB
: Search fortest
in URL barDeviceB
:Qwant
is used in URL bar as default search engineDeviceB
: Default search engine inbrave://settings/search
isQwant
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openbrave://settings/searchEngines
DeviceA
: Add new search engineSearch engine
:techrepublic.com
Keyword
:techrepublic
URL:
http://www.techrepublic.com/search/?q=%s`DeviceB
: New search engine is added inbrave://settings/searchEngines
DeviceB
: Able to search with the new engine (Entertechrepublic
in URL Field and the hit space)Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openbrave://settings/search
DeviceA
: Change default search engine toQwant
DeviceB
: Search fortest
in URL barDeviceB
:Qwant
is used in URL bar as default search engineDeviceB
: Default search engine inbrave://settings/search
isQwant
Steps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: install https://chrome.google.com/webstore/detail/custom-cursor-for-chrome/ogdlpmhglpejoiomcodnpjnfgcpmgale/relatedDeviceB
: the extension is syncedSteps
DeviceA
: Openbrave://extensions/?id=ogdlpmhglpejoiomcodnpjnfgcpmgale
DeviceA
: Turn onAllow in private
DeviceB
: Openbrave://extensions/?id=ogdlpmhglpejoiomcodnpjnfgcpmgale
DeviceB
:Allow in private
is turned onSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: install https://chrome.google.com/webstore/detail/custom-cursor-for-chrome/ogdlpmhglpejoiomcodnpjnfgcpmgale/relatedDeviceB
: the extension is not syncedSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: install https://chrome.google.com/webstore/detail/custom-cursor-for-chrome/ogdlpmhglpejoiomcodnpjnfgcpmgale/relatedDeviceB
: the extension is syncedSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Install theme: https://chrome.google.com/webstore/detail/pro-grey/enhpebdanojkmhbbneclbkmpleemilajDeviceB
:pro grey
theme is usedSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: open https://www.w3schools.com/Tags/tryit.asp?filename=tryhtml5_input_type_passworduser
:test
password
:test1
DeviceB
: open https://www.w3schools.com/Tags/tryit.asp?filename=tryhtml5_input_type_passwordDeviceB
: user and password fill the fieldsSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: open https://www.w3schools.com/Tags/tryit.asp?filename=tryhtml5_input_type_passworduser
:test
password
:test1
DeviceB
: open https://www.w3schools.com/Tags/tryit.asp?filename=tryhtml5_input_type_passwordDeviceB
: user and password fill the fieldsSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openbrave://settings/payments
DeviceA
: Add new Payment methodDeviceB
: The payment method is syncedSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Openbrave://settings/addresses
DeviceA
: Add new AddressDeviceB
: The address is syncedSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceA
: Open interia.plDeviceA
: ClickInstall Interia
in the URL fieldDeviceB
: Open interia.plDeviceB
: Interia app is syncedSteps
DeviceA
andDeviceB
DeviceA
andDeviceB
DeviceB
:The text was updated successfully, but these errors were encountered: