@capillarytech/creatives-library 7.17.140 → 7.17.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -217,11 +217,8 @@ describe('Creatives Whatsapp test1/>', () => {
217
217
  });
218
218
 
219
219
  it('test addVariable in create mode', () => {
220
-
221
-
222
220
  renderHelper({});
223
- renderedComponent.update();
224
- renderedComponent.find('[data-testid="suffix-button"]').at(1).props().onClick();
221
+ renderedComponent.find('CapHeader').at(1).props().suffix.props.onClick();
225
222
  expect(renderedComponent).toMatchSnapshot();
226
223
  });
227
224
 
@@ -198,6 +198,11 @@ export const getWhatsappAutoFill = (template) => {
198
198
  type="label21"
199
199
  className='whatsapp-autofill-btn'
200
200
  >
201
+ <CapIcon
202
+ type={'launch'}
203
+ size="xs"
204
+ className='margin-r-4'
205
+ />
201
206
  <FormattedMessage {...globalMessages.autofill} />
202
207
  </CapLabel>);
203
208
  }
@@ -2469,6 +2469,11 @@ export default {
2469
2469
  className="whatsapp-autofill-btn"
2470
2470
  type="label21"
2471
2471
  >
2472
+ <CapIcon
2473
+ className="margin-r-4"
2474
+ size="xs"
2475
+ type="launch"
2476
+ />
2472
2477
  <FormattedMessage
2473
2478
  defaultMessage="Autofill"
2474
2479
  id="creatives.componentsV2.autofill"