fix: getting much closer to my idea

This commit is contained in:
2026-02-21 21:23:39 +01:00
parent 3a30e9bc41
commit c7123a142a
4 changed files with 28 additions and 2 deletions

View File

@@ -59,6 +59,10 @@ describe('MenuEditorView entry editor', () => {
fireEvent.input(input, { target: { value: 'ab' } });
const suggestion = await screen.findByRole('button', { name: /^about$/i });
expect(suggestion.className).toContain('tag-suggestion');
const wrapper = input.closest('.tag-input-wrapper');
expect(wrapper).not.toBeNull();
expect(wrapper?.className).toContain('page-input-wrapper-inline');
});
it('focuses the new in-row page input immediately after creating an entry', async () => {