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 11746 allow attaching same file #1201
Conversation
a27a742
to
7846c9a
Compare
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #1201 +/- ##
=========================================
Coverage 80.81% 80.81%
Complexity 782 782
=========================================
Files 91 91
Lines 2116 2116
Branches 286 286
=========================================
Hits 1710 1710
Misses 252 252
Partials 154 154 ☔ View full report in Codecov by Sentry. |
cy.get(".cmp-adaptiveform-fileinput__filename").contains(sampleFileName); | ||
cy.get(fileInput).should(($element) => { | ||
const actualValue = $element.val(); | ||
expect(actualValue.includes("")).to.be.true; |
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.
Why we are checking for empty value inside actual value ? Is this relevant
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.
Its because we are clearing the value once the file is attached so that duplicate file can be attached and also I have added the test case to attach the duplicate file.
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.
check comments
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.
check comments
* updated code for ui.frontend with test cases * resolved PR comments * test case fixed --------- Co-authored-by: Gulshan Mishra <gulshanm@adobe.com> Co-authored-by: Rajat Khurana <rajatkhurana@adobe.com>
* updated code for ui.frontend with test cases * resolved PR comments * test case fixed --------- Co-authored-by: Gulshan Mishra <gulshanm@adobe.com> Co-authored-by: Rajat Khurana <rajatkhurana@adobe.com>
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: