Skip to content

Commit cbdd3aa

Browse files
committed
test(policy): assert compact workbench header copy
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 9b9f1c2 commit cbdd3aa

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/tests/views/Settings/SettingsPolicyWorkbench.spec.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,16 @@ describe('RealPolicyWorkbench.vue', () => {
117117
// Validate toggle button exists for card/list view
118118
expect(wrapper.find('.policy-workbench__catalog-view-button').exists()).toBe(true)
119119

120-
// Validate signing order is displayed
120+
// Validate signing order is displayed with compact header copy
121121
expect(text).toContain('Signing order')
122122
expect(text).toContain('Define whether signers work in parallel or in a sequential order')
123-
expect(text).toContain('Define the default signing flow and where overrides are allowed')
124123

125-
// Validate default value is shown
124+
// Validate default value is shown in concise baseline summary
126125
expect(text).toContain('Sequential')
127-
expect(text).toContain('Global default:')
126+
expect(text).toContain('Default:')
127+
128+
// Validate noisy inheritance warning is not shown by default
129+
expect(text).not.toContain('Some users may not allow user overrides because their group rule requires inheritance.')
128130

129131
// Validate counts shown
130132
expect(text).toContain('Group overrides: 0')

0 commit comments

Comments
 (0)