Closed goodov closed 2 months ago
Only one desktop platform can be tested here (mac/linux/windows), don't need to test all of them. Android and iOS should be tested both.
https://variations.brave.com/seed
is usedbrave://version
--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
is present in "Command Line" field.
--variations-pr
command line flagFor the test we will use a test seed from this draft PR: https://github.com/brave/brave-variations/pull/1123
The seed contains a single study BraveAdsAdEventStudy
enabled on all platforms.
--variations-pr=1123
parameter (on Android use debug menu to set command line; on iOS set "Variations PR" parameter in Brave-core debug menu).brave://version
--accept-empty-variations-seed-signature
--disable-variations-seed-fetch-throttling
--variations-server-url=https://griffin.brave.com/pull/1123/seed
--variations-insecure-server-url=https://griffin.brave.com/pull/1123/seed
is present in "Command Line" field.
https://variations.brave.com/seed
is restored--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
is present in "Command Line" field.
--accept-empty-variations-seed-signature
--disable-variations-seed-fetch-throttling
The above requires 1.68.124
or higher for 1.68.x
verification 👍 @brave/qa-team please use https://github.com/brave/brave-core/pull/24604#issuecomment-2229417488 or https://github.com/brave/brave-core/pull/24604#issuecomment-2231943968 as the template. Would recommend using https://github.com/brave/brave-core/pull/24604#issuecomment-2231943968 as it has several other cases for Desktop
like an upgrade case that should also be checked.
PASSED
usingBrave | 1.68.124 Chromium: 127.0.6533.57 (Official Build) (x86_64)
-- | --
Revision | d048917c488542dc56e67059011b2cf9d6043bb9
OS | macOS Version 11.7.10 (Build 20G1427)
Test Case #1
- (universal
executable using https://variations.brave.com/seed
as default) - PASSED
Test Case #2
- (x64
executable using https://variations.brave.com/seed
as default) - PASSED
Test Case #3
- Setting test seed using --variations-pr=
- PASSED
Test Case #4
- ensuring https://variations.brave.com/seed
is being restored - PASSED
Test Case #5
- Upgrade from 1.67.134 Chromium: 126.0.6478.186
-> 1.68.124 Chromium: 127.0.6533.57
- PASSED
Verified with
Brave | 1.68.124 Chromium: 127.0.6533.57 (Official Build) (64-bit) |
---|---|
Revision | d048917c488542dc56e67059011b2cf9d6043bb9 |
OS | Linux |
Test Case #1
- (offline
executable using https://variations.brave.com/seed
as default) - PASSED
Test Case #2
- (online
using https://variations.brave.com/seed
as default) - PASSED
Test Case #3
- Setting test seed using --variations-pr=
- PASSED
Test Case #4
- ensuring https://variations.brave.com/seed
is being restored - PASSED
Test Case #5
- Upgrade from 1.69.102 Chromium: 127.0.6533.43
-> 1.69.110 Chromium: 127.0.6533.43
- PASSED
Verification Passed
using
Brave | 1.68.124 Chromium: 127.0.6533.57 (Official Build) (64-bit)
-- | --
Revision | d048917c488542dc56e67059011b2cf9d6043bb9
OS | Windows 11 Version 23H2 (Build 22631.3880)
Test Case #1
- (offline
executable using https://variations.brave.com/seed
as default) - PASSED
Test Case #2
- (online
stub executable using https://variations.brave.com/seed
as default) - PASSED
Test Case #3
- Setting test seed using --variations-pr=
- PASSED
Test Case #4
- ensuring https://variations.brave.com/seed
is being restored - PASSED
Test Case #5
- Upgrade from 1.67.134 Chromium: 126.0.6478.186
-> 1.68.124 Chromium: 127.0.6533.57
- PASSED
Verification PASSED on Pixel 6 Pro
running Android 15
using the following build(s):
Brave | 1.68.125 Chromium: 127.0.6533.57 (Official Build) (64-bit)
--- | ---
Revision | 14ff4d467fb3eec4e6fc0a2f3e2d3f7b4c8cb788
OS | Android 15; Build/AP31.240617.009; 35; REL
Test Case #1
- using https://variations.brave.com/seed
as default - PASSED
Test Case #2
- Setting test seed using --variations-pr=
- PASSED
Test Case #3
- ensuring https://variations.brave.com/seed
is being restored - PASSED
Verification PASSED on Samsung Galaxy Tab S8 Ultra
running Android 14
using the following build(s):
Brave | 1.68.125 Chromium: 127.0.6533.57 (Official Build) (64-bit)
--- | ---
Revision | 14ff4d467fb3eec4e6fc0a2f3e2d3f7b4c8cb788
OS | Android 14; Build/UP1A.231005.007; 34; REL
Test Case #1
- using https://variations.brave.com/seed
as default - PASSED
Test Case #2
- Setting test seed using --variations-pr=
- PASSED
Test Case #3
- ensuring https://variations.brave.com/seed
is being restored - PASSED
Verification PASSED on iPhone 11
running iOS 17.5.1
using the following build(s):
Brave | 1.68.130 Chromium: 127.0.6533.73 (Official Build) stable (64-bit)
--- | ---
Revision | 841d137ffede...
OS | iOS
Test Case #1
- using https://variations.brave.com/seed
as default - PASSED
Test Case #2
- Setting test seed using --variations-pr=
- PASSED
(using provided switch)Test Case #3
- ensuring https://variations.brave.com/seed
is being restored - PASSED
Verification PASSED on iPad Air (3rd Gen)
running iOS 17.6
using the following build(s):
Brave | 1.68.130 Chromium: 127.0.6533.73 (Official Build) stable (64-bit)
--- | ---
Revision | 841d137ffede0c1166265873663e6ebc56f93aa6
OS | iOS
Test Case #1
- using https://variations.brave.com/seed
as default - PASSED
Test Case #2
- Setting test seed using --variations-pr=
- PASSED
(using provided switch)Test Case #3
- ensuring https://variations.brave.com/seed
is being restored - PASSED
Description
Add support for
--variations-pr=<pull_number>
command line flag that will automatically set required flags to fetch the test seed generated as a part of https://github.com/brave/brave-variations pull request.Related https://github.com/brave/brave-browser/issues/33654