Skip to content

Commit 9475bd7

Browse files
author
Kerem Beygo
committed
fixes
1 parent 7317c25 commit 9475bd7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/visual-testing/workflows/api-lifecycle.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ mutation {
9090

9191
- `id`: Upload ID to use in the subsequent steps.
9292
- `uploadUrl`: The URL to upload the image in the next step.
93-
- `domUploadUrl`: The URL to upload the DOM to (if available and desired). Explained in optional step below.
93+
- `domUploadUrl`: The URL to upload the DOM to (if desired and available). Explained in the optional step below.
9494

9595
Next, send a `PUT` request to `uploadUrl` with image file in the body of the request. Only **PNG** files are supported.
9696

97-
**cURL:**
97+
**cURL Request:**
9898

9999
```sh
100100
curl --request PUT \
@@ -111,7 +111,7 @@ Optional: Upload DOM
111111

112112
If desired (and available), DOM can be also uploaded to `domUploadUrl` obtained from `createSnapshotUpload` mutation.
113113

114-
**cURL:**
114+
**cURL Request:**
115115

116116
```sh
117117
curl --request PUT \
@@ -139,7 +139,7 @@ mutation {
139139
name: "Your snapshot name",
140140
operatingSystem: OS,
141141
operatingSystemVersion: "os-version",
142-
browser: BROWSER,
142+
browser: BROWSER,
143143
browserVersion: "browser-version"
144144
}
145145
) {
@@ -149,7 +149,7 @@ mutation {
149149
}
150150
```
151151
- `buildUuid`: Build ID that was used in previous steps.
152-
- `uploadId`: Upload ID acquired with `createSnapshotUpload` in the previous step.
152+
- `uploadId`: Upload ID acquired with `createSnapshotUpload` in the previous step (`createSnapshotUpload` mutation response)
153153
- `operatingSystem`: The operating system used to take the snapshot. Strongly advised to be filled in. Available options: `ANDROID`, `IOS`, `LINUX`, `MACOS`, `WINDOWS`.
154154
- `operatingSystemVersion`: The operating system version. e.g. "14.5" for `MACOS` or "11" for `WINDOWS`.
155155
- `browser`: The browser used to take the snapshot. Strongly advised to be filled in (if available). Available options: `CHROME`, `EDGE`, `FIREFOX`, `PLAYWRIGHT_WEBKIT`, `SAFARI`.

0 commit comments

Comments
 (0)