-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FORMS-12557 Forms run enhancements #1033
Conversation
c6913b0
to
8a012a9
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #1033 +/- ##
=========================================
Coverage 80.40% 80.40%
Complexity 738 738
=========================================
Files 91 91
Lines 2057 2057
Branches 273 273
=========================================
Hits 1654 1654
Misses 251 251
Partials 152 152 ☔ View full report in Codecov by Sentry. |
@@ -445,7 +448,7 @@ class FormFieldBase extends FormField { | |||
if (this.errorDiv) { | |||
this.errorDiv.innerHTML = state.validationMessage; | |||
if (state.validity.valid === false) { | |||
this.#triggerEventOnGuideBridge(this.ELEMENT_ERROR_SHOWN); | |||
this.#triggerEventOnGuideBridge(this.ELEMENT_ERROR_SHOWN, {'validationMessage' : state.validationMessage}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
validationMessage
could have PII data, hence we would instead send the validationType
in the beacon.
f724ab4
to
6c05d10
Compare
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
Accessibility Violations Found
|
* FORMS-12557 Forms run enhancements * adding qualified name in data layer to support repeatibility * Fixing test * Adding validation type and fixing submit start * Adding rum JS library
* FORMS-12557 Forms run enhancements * adding qualified name in data layer to support repeatibility * Fixing test * Adding validation type and fixing submit start * Adding rum JS library
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: