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: docs/visual-testing/workflows/api-lifecycle.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -90,11 +90,11 @@ mutation {
90
90
91
91
-`id`: Upload ID to use in the subsequent steps.
92
92
-`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.
94
94
95
95
Next, send a `PUT` request to `uploadUrl` with image file in the body of the request. Only **PNG** files are supported.
96
96
97
-
**cURL:**
97
+
**cURL Request:**
98
98
99
99
```sh
100
100
curl --request PUT \
@@ -111,7 +111,7 @@ Optional: Upload DOM
111
111
112
112
If desired (and available), DOM can be also uploaded to `domUploadUrl` obtained from `createSnapshotUpload` mutation.
113
113
114
-
**cURL:**
114
+
**cURL Request:**
115
115
116
116
```sh
117
117
curl --request PUT \
@@ -139,7 +139,7 @@ mutation {
139
139
name: "Your snapshot name",
140
140
operatingSystem: OS,
141
141
operatingSystemVersion: "os-version",
142
-
browser: BROWSER,
142
+
browser: BROWSER,
143
143
browserVersion: "browser-version"
144
144
}
145
145
) {
@@ -149,7 +149,7 @@ mutation {
149
149
}
150
150
```
151
151
-`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)
153
153
-`operatingSystem`: The operating system used to take the snapshot. Strongly advised to be filled in. Available options: `ANDROID`, `IOS`, `LINUX`, `MACOS`, `WINDOWS`.
154
154
-`operatingSystemVersion`: The operating system version. e.g. "14.5" for `MACOS` or "11" for `WINDOWS`.
155
155
-`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