mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-24 07:53:09 +00:00
test(studio): a Studio save carries its revision, and the layers foot is drawn with its selection
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user