From 6fb0881d7b2bcb86acf457560ff96a4109538a6b Mon Sep 17 00:00:00 2001 From: Fernando Marichal Date: Fri, 22 Apr 2022 10:09:32 -0300 Subject: [PATCH] Add test --- .../woocommerce-admin/client/activity-panel/test/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/woocommerce-admin/client/activity-panel/test/index.js b/plugins/woocommerce-admin/client/activity-panel/test/index.js index 7728d717cd4..1bb3d9645da 100644 --- a/plugins/woocommerce-admin/client/activity-panel/test/index.js +++ b/plugins/woocommerce-admin/client/activity-panel/test/index.js @@ -90,6 +90,12 @@ describe( 'Activity Panel', () => { expect( screen.queryByText( 'Inbox' ) ).toBeNull(); } ); + it( 'should render preview 2 tab on home screen', () => { + render( ); + + expect( screen.getByText( 'Preview store' ) ).toBeDefined(); + } ); + it( 'should not render help tab if not on home screen', () => { render(