Skip to content

Commit 86b1fe0

Browse files
authored
Update e2e setup docs to reflect new tokens (#11041)
1 parent 7e44877 commit 86b1fe0

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

changelog/fix-e2e-setup

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Significance: patch
2+
Type: dev
3+
Comment: readme updates
4+
5+

tests/e2e/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For running E2E tests locally, create a new file named `local.env` under `tests/
3636

3737
```bash
3838
# WooPayments Dev Tools Repo
39-
WCP_DEV_TOOLS_REPO='https://github.com/dev-tools-repo.git or [email protected]:org/dev-tools-repo.git'
39+
WCP_DEV_TOOLS_REPO='https://github.com/dev-tools-repo-ci.git or [email protected]:org/dev-tools-repo-ci.git'
4040

4141
# Optional to see additional verbose output. Default false.
4242
DEBUG=false
@@ -92,7 +92,9 @@ E2E_JP_SITE_ID='<blog_id>'
9292

9393
If you wish to run E2E tests for WC Subscriptions, the following env variables need to be added to your `local.env` (replace values as required).
9494

95-
For the `E2E_GH_TOKEN`, follow [these instructions to generate a GitHub Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) and assign the `repo` scope to it.
95+
For the `E2E_GH_TOKEN`, follow [these instructions to generate a GitHub Fine-grained Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token).
96+
97+
The token should have access to the subscriptions repo.
9698

9799
```bash
98100
E2E_GH_TOKEN='githubPersonalAccessToken'

0 commit comments

Comments
 (0)