-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Simplify variations pull requests testing process #39689
Comments
Test casesOnly 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. By default
|
The above requires |
Verified with
|
Verification
|
Example |
Example |
Example |
---|---|---|
- restarted
1.68.124 Chromium: 127.0.6533.57
and ensured that the studies/variations were being pulled/applied - ensured that
--variations-server-url=https://variations.brave.com/seed
is visible viabrave://version
- ensured that
--variations-insecure-server-url=https://variations.brave.com/seed
is visible viabrave://version
Example |
Example |
Example |
---|---|---|
Test Case #2
- (online
stub executable using https://variations.brave.com/seed
as default) - PASSED
STR/Cases:
- launched
1.68.124 Chromium: 127.0.6533.57
via thestub
online executable and visitedbrave://version
- ensured that
--variations-server-url=https://variations.brave.com/seed
is visible viabrave://version
- ensured that
--variations-insecure-server-url=https://variations.brave.com/seed
is visible viabrave://version
- ensured that the studies/variations were being pulled/applied via
brave://version
Example |
Example |
Example |
---|---|---|
Test Case #3
- Setting test seed using --variations-pr=
- PASSED
STR/Cases:
- launched
1.68.124 Chromium: 127.0.6533.57
usingbrave.exe --enable-logging=stderr --variations-pr=1123
- ensured that there's no variations being displayed via
brave://version
(requires a restart to apply the pulled variation) - re-launched using
brave.exe --enable-logging=stderr --variations-pr=1123
- ensured that the following parameters/switches are present/visible under
Command Line
--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
- ensured that
pull/1123@1082ba20390784d33de2b4e6275434deef6c4633 BraveAdsAdEventStudy:Enabled
is being displayed underActive variations:
viabrave://version
Example |
Example |
---|---|
Test Case #4
- ensuring https://variations.brave.com/seed
is being restored - PASSED
STR/Cases:
- after running through
Test Case #2
above, removed--variations-pr=1123
and started1.68.124 Chromium: 127.0.6533.57
usingbrave.exe --enable-logging=stderr
. - ensured that the following two parameters/switches are visible under
Command Line
viabrave://version
--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
- ensured that the following parameters/switches are not visible/present via
Command Line
underbrave://version
--accept-empty-variations-seed-signature
--disable-variations-seed-fetch-throttling
Example |
Example |
---|---|
Test Case #5
- Upgrade from 1.67.134 Chromium: 126.0.6478.186
-> 1.68.124 Chromium: 127.0.6533.57
- PASSED
STR/Cases:
- installed
1.67.134 Chromium: 126.0.6478.186
and relaunched so the studies are applied/visible viabrave://version
- upgraded to
1.68.124 Chromium: 127.0.6533.57
viabrave://settings/help
- ensured that once updated, the variations/studies are still visible/being applied via
brave://version
1.67.134 Chromium: 126.0.6478.186 |
1.68.124 Chromium: 127.0.6533.57 |
---|---|
Verification PASSED on
|
Example |
Example |
Example |
Example |
---|---|---|---|
Test Case #2
- Setting test seed using --variations-pr=
- PASSED
Prerequisite:
ensured that the network on the device has been disabled before setting --variations-pr=
STR/Cases:
- installed/launched
1.68.125 Chromium: 127.0.6533.57
- added
--variations-pr=
1123via
Command Line Stringunder the
QA Developer` settings - closed Brave and re-enabled the devices network/WiFi
- visited
brave://version
and ensured there was nothing being listed underVariations
viabrave://version
- restarted
1.68.125 Chromium: 127.0.6533.57
once again after waiting~10s
- ensured that the following parameters/switches are present/visible under
Command Line
--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
Example |
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|---|
- ensured that
pull/1123@1082ba20390784d33de2b4e6275434deef6c4633 BraveAdsAdEventStudy:Enabled
is being displayed underActive variations:
viabrave://version
Test Case #3
- ensuring https://variations.brave.com/seed
is being restored - PASSED
STR/Cases:
- after running through
Test Case #2
above, removed--variations-pr=1123
from theCommand Line String
under theQA Developer
settings and restarted1.69.113 Chromium: 127.0.6533.43
- waited
~10s
and restarted1.69.113 Chromium: 127.0.6533.43
once again - ensured that the following two parameters/switches are visible under
Command Line
viabrave://version
--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
Example |
Example |
Example |
Example |
---|---|---|---|
- ensured that the following parameters/switches are not visible/present via
Command Line
underbrave://version
--accept-empty-variations-seed-signature
--disable-variations-seed-fetch-throttling
Example |
Example |
---|---|
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
STR/Cases:
- installed/launched
1.68.125 Chromium: 127.0.6533.57
- visited
brave://version
and ensured that the following parameters/switches were being used viaCommand Line
- ensured that
production
variations/studies were being displayed viabrave://version
--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
Example |
Example |
Example |
---|---|---|
Test Case #2
- Setting test seed using --variations-pr=
- PASSED
Prerequisite:
ensured that the network on the device has been disabled before setting --variations-pr=
STR/Cases:
- installed/launched
1.68.125 Chromium: 127.0.6533.57
- added
--variations-pr=
1123via
Command Line Stringunder the
QA Developer` settings - closed Brave and re-enabled the devices network/WiFi
- visited
brave://version
and ensured there was nothing being listed underVariations
viabrave://version
- restarted
1.68.125 Chromium: 127.0.6533.57
once again after waiting~10s
- ensured that the following parameters/switches are present/visible under
Command Line
--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
Example |
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|---|
- ensured that
pull/1123@1082ba20390784d33de2b4e6275434deef6c4633 BraveAdsAdEventStudy:Enabled
is being displayed underActive variations:
viabrave://version
Test Case #3
- ensuring https://variations.brave.com/seed
is being restored - PASSED
STR/Cases:
- after running through
Test Case #2
above, removed--variations-pr=1123
from theCommand Line String
under theQA Developer
settings and restarted1.69.113 Chromium: 127.0.6533.43
- waited
~10s
and restarted1.69.113 Chromium: 127.0.6533.43
once again - ensured that the following two parameters/switches are visible under
Command Line
viabrave://version
--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
Example |
Example |
Example |
Example |
---|---|---|---|
- ensured that the following parameters/switches are not visible/present via
Command Line
underbrave://version
--accept-empty-variations-seed-signature
--disable-variations-seed-fetch-throttling
Example |
Example |
---|---|
Verification PASSED on
|
Example |
Example |
Example |
---|---|---|
Test Case #2
- Setting test seed using --variations-pr=
- PASSED
(using provided switch)
Prerequisite:
ensured that the network on the device has been disabled before setting --variations-pr=
STR/Cases:
- installed
1.68.130 Chromium: 127.0.6533.73
via TF - enabled the
Variations PR
switch underBraveCore Switches
and entered1123
as the value - closed Brave and re-enabled the devices network/WiFi
- visited
brave://version
and ensured there was nothing being listed underVariations
viabrave://version
- restarted
1.68.130 Chromium: 127.0.6533.73
once again after waiting~10s
- ensured that the following parameters/switches are present/visible under
Command Line
--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
Example |
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|---|
- ensured that
pull/1123@1082ba20390784d33de2b4e6275434deef6c4633 BraveAdsAdEventStudy:Enabled
is being displayed underActive variations:
viabrave://version
Test Case #3
- ensuring https://variations.brave.com/seed
is being restored - PASSED
STR/Cases:
- after running through
Test Case #2
above, removed--variations-pr=1123
from theCommand Line String
under theQA Developer
settings and restarted1.68.130 Chromium: 127.0.6533.73
- waited
~10s
and restarted1.68.130 Chromium: 127.0.6533.73
once again - ensured that the following two parameters/switches are visible under
Command Line
viabrave://version
--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|
- ensured that the following parameters/switches are not visible/present via
Command Line
underbrave://version
--accept-empty-variations-seed-signature
--disable-variations-seed-fetch-throttling
Example |
Example |
---|---|
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
STR/Cases:
- installed
1.68.130 Chromium: 127.0.6533.73
via TF - visited
brave://version
and ensured that there's no studies/variations being listed - restarted
1.68.130 Chromium: 127.0.6533.73
once again - visited
brave://version
and ensured that the following parameters/switches were being used viaCommand Line
- ensured that
production
variations/studies were being displayed viabrave://version
--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
Example |
Example |
Example |
---|---|---|
Test Case #2
- Setting test seed using --variations-pr=
- PASSED
(using provided switch)
Prerequisite:
ensured that the network on the device has been disabled before setting --variations-pr=
STR/Cases:
- installed
1.68.130 Chromium: 127.0.6533.73
via TF - enabled the
Variations PR
switch underBraveCore Switches
and entered1123
as the value - closed Brave and re-enabled the devices network/WiFi
- visited
brave://version
and ensured there was nothing being listed underVariations
viabrave://version
- restarted
1.68.130 Chromium: 127.0.6533.73
once again after waiting~10s
- ensured that the following parameters/switches are present/visible under
Command Line
--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
Example |
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|---|
- ensured that
pull/1123@1082ba20390784d33de2b4e6275434deef6c4633 BraveAdsAdEventStudy:Enabled
is being displayed underActive variations:
viabrave://version
Test Case #3
- ensuring https://variations.brave.com/seed
is being restored - PASSED
STR/Cases:
- after running through
Test Case #2
above, removed--variations-pr=1123
from theCommand Line String
under theQA Developer
settings and restarted1.68.130 Chromium: 127.0.6533.73
- waited
~10s
and restarted1.68.130 Chromium: 127.0.6533.73
once again - ensured that the following two parameters/switches are visible under
Command Line
viabrave://version
--variations-server-url=https://variations.brave.com/seed
--variations-insecure-server-url=https://variations.brave.com/seed
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|
- ensured that the following parameters/switches are not visible/present via
Command Line
underbrave://version
--accept-empty-variations-seed-signature
--disable-variations-seed-fetch-throttling
Example |
Example |
---|---|
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 #33654
The text was updated successfully, but these errors were encountered: