Skip to content

Commit 01dc87b

Browse files
test: add getWorkflowStageDetails and workflow request field label coverage
- Unit-test getWorkflowStageDetails postMessage payload and fallbacks - Integration-style tests for request/pending copy, tooltip classes, and OPEN_REQUEST_EDIT_ACCESS - Extend fieldLabelWrapper mock styles for workflow tooltip variants - Fix visualBuilder.style mock path (../../../) so class assertions match mocked labels Made-with: Cursor
1 parent cbc9e0f commit 01dc87b

3 files changed

Lines changed: 505 additions & 0 deletions

File tree

src/visualBuilder/components/__test__/fieldlabelwrapper/fieldLabelWrapper.mocks.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ export const mockStyles = {
2020
"visual-builder__tooltip--persistent":
2121
"visual-builder__tooltip--persistent",
2222
"visual-builder__custom-tooltip": "visual-builder__custom-tooltip",
23+
"visual-builder__custom-tooltip--below": "visual-builder__custom-tooltip--below",
24+
"visual-builder__custom-tooltip--workflow-access":
25+
"visual-builder__custom-tooltip--workflow-access",
26+
"visual-builder__tooltip--persistent--below":
27+
"visual-builder__tooltip--persistent--below",
2328
"visual-builder__focused-toolbar__field-label-wrapper":
2429
"visual-builder__focused-toolbar__field-label-wrapper",
2530
"visual-builder__focused-toolbar--field-disabled":

0 commit comments

Comments
 (0)