adobe / reactor-extension-core

This is the Core extension for Adobe Experience Platform Tags. It provides default event, condition, action, and data element types to all Tags properties.
https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/adobe/core/overview.html
Apache License 2.0
21 stars 13 forks source link

DTM-13847: Fix the new Data Element supported fields bug(s) #43

Closed brenthosie closed 3 years ago

brenthosie commented 3 years ago

DTM-13847:

  1. Fix the new Data Element supported fields to properly translate the value within "formValuesToSettings" blocks.
  2. Consolidate simulate.clear into the test-helpers area.
  3. Update old fireEvent.change calls to userEvent.type calls.

Description

There wasn't enough test coverage to ensure that when translating the formValues into turbine settings, that the data element names weren't always converted to a Number.

Related Issue

https://jira.corp.adobe.com/browse/DTM-13847

Motivation and Context

Adds data element support to many core extension fields that only supported numbers.

Screenshots (if appropriate):

Types of changes

Checklist: