feat(editor): the held reason shows in a bubble by its button
This commit is contained in:
1 parent
031826dced
commit
49f0144729
11 files changed
+313
-79
No files matched your search
@@ -1054,7 +1054,7 @@ describe('final review I-1: a redo or a handle key never drops pending work', ()
|
||||
|
||||
it('the header « Refaire » is off in a started move and keeps it', async () => {
|
||||
await withRedo()
|
||||
render(<HistoryButtons />)
|
||||
render(<HistoryButtons tab="annotations" />)
|
||||
await startedMove()
|
||||
const redo = screen.getByRole('button', {
|
||||
name: 'Refaire la dernière modification défaite',
|
||||
@@ -1086,7 +1086,7 @@ describe('final review I-1: a redo or a handle key never drops pending work', ()
|
||||
|
||||
it('the header « Refaire » is off in a started redraw and keeps it', async () => {
|
||||
await withRedo()
|
||||
render(<HistoryButtons />)
|
||||
render(<HistoryButtons tab="annotations" />)
|
||||
await userEvent
|
||||
.setup()
|
||||
.click(screen.getByRole('button', { name: 'Redessiner' }))
|
||||
|
||||
Reference in new issue
Block a user