Skip to content

Commit 562eac3

Browse files
chore: readme
1 parent 01478da commit 562eac3

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,15 @@ yarn && yarn build
135135
yarn update-snapshots
136136
```
137137

138+
## e2e Org configuration (for NUTs)
139+
140+
If a new org is required for NUTs tests, these are the steps to create and configure one.
141+
142+
1. Create a new STM org in [Org Farm](https://orgfarm.salesforce.com/farms)
143+
2. [Create a Connected App](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_connected_app.htm)
144+
3. Enable JWT authentication and [test it](https://developer.salesforce.com/docs/atlas.en-us.260.0.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_org_commands_unified.htm#cli_reference_org_login_jwt_unified)
145+
4. Use the credentials as values for the respective NUTS environment variables.
146+
138147
## Running NUTs (integration tests) locally
139148

140149
NUTs (integration tests) run the plugin against a real org and, for component-preview tests, a real browser (Playwright). To run them locally:

yarn.lock

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3618,6 +3618,13 @@
36183618
resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.2.9.tgz#d229a7b7f9dac167a156992ef23c7f023653f53b"
36193619
integrity sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==
36203620

3621+
"@playwright/test@^1.49.0":
3622+
version "1.58.2"
3623+
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.58.2.tgz#b0ad585d2e950d690ef52424967a42f40c6d2cbd"
3624+
integrity sha512-akea+6bHYBBfA9uQqSYmlJXn61cTa+jbO87xVLCWbTqbWadRVmhxlXATaOjOgcBaWU4ePo0wB41KMFv3o35IXA==
3625+
dependencies:
3626+
playwright "1.58.2"
3627+
36213628
"@pnpm/config.env-replace@^1.1.0":
36223629
version "1.1.0"
36233630
resolved "https://registry.yarnpkg.com/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c"
@@ -7446,6 +7453,11 @@ fs.realpath@^1.0.0:
74467453
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
74477454
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
74487455

7456+
fsevents@2.3.2:
7457+
version "2.3.2"
7458+
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
7459+
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
7460+
74497461
fsevents@~2.3.2:
74507462
version "2.3.3"
74517463
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
@@ -10405,6 +10417,20 @@ pkg-dir@^4.1.0:
1040510417
dependencies:
1040610418
find-up "^4.0.0"
1040710419

10420+
playwright-core@1.58.2:
10421+
version "1.58.2"
10422+
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.58.2.tgz#ac5f5b4b10d29bcf934415f0b8d133b34b0dcb13"
10423+
integrity sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg==
10424+
10425+
playwright@1.58.2, playwright@^1.49.0:
10426+
version "1.58.2"
10427+
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.58.2.tgz#afe547164539b0bcfcb79957394a7a3fa8683cfd"
10428+
integrity sha512-vA30H8Nvkq/cPBnNw4Q8TWz1EJyqgpuinBcHET0YVJVFldr8JDNiU9LaWAE1KqSkRYazuaBhTpB5ZzShOezQ6A==
10429+
dependencies:
10430+
playwright-core "1.58.2"
10431+
optionalDependencies:
10432+
fsevents "2.3.2"
10433+
1040810434
pluralize@^8.0.0:
1040910435
version "8.0.0"
1041010436
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1"

0 commit comments

Comments
 (0)