-
Notifications
You must be signed in to change notification settings - Fork 58
Change collateral of V3 version of file-input #1419
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
Conversation
@@ -29,15 +29,13 @@ if (typeof window.FileInputWidget === 'undefined') { | |||
attachEventHandlers(widget, dragArea, model) { | |||
super.attachEventHandlers(widget, dragArea, model) | |||
const customBtn = dragArea?.querySelector(".cmp-adaptiveform-fileinput__widgetlabel") | |||
customBtn?.addEventListener("click", (event) => { | |||
event.preventDefault(); | |||
customBtn?.addEventListener("click", () => { |
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.
Can you add test cases for these changes in v3 spec ?
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.
aem-core-forms-components/ui.tests/test-module/specs/fileinput/fileinputv3.runtime.cy.js
Line 221 in 22d7cc6
it('should handle click event on attach button', () => { |
It is already written here.
Accessibility Violations Found
|
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
Accessibility Violations Found
|
Lighthouse scores (mobile)
|
Lighthouse scores (desktop)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
Accessibility Violations Found
|
Accessibility Violations Found
|
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
Accessibility Violations Found
|
1 similar comment
Accessibility Violations Found
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #1419 +/- ##
=========================================
Coverage 82.40% 82.40%
Complexity 919 919
=========================================
Files 103 103
Lines 2358 2358
Branches 317 317
=========================================
Hits 1943 1943
Misses 255 255
Partials 160 160
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Co-authored-by: Pavitra Khatri <pavitrakhatri@pavitras-mbp.corp.adobe.com>
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: