feat(editor): sheet landings, history and e2e for the finding layers
« Tout afficher » clears the search and keeps the sort. A landing waits for the dialogs a move closed and for their focus restore. Helpers and shell specs move to the dialog and sheet flow; new finding dialog spec (entries, guards, flip, gone rule, Back and Forward over the layers).
This commit is contained in:
1 parent
18085cecf8
commit
4731a3376a
21 files changed
+782
-474
No files matched your search
@@ -421,7 +421,7 @@ describe('the exit', () => {
|
||||
})
|
||||
|
||||
describe('the library and the history around the panel', () => {
|
||||
it('« Tout afficher » resets the search and the sort of the tab, open tiles kept (P4)', async () => {
|
||||
it('« Tout afficher » clears the search of the tab and keeps its sort, open tiles kept (P4)', async () => {
|
||||
const user = await mount()
|
||||
await user.click(screen.getByRole('tab', { name: 'Références' }))
|
||||
const tab = () => screen.getByRole('tabpanel', { name: 'Références' })
|
||||
@@ -435,7 +435,7 @@ describe('the library and the history around the panel', () => {
|
||||
await user.click(link())
|
||||
await closed()
|
||||
expect(within(tab()).getByRole('searchbox')).toHaveValue('')
|
||||
expect(within(tab()).getByLabelText('Trier par')).toHaveValue('sheet')
|
||||
expect(within(tab()).getByLabelText('Trier par')).toHaveValue('citation')
|
||||
expect(within(tab()).getAllByRole('listitem').length).toBeGreaterThan(2)
|
||||
expect(
|
||||
within(tab()).getByRole('button', { name: /^Barone/ }),
|
||||
|
||||
Reference in new issue
Block a user