From 7a1e77df27b1e1ae593f066a6d138c37c3954c09 Mon Sep 17 00:00:00 2001 From: Aleksey Khoroshilov Date: Wed, 17 Jul 2024 20:53:55 +0700 Subject: [PATCH] Update the seed testing instructions. --- .github/workflows/generate-test-seed.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generate-test-seed.yml b/.github/workflows/generate-test-seed.yml index 812c3282..3afacec5 100644 --- a/.github/workflows/generate-test-seed.yml +++ b/.github/workflows/generate-test-seed.yml @@ -92,10 +92,14 @@ jobs: const commentBody = `## ✅ Test Seed Generated Successfully - To test the new seed, launch the browser with the following command line: - \`\`\` - --accept-empty-variations-seed-signature --variations-server-url=${variationsServerURL} - \`\`\` + To apply the test seed: + + 1. **Desktop**: Launch the browser with \`--variations-pr=${{ github.event.pull_request.number }}\`. + **Android**: Set the command line to \`--variations-pr=${{ github.event.pull_request.number }}\` in debug menu, restart the browser. + **iOS**: Set \`Variations PR\` to \`${{ github.event.pull_request.number }}\` in \`Brave Core Switches\` debug menu, restart the browser. + 2. Wait 5-10 seconds to fetch the seed. + 3. Restart the browser to apply the seed. + 4. Ensure **Active Variations** section at \`brave://version\` starts with the expected seed version (see below). #### Seed Details - Version: \`${process.env.SEED_VERSION}\`