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
Custom function test cases #1206
Conversation
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 @@
## eds #1206 +/- ##
=========================================
Coverage 80.29% 80.29%
Complexity 777 777
=========================================
Files 92 92
Lines 2136 2136
Branches 289 289
=========================================
Hits 1715 1715
Misses 263 263
Partials 158 158 ☔ View full report in Codecov by Sentry. |
it(" fullName field should update on change in first name and last name ", () => { | ||
if(toggle_array.includes("FT_FORMS-11269") && toggle_array.includes("FT_FORMS-12423")) { | ||
Cypress.config('chromeWebSecurity',false); | ||
console.log("cypress security is "+Cypress.config('chromeWebSecurity')); |
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 are we turning off chromeWebSecurity? Ideally, our tests should mimic real-world scenarios. We should be enabling CORS headers in the URL that serves custom functions.
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
* disable exposing view layer for customization * adding dam asset for test cases * disable exposing view layer for customization: fixed test cases
* Invalid event customization * Adding invalid event * Updating af-core version
* CQ-4348557 adding another div to stop footer getting resized * CQ-4348557 removing space --------- Co-authored-by: Shivam Agarwal <shivama@adobe.com>
#1158) * FORMS-13810: Add the field to allow custom message for format in date picker * FORMS-13810: Test case added * FORMS-13810: Review comments incorporated.
Co-authored-by: dgurjar <dgurjar@adobe.com>
Co-authored-by: Pavitra Khatri <pavitrakhatri@Pavitras-MacBook-Pro.local>
Co-authored-by: Shivam Agarwal <shivama@adobe.com>
…group (#1176) * Update type property on replacing checkboxgroup to radio group * FORMS-12667 review comment --------- Co-authored-by: demaurya <demaurya@adobe.com>
* Move core component to 0.13.0 spec version - RTC (done) DOD(yes) * Move core component to 0.13.0 spec version - RTC (done) DOD(yes) * Fixing wrong date picker test case * Fixing date picker test case
* datepicker timezone issue on view layer fixed datepicker timezone issue on view layer fixed datepicker timezone issue on view layer fixed * datepicker fix test case
* Updating spec version to 0.13.0 * Updating spec version to 0.13.0 * Updating spec version to 0.13.0
* FORMS-12203: Added localization changes and test cases * FORMS-12203: Updated test case * FORMS-12203: Altered to contains instead of get * FORMS-12203: Resolved comments * FORMS-12203: Updated test cases * FORMS-12203: Updated delete button * FORMS-12203: Updated button * Retry wizard.locale.spec.js tests * FORMS-12203: Added theme request wait * Update wizard.locale.spec.js * Added latestaddon check * Delete ui.tests/test-module/package-lock.json * Update commands.js * Revert "Delete ui.tests/test-module/package-lock.json" This reverts commit fd97b53. * Reverted package-lock.json changes * FORMS-12203: Removed exception inline * FORMS-12203: Resolved comments * FORMS-12203: Update index.js * FORMS-12203: Removed package-lock.json change * Update index.js * Update error message in index.js * Update index.js * Update wizard.locale.spec.js * Removed an intercept * Updated regex patterns --------- Co-authored-by: Shivangi Mittal <shivangim@Shivangis-MacBook-Pro.local>
* FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) * FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) * FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) * FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) * FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) * FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) * FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) * FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) * Update space character for thousands separator in french lang * FORMS-13851 Support for language in date picker and number input @review @vdua DOD(Yes) --------- Co-authored-by: Varun Dua <vdua@adobe.com>
#1196) * FORMS-12822 : format should not be visible when no pattern is selected * FORMS-12822 : changes var to let as per ES6 in utils.js
This reverts commit 63e3561.
…d submit() rule in examples (#1191) * FORMS-13209: added check to override hardcoded submitSuccess and submitError hadnlers * FORMS-13209: updated af2 runtime version * FORMS-13209: added rule editor authoring cypress tests * FORMS-13209: added submission handler rule tests * FORMS-13209: replaced submit(custom:submitSuccess, custom:submitError) examples and it rules with submit() * FORMS-13209: updated af-custom-functions version * FORMS-13209: updated submission handler test * FORMS-13209: updated tests * FORMS-13209: updated tests * FORMS-13209: updated tests * FORMS-13209: added rule editor authoring cypress tests * FORMS-13209: added submission handler rule tests * FORMS-13209: updated af-custom-functions version * FORMS-13209: updated tests * FORMS-13209: updated tests * FORMS-13209: added rule editor authoring cypress tests * FORMS-13209: added submission handler rule tests * FORMS-13209: updated af-custom-functions version * FORMS-13209: updated tests * FORMS-13209: updated tests * FORMS-13209: updated tests * FORMS-13209: updated tests * FORMS-13209: added af-custom-functions in FormView and replaced hardcoded submission handlers with defaultSubmit handlers af-custom-functions * FORMS-13209: minor update --------- Co-authored-by: Arun Kumar Attri <aattri@adobe.com>
FORMS-13935 update examples for aemcomponents.dev FORMS-13935 update examples for aemcomponents.dev
…lue without default/placeholder set (#1203) * Added test case * Adding actual fix * Improved test case * Small fix
* 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>
Co-authored-by: Pavitra Khatri <pavitrakhatri@pavitras-mbp.corp.adobe.com>
Co-authored-by: Pavitra Khatri <pavitrakhatri@Pavitras-MacBook-Pro.local>
* Moving to 15860 image * updating core component version * Skipping wizard authoring test
* embedding forms-sdk api * adding hcaptcha and recaptcha models * :fix hcaptcha model SlingException * :fix deleting recaptcha model * FORMS-13811 | Adding rendition for hCaptcha * FORMS-13811 | Renamed public API * FORMS-13811 | Embedding hcaptcha js * FORMS-13811 | Adding unit test for sling model * FORMS-13811 | Adding cypress test * FORMS-13811 | Adressing review comments * Adding e2e test * FORMS-13811 | fix import statements * Update pom.xml * Adding FT for running Tests * FORMS-13811 | Removing java-8 build for master * Adding FT in test * FORMS-13811 | Tests should run only with latest addon * FORMS-13811 | Tests should run only with latest addon * increasing coverage * addressing review comments --------- Co-authored-by: Navneet Agarwal <navneeta@adobe.com>
be8dc79
to
b1aa879
Compare
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: