feat(library): botón Importar BPMN visible para client_editor; empty state diferenciado
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -134,9 +134,9 @@ describe('LibraryPage — visibilidad de controles según rol', () => {
|
||||
authUserRef.current = { ...authUserRef.current, platformRole: 'client_editor' }
|
||||
})
|
||||
|
||||
it('NO muestra el botón "Importar BPMN"', () => {
|
||||
it('muestra el botón "Importar BPMN"', () => {
|
||||
render(<LibraryPage />)
|
||||
expect(screen.queryByText('Importar BPMN')).not.toBeInTheDocument()
|
||||
expect(screen.getByText('Importar BPMN')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('NO muestra el panel de grupos', () => {
|
||||
|
||||
Reference in New Issue
Block a user