@capillarytech/creatives-library 7.17.139 → 7.17.140

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,8 +217,11 @@ describe('Creatives Whatsapp test1/>', () => {
217
217
  });
218
218
 
219
219
  it('test addVariable in create mode', () => {
220
+
221
+
220
222
  renderHelper({});
221
- renderedComponent.find('CapHeader').at(1).props().suffix.props.onClick();
223
+ renderedComponent.update();
224
+ renderedComponent.find('[data-testid="suffix-button"]').at(1).props().onClick();
222
225
  expect(renderedComponent).toMatchSnapshot();
223
226
  });
224
227
 
@@ -198,11 +198,6 @@ 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
- />
206
201
  <FormattedMessage {...globalMessages.autofill} />
207
202
  </CapLabel>);
208
203
  }
@@ -2469,11 +2469,6 @@ 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
- />
2477
2472
  <FormattedMessage
2478
2473
  defaultMessage="Autofill"
2479
2474
  id="creatives.componentsV2.autofill"