test(studio): a Studio save carries its revision, and the layers foot is drawn with its selection

This commit is contained in:
Maurice
2026-10-23 20:11:03 +02:00
parent d8213bfa42
commit d206435af1
@@ -141,8 +141,8 @@ describe('the layers panel', () => {
});
it('groups and ungroups the selection from its foot, and says when the page is empty', () => {
render(<StudioLayersPanel t={t} />);
store().select(['a', 't']);
render(<StudioLayersPanel t={t} />);
fireEvent.click(screen.getByText('journey.studio.layers.groupAction'));
expect(el('a').group).toBeDefined();
fireEvent.click(screen.getByText('journey.studio.layers.ungroup'));