You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This repository contains examples of how to test the Salesforce UI using the [UT
9
9
> These recipes are designed to work with a generic Salesforce org. If your org has customizations, you might need to modify page objects or tests locally to avoid errors.
10
10
11
11
> [!IMPORTANT]
12
-
> __This repository's page objects and UI tests are compatible with the Salesforce Spring'24 release.__
12
+
> __This repository's page objects and UI tests are compatible with the Salesforce Summer'25 release.__
13
13
14
14
## Project structure
15
15
@@ -190,13 +190,13 @@ Follow the steps in the [Quick Start: Lightning Web Components](https://trailhea
190
190
1. If you haven't already done so, authorize your hub org and provide it with an alias (**myhuborg** in the command below). Use the login credentials generated from your Trailhead Playground in the Prerequisites section above or your own Developer Edition org if you prefer:
191
191
192
192
```sh
193
-
$ sfdx auth:web:login -d -a myhuborg
193
+
$ sf org login web --alias myhuborg
194
194
```
195
195
196
196
2. Create a scratch org and provide it with an alias (**utam-js-recipes** in the command below):
197
197
198
198
```sh
199
-
$ sfdx force:org:create -s -f config/project-scratch-def.json -a utam-js-recipes
199
+
$ sf orgcreate scratch -f config/project-scratch-def.json -a utam-js-recipes -o myhuborg
200
200
```
201
201
202
202
> [!NOTE]
@@ -213,13 +213,13 @@ Follow the steps in the [Quick Start: Lightning Web Components](https://trailhea
213
213
3. Push the app to your scratch org:
214
214
215
215
```sh
216
-
$ sfdx force:source:push
216
+
$ sf project deploy start -o myhuborg
217
217
```
218
218
219
219
4. Assign the **utam** permission set to the default user:
220
220
221
221
```sh
222
-
$ sfdx force:user:permset:assign -n utam
222
+
$ sf org assign permset -o myhuborg -n utam
223
223
```
224
224
225
225
> [!NOTE]
@@ -228,13 +228,13 @@ Follow the steps in the [Quick Start: Lightning Web Components](https://trailhea
228
228
5. Open the scratch org:
229
229
230
230
```sh
231
-
$ sfdx force:org:open
231
+
$ sf force source open -o myhuborg
232
232
```
233
233
234
234
If you need to recreate a scratch org:
235
235
236
-
- find created org `sfdx force:org:list --all`
237
-
- delete previously created org with `sfdx force:org:delete`. It will prompt you to delete the org from the list, or specify an org alias or email `sfdx force:org:delete -u utam-js-recipes`
236
+
- find created org `sf orglist --all`
237
+
- delete previously created org with `sfdx force:org:delete`. It will prompt you to delete the org from the list, or specify an org alias or email `sf orgdelete -u utam-js-recipes`
238
238
- recreate scratch orgs (repeat steps starting from step 3)
0 commit comments