Closed rebron closed 1 year ago
The above requires 1.46.138
or higher for 1.46.x
verification 👍 I think one platform for both Desktop
& Android
is enough. Maybe run through macOS
as I went through Win 11 x64
on Nightly as per https://github.com/brave/brave-variations/pull/479#issuecomment-1340356174. As per @rebron, we won't be pushing the Griffin study on the Release
channel until we have more information from the Nightly
& Beta
channels.
@brave/qa-team can follow the STR/Cases outlined via https://github.com/brave/brave-variations/pull/479#issuecomment-1340356174 & https://github.com/brave/brave-variations/pull/479#issuecomment-1340400758 but use the flag mentioned via https://github.com/brave/brave-core/pull/16185#issue-1471452908 rather than using Griffin staging
like I did.
Verified with
Brave | 1.46.138 Chromium: 108.0.5359.94 (Official Build) (x86_64)
-- | --
Revision | 713576b895246504ccc6b92c2fb8ce2d60194074-refs/branch-heads/5359_71@{#3}
OS | macOS Version 12.6.1 (Build 21G217)
Per https://github.com/brave/brave-browser/issues/27040#issuecomment-1340405222, verifying cases from https://github.com/brave/brave-variations/pull/479#issuecomment-1340356174 using flag mentioned in https://github.com/brave/brave-core/pull/16185#issue-1471452908.
Note - tested with staging env for Brave Translate due to production server side problems. See https://bravesoftware.slack.com/archives/C03MMJ4CHEZ/p1670421276597499 for additional context.
Test Case #1
- AutoTranslateDisabled
once Always translate
selected via context menu1.46.138 Chromium: 108.0.5359.94
using --args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js
https://fr.wikipedia.org/wiki
and ensured that the Brave Translate
icon appears within the URLAlways Translate French
was being listed via the context menu under the Brave Translate
buttonAlways Translate French
and visited several other French pages and ensured they were being translated--args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js --disable-features=BraveEnableAutoTranslate
BraveAutoTranslateStudy:AutoTranslateDisabled
is not displayed via brave://version
as the griffin study is not rolled out to Release yet, and I used the command line flag to disable thishttps://fr.wikipedia.org/wiki
isn't being automatically translated anymore as Always Translate
was disabledFrench
& English
Choose another language
, Never translate
, Never translate this site
& Page is not in French
are workingExample |
Example |
Example |
Example |
Example |
---|---|---|---|---|
Test Case #2
- AutoTranslateDisabled
once Always translate
selected once it appears automatically in the button1.46.138 Chromium: 108.0.5359.94
using --args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js
https://fr.wikipedia.org/wiki
and ensured that the Brave Translate
icon appears within the URLAlways Translate French
was being listed via the context menu under the Brave Translate
buttonhttps://fr.wikipedia.org/wiki
until you see Always translate French
under the targeted translationsAlways translate French
once it appears under the targeted translations--args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js --disable-features=BraveEnableAutoTranslate
BraveAutoTranslateStudy:AutoTranslateDisabled
is not displayed via brave://version
as the griffin study is not rolled out to Release yet, and I used the command line flag to disable thishttps://fr.wikipedia.org/wiki
isn't being automatically translated anymore as Always Translate
was disabledFrench
& English
Choose another language
, Never translate
, Never translate this site
& Page is not in French
are workingExample |
Example |
Example |
Example |
Example |
---|---|---|---|---|
Test Case #3
- Clean Install/Profile1.46.138 Chromium: 108.0.5359.94
using --args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js --disable-features=BraveEnableAutoTranslate
--args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js --disable-features=BraveEnableAutoTranslate
BraveAutoTranslateStudy:AutoTranslateDisabled
is not displayed via brave://version
as the griffin study is not rolled out to Release yet, and I used the command line flag to disable thishttps://fr.wikipedia.org/wiki
and ensure that the Brave Translate
is triggered and a translation is offeredAlways Translate
isn't visible/available via the context menuAlways translate French
never appears under the targeted translation after visiting/translating several websitesFrench
& English
Choose another language
, Never translate
, Never translate this site
& Page is not in French
are workingExample |
Example |
Example |
---|---|---|
Probably should exclude this from the notes as this will be enabled a bit after the release. @LaurenWags @rebron please re-add if you feel differently.
Verification passed on Oppo Reno 5 with Android 12 running 1.46.138 x64 build
Test Case 1: Auto Translate Disabled via flag
https://fr.wikipedia.org
--disable-features:BraveEnableAutoTranslate
https://fr.wikipedia.org
Always Translate pages in French
option is removedTest Case 2: Page Auto-Translate checked and then disabled via flag
https://fr.wikipedia.org
--disable-features:BraveEnableAutoTranslate
https://fr.wikipedia.org
Always Translate pages in French
option is removedTest Case 1 | Test Case 2 |
---|---|
Description
Temporarily disable auto translate in Brave Translate by hiding the ui checkbox and menu option as well as disabling the setting for those who have previously checked the setting to on.
Place auto translate feature behind a flag that where rollout of the feature can be controlled via griffin.
Expected result:
Current result:
Desktop Brave version:
Targeted for 1.46.x
Android Device details:
Version/Channel Information:
Other Additional Information:
Miscellaneous Information: