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/core-functionality/playground/playground-shareable-url.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ When `isPublished` becomes `true`, Langflow renders a `<a href="/playground/{uui
15
15
16
16
## Tags
17
17
18
-
`@release``@playground`
18
+
`@release``@playground``@stable`
19
19
20
20
## Validation criterion
21
21
@@ -28,7 +28,8 @@ When `isPublished` becomes `true`, Langflow renders a `<a href="/playground/{uui
28
28
29
29
## External dependencies
30
30
31
-
-`src/frontend/src/components/core/flowToolbarComponent/components/deploy-dropdown.tsx` — `publish-button`, `shareable-playground`, `publish-switch` test IDs and `isPublished` toggle logic. Any rename of these test IDs or change to the `ENABLE_PUBLISH` feature flag will break this test.
31
+
-`src/frontend/src/components/core/flowToolbarComponent/components/deploy-dropdown.tsx` — owns the `publish-button`, `shareable-playground`, and `publish-switch` test IDs as well as the `isPublished` toggle. Renaming any of these test IDs or removing the `ENABLE_PUBLISH` feature flag will break this test.
32
+
- The `publish-switch` and `shareable-playground` items are gated by `hasIO` (`useFlowStore.hasIO`); the flow under test must contain at least one Chat Input or Chat Output. The setup uses `setupPlayground()` which builds a Chat Input → Chat Output flow, so this contract is satisfied without depending on any starter template.
32
33
- The `publish-switch` uses `e.stopPropagation()` to keep the dropdown open after clicking — if this is removed, the dropdown closes and subsequent assertions will fail.
0 commit comments