@@ -47,11 +47,11 @@ describe('CreateCloud', () => {
4747
4848 it ( 'should call proper actions on click cloud button' , ( ) => {
4949 const { container } = render ( sideBarWithCreateCloud )
50- const createCloudLink = container . querySelector (
50+ const createCloudItem = container . querySelector (
5151 '[data-testid="create-cloud-sidebar-item"]' ,
5252 )
5353
54- fireEvent . click ( createCloudLink as Element )
54+ fireEvent . click ( createCloudItem as Element )
5555
5656 expect ( store . getActions ( ) ) . toEqual ( [
5757 setSSOFlow ( OAuthSocialAction . Create ) ,
@@ -73,11 +73,11 @@ describe('CreateCloud', () => {
7373 } ,
7474 } )
7575 const { container } = render ( sideBarWithCreateCloud )
76- const createCloudLink = container . querySelector (
76+ const createCloudItem = container . querySelector (
7777 '[data-testid="create-cloud-sidebar-item"]' ,
7878 )
7979
80- fireEvent . click ( createCloudLink as Element )
80+ fireEvent . click ( createCloudItem as Element )
8181
8282 expect ( sendEventTelemetry ) . toBeCalledWith ( {
8383 event : HELP_LINKS . cloud . event ,
@@ -90,9 +90,9 @@ describe('CreateCloud', () => {
9090 it ( 'should not render if cloud ads feature flag is disabled' , ( ) => {
9191 mockFeatureFlags ( false )
9292 const { container } = render ( sideBarWithCreateCloud )
93- const createCloudLink = container . querySelector (
93+ const createCloudItem = container . querySelector (
9494 '[data-testid="create-cloud-db-link"]' ,
9595 )
96- expect ( createCloudLink ) . not . toBeInTheDocument ( )
96+ expect ( createCloudItem ) . not . toBeInTheDocument ( )
9797 } )
9898} )
0 commit comments