Skip to content
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

Master to650 #823

Merged
merged 298 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from 136 commits
Commits
Show all changes
298 commits
Select commit Hold shift + click to select a range
ffae293
Merge branch 'dev' into mastercaptcha
tyagiaditi Jul 17, 2023
b3e654a
dev to master
tyagiaditi Jul 17, 2023
6a162e2
Merge pull request #746 from adobe/mastercaptcha
ujjwal5 Jul 17, 2023
cbdb020
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
ujjwal5 Jul 17, 2023
3b092fd
@releng [maven-scm] :prepare for next development iteration
ujjwal5 Jul 17, 2023
b68fd73
Checkout local branch for readme update
ujjwal5 Jul 17, 2023
68d6029
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
ujjwal5 Jul 17, 2023
b8c2d6f
@releng [maven-scm] :prepare for next development iteration
ujjwal5 Jul 17, 2023
36c77c9
[FORMS-9806] changed query from jquery to document.queryselector.....
Jul 18, 2023
896b677
Merge branch 'dev' into FORMS-9806
Jul 18, 2023
53b00f9
[FORMS-9806] added test case for embed container custom height proper…
Jul 18, 2023
a2b2e0a
Releng: fixing release
rismehta Jul 18, 2023
978d91c
Revert "Checkout local branch for readme update"
rismehta Jul 18, 2023
956f80a
Adding fd:type=fragment for fragment static/editable templates in cor…
ujjwal5 Jul 18, 2023
c7c5f93
Merge pull request #752 from adobe/FORMS-9806
deepprakash345 Jul 18, 2023
b860ebc
Revert "[FORMS-9806] changed query from jquery to document.queryselec…
deepprakash345 Jul 18, 2023
3d12b7d
Merge pull request #753 from adobe/revert-752-FORMS-9806
deepprakash345 Jul 18, 2023
a38f15b
Merge pull request #754 from adobe/FORMS-9806
deepprakash345 Jul 18, 2023
02e0944
[Releng] Updating readme.me with new version
ujjwal5 Jul 18, 2023
974866e
FORMS-9473: updated test to delete the pageHeader in the end
Jul 18, 2023
48f20a1
FORMS-9753 Moving forms listing api to cursor based (#745)
rismehta Jul 18, 2023
43de25f
Releng: fixing release
rismehta Jul 18, 2023
291f73e
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
ujjwal5 Jul 18, 2023
be44cbe
@releng [maven-scm] :prepare for next development iteration
ujjwal5 Jul 18, 2023
ddf3334
Revert "Releng: fixing release"
ujjwal5 Jul 18, 2023
5c50dfe
[Releng] Updating readme.me with new version
ujjwal5 Jul 18, 2023
8820632
Checkout master branch for readme/version update
ujjwal5 Jul 18, 2023
b0a8903
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
ujjwal5 Jul 18, 2023
7bf7d03
@releng [maven-scm] :prepare for next development iteration
ujjwal5 Jul 18, 2023
8f364c9
Releng: fixing release
ujjwal5 Jul 18, 2023
4dcf40b
[Releng] Updating readme.me with new version
ujjwal5 Jul 18, 2023
98e348d
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
ujjwal5 Jul 18, 2023
f1ae971
@releng [maven-scm] :prepare for next development iteration
ujjwal5 Jul 18, 2023
f9d0f0d
Update VERSIONS.md and README.md to include version 2.0.46
Jul 18, 2023
ebd4027
FORMS-8967: updated replace feature to have replaced accordion withou…
Jul 18, 2023
add6707
[Releng] Adding toggle impl bundle during test execution (#755)
rismehta Jul 18, 2023
1b21afb
Releng: Fixing release (#757)
ujjwal5 Jul 18, 2023
022b55c
Fix circle CI build failing at install chromedriver step (#762)
ravise5 Jul 20, 2023
32261ce
FORMS-8967: resolved PR comments
Jul 21, 2023
8253481
FORMS-9888 Thank you page URL pointing to an external page is broken …
sakshi-arora1 Jul 21, 2023
629d2f3
Fix core component rendition in sites (#763)
dmaurya929 Jul 21, 2023
06395e8
Pulling dev branch to fragment branch
sakshi-arora1 Jul 21, 2023
4cca73f
FORMS-9917 Submit successfull event is not working (#770)
dmaurya929 Jul 24, 2023
8970ccf
Releng updating forms core version (#771)
rismehta Jul 24, 2023
3a40930
Merge branch 'dev' of https://github.com/adobe/aem-core-forms-compone…
sakshi-arora1 Jul 24, 2023
a90f343
Improve Lighthouse performance score (#769)
ravise5 Jul 25, 2023
f51cc0d
FORMS-9691 Adding core adaptive form group to support core component …
rismehta Jul 25, 2023
041a2be
FORMS-9917 Submit successfull event is not working (#772)
dmaurya929 Jul 25, 2023
f122f27
Merge branch 'dev' into FORMS-8967-replaced_accordion_without_default…
Jul 25, 2023
563bc06
Merge branch 'dev' into dev2master_25_07_23
ujjwal5 Jul 25, 2023
f342e5a
Merge pull request #774 from adobe/dev2master_25_07_23
ujjwal5 Jul 25, 2023
33ab3df
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
ujjwal5 Jul 25, 2023
7386925
@releng [maven-scm] :prepare for next development iteration
ujjwal5 Jul 25, 2023
655ca6e
Update VERSIONS.md and README.md to include version 2.0.48
Jul 25, 2023
48043ff
Merge branch 'dev' into FORMS-8967-replaced_accordion_without_default…
Jul 26, 2023
6d070b6
FORMS-8967: sync with dev
Jul 26, 2023
808ab76
Merge pull request #756 from adobe/FORMS-8967-replaced_accordion_with…
egmox Jul 26, 2023
e03efc2
Forms 8533 replace comp with same rte (#751)
egmox Jul 27, 2023
ad5a803
adding translate function for altText property for image static compo…
s1mahanty Jul 27, 2023
26a3c53
Tests related to Fragment support (#781)
dmaurya929 Jul 27, 2023
05c4626
Removing static implementation of fragment.
sakshi-arora1 Jul 27, 2023
5e34db8
Incorporating review comments.
sakshi-arora1 Jul 27, 2023
b730c7d
Incorporating review comments.
sakshi-arora1 Jul 27, 2023
64b686c
Changing fragmentPlaceholder to placeholder.
sakshi-arora1 Jul 27, 2023
aa0d5b7
Fragment review comment
Jul 27, 2023
4ad3cf2
Merge pull request #782 from adobe/fragment-review
dmaurya929 Jul 27, 2023
74e2e53
Formatted test file.
sakshi-arora1 Jul 28, 2023
7cdd658
Replace test fix
Jul 28, 2023
a4f3289
Add fragment test to improve coverage
Jul 31, 2023
39655d7
Incorporate review comment
Jul 31, 2023
017a07f
FORMS-9473: sync from dev
Aug 1, 2023
76ba50e
FORMS-9473: check visibility inside .then
Aug 1, 2023
c2fb7c9
FORMS-9473: updating command.js to fix flaky test failures
Aug 2, 2023
cf832fc
FORMS-9473: updating command.js to fix flaky test failures
Aug 2, 2023
7397a2f
FORMS-10133-Remove 'invisible' size option from recaptcha dialog (#787)
tyagiaditi Aug 2, 2023
ede9cdd
Incorporating review comments.
sakshi-arora1 Aug 2, 2023
1452d5c
FORMS-9473: revert command.js
Aug 2, 2023
aebef6a
Releng updating forms core version to 0.22.55 (#786)
girotraapankaj Aug 2, 2023
55153c2
FORMS-10107 Fix id mismatch issue with embed form having fragment (#788)
dmaurya929 Aug 3, 2023
ea108a8
Forms 8533 replace comp with same rte (#790)
egmox Aug 3, 2023
21f0eb7
FORMS-10107 Add collateral
Aug 3, 2023
ebcd741
Added form structure parser test for embed without iframe.
sakshi-arora1 Aug 3, 2023
2b02ae9
Removed duplication of code.
sakshi-arora1 Aug 3, 2023
1e4187e
Removed duplication of code.
sakshi-arora1 Aug 3, 2023
630b640
Added embed test.
sakshi-arora1 Aug 3, 2023
1f4b31e
Formatted test file.
sakshi-arora1 Aug 3, 2023
20850d5
FORMS-10133-Mark required true in recaptcha template (#792)
tyagiaditi Aug 3, 2023
550e4a5
Merge pull request #768 from adobe/fragment
sakshi-arora1 Aug 3, 2023
faf915a
Merge branch 'dev' into dev2master0408
rismehta Aug 4, 2023
5f51cc8
Reverting the revert of commit b860ebc0a12cd412c092be2f124162e882e152…
sakshi-arora1 Aug 4, 2023
701d012
Adding the missing collateral from commit 53b00f96ec5c084234f0e44bd2c…
Jul 18, 2023
b45aab6
Merge pull request #801 from adobe/dev2master0408
sakshi-arora1 Aug 4, 2023
31b0a22
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
sakshi-arora1 Aug 4, 2023
2b541f7
@releng [maven-scm] :prepare for next development iteration
sakshi-arora1 Aug 4, 2023
ac8d58f
Revert "@releng [maven-scm] :prepare release core-forms-components-re…
sakshi-arora1 Aug 4, 2023
48ba966
Revert "@releng [maven-scm] :prepare for next development iteration"
sakshi-arora1 Aug 4, 2023
d443d0a
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
sakshi-arora1 Aug 4, 2023
5d70333
@releng [maven-scm] :prepare for next development iteration
sakshi-arora1 Aug 4, 2023
3be189e
Update VERSIONS.md and README.md to include version 2.0.50
Aug 4, 2023
58e5d44
FORMS-9473: fix for flaky tests
Aug 5, 2023
8383e27
FORMS-9971 Fixing hide configuration for different languages (#803)
ujjwal5 Aug 7, 2023
cb168c0
FORMS-9364 Changes for the name in panel edit. (#760)
AnurudraS Aug 7, 2023
8112d26
FORMS-10159 Adding invoke service test (#793)
rismehta Aug 7, 2023
3377c2b
Forms 9446 telephone default validation pattern (#766)
egmox Aug 7, 2023
830435b
Merge branch 'dev' into FORMS-9473-container_insteadOf_parsys
Aug 7, 2023
7b4820a
FORMS-9473: updated tests
Aug 7, 2023
8b1ffb3
FORMS-9473: updated tests
Aug 7, 2023
c3f1f90
@releng updating af core version (#805)
rismehta Aug 8, 2023
f1728f3
FORMS-9473: updated to fix flakiness
Aug 8, 2023
47a8b13
FORMS-9473: revert commands.js
Aug 8, 2023
4c6a7f4
FORMS-10186 Fixing GuideBridge events (#807)
rismehta Aug 9, 2023
c2467d7
[FORMS-10243] fix setFocus issue
Aug 9, 2023
47c57ef
FORMS-10236 fixing preview issue on multiple selection (#811)
im-shiv Aug 10, 2023
0a0807e
update af-core version
Aug 10, 2023
6c23926
Merge pull request #809 from adobe/FORMS-10243
amit-mnnit Aug 10, 2023
d7aad68
Forms 9330 checkbox bugfix (#794)
barshat7 Aug 10, 2023
3782afe
Fixed edit/diplay values getting set in datepicker model (#816)
ravise5 Aug 14, 2023
7d4d44c
Merge branch 'dev' into FORMS-9473-container_insteadOf_parsys
rismehta Aug 14, 2023
41fc390
Merge pull request #738 from adobe/FORMS-9473-container_insteadOf_parsys
egmox Aug 17, 2023
e24bfbb
FORMS-10402 Optimizing AF prefill (#819)
rismehta Aug 17, 2023
9484617
Revert "FORMS-7960 Fixed Redirect Spoof for AEM Internal Page OOTB (#…
ravise5 Aug 17, 2023
08f5778
Merging master to release/650.
sakshi-arora1 Aug 17, 2023
40e5acd
Adding this just to avoid future conflicts.
sakshi-arora1 Aug 17, 2023
45205a2
[CI] Re-run only test failures (#821)
rismehta Aug 17, 2023
6bbd82f
Removing 'apis' classifier from uber jar.
sakshi-arora1 Aug 18, 2023
2a30509
[CI] Fixing cypress test reporter (#825)
rismehta Aug 18, 2023
ef7aa0e
Reverting coverage from 0.80 to 0.60 aliging with release 650 branch.
sakshi-arora1 Aug 21, 2023
b0dbafe
Form model breaking on adding captcha in AF without appropriate FAR d…
tyagiaditi Aug 21, 2023
c64e243
FORMS-10490 Fixing language initialization framework (#831)
rismehta Aug 22, 2023
0e191f6
FORMS-9757 avoid re-declaration of widget classes in case of loading …
barshat7 Aug 22, 2023
20c1f2c
FORMS-9330 correct selectors in edit dialog (#834)
barshat7 Aug 22, 2023
3eac2a9
FORMS-7950 - Incorrect WcmMode is being set in form container when re…
pankaj-parashar Aug 23, 2023
4b8cc0c
@releng running test suite without ft (#832)
rismehta Aug 23, 2023
b047b02
ID mismatch with experience fragment (#813)
dmaurya929 Aug 23, 2023
4cd3b43
FORMS-10448 [AF V2] [Component - Date Input] Callender widget is show…
devgurjar Aug 24, 2023
1eab75a
FORMS-7889 Number Input field accepting decimal value in runtime when…
dmaurya929 Aug 24, 2023
de78871
Incorporating review comments. (#835)
sakshi-arora1 Aug 24, 2023
b87425c
Dev to master 24 August.
sakshi-arora1 Aug 24, 2023
e5d7f44
Adding test. (#838)
sakshi-arora1 Aug 25, 2023
9eed22b
Merge branch 'dev' of https://github.com/adobe/aem-core-forms-compone…
sakshi-arora1 Aug 25, 2023
620fd01
Fixing workflow test failure (#839)
rismehta Aug 25, 2023
8ab52f2
Merge branch 'dev' of https://github.com/adobe/aem-core-forms-compone…
sakshi-arora1 Aug 25, 2023
24d0b2c
Merge pull request #836 from adobe/devToMaster
rismehta Aug 25, 2023
b0f3bac
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
sakshi-arora1 Aug 25, 2023
f41098e
@releng [maven-scm] :prepare for next development iteration
sakshi-arora1 Aug 25, 2023
5a4484a
Update VERSIONS.md and README.md to include version 2.0.52
Aug 25, 2023
b4770e0
Updated client sdk version. And merging latest master to release 650.
sakshi-arora1 Aug 25, 2023
ee6c3b2
Removing portal component replacement.
sakshi-arora1 Aug 25, 2023
2e0a665
FORMS-10572 [Bank of Thailand] Issue with localized version of datepi…
devgurjar Aug 29, 2023
e788eb0
@releng adding strict mode (#846)
rismehta Aug 30, 2023
182ca3e
Merge branch 'dev' into devToMaster30aug
rismehta Aug 30, 2023
982252b
Merge pull request #848 from adobe/devToMaster30aug
rismehta Aug 30, 2023
8159e56
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
rismehta Aug 30, 2023
49b52e1
@releng [maven-scm] :prepare for next development iteration
rismehta Aug 30, 2023
869331e
Update VERSIONS.md and README.md to include version 2.0.54
Aug 30, 2023
a4f2a9f
FORMS-10179: enhancement to make Wrap data in object option easier to…
s1mahanty Aug 31, 2023
ef91d11
Fixing tests post merge from master to 650.
sakshi-arora1 Aug 31, 2023
fdc9a17
Fixing test collateral post merge from master to 650.
sakshi-arora1 Aug 31, 2023
53f0ae9
Fixing cypress test execution post merge from master to 650.
sakshi-arora1 Aug 31, 2023
a7bc538
Fixing cypress test execution post merge from master to 650.
sakshi-arora1 Aug 31, 2023
fda0044
Merging changes from latest master to 650.
sakshi-arora1 Aug 31, 2023
b163166
FORMS-10184 : value for component changed from core adaptive form to …
AnurudraS Sep 1, 2023
5b4f9ed
Parent element have same classes for some components
Sep 1, 2023
ebbc462
Fix inputted date not reflecting in calendar (#856)
ravise5 Sep 4, 2023
8722c84
override the inplace editing Edit element query.
AnurudraS Aug 29, 2023
3f1f981
Fix inputted date not reflecting in calendar (#856)
ravise5 Sep 4, 2023
6ea4a85
FORMS-9959 Test infrastructure changes to include core components in …
rismehta Sep 5, 2023
37c11d4
Allowing Wizard to navigate if children exist but their view isn't in…
TalmizAhmed Sep 5, 2023
143ddb9
Revert "Fix inputted date not reflecting in calendar (#856)"
AnurudraS Sep 5, 2023
eecfc07
Revert "override the inplace editing Edit element query."
AnurudraS Sep 5, 2023
f877e86
@releng moving to 0.12.1 schema (#857)
rismehta Sep 5, 2023
6a30238
Merge pull request #854 from adobe/FORMS-10184
AnurudraS Sep 5, 2023
8b90f3b
FORMS-10718 GuideBridge resolveNode API (#858)
rismehta Sep 6, 2023
7216646
test cases for custom submit action with redirect parameters (#847)
rismehta Sep 6, 2023
aa9820d
Forms 9492: removing validationExpression empty string from the jso…
s1mahanty Sep 6, 2023
da1f952
[FORMS-10586] update html structure for RTL (#844)
amit-mnnit Sep 8, 2023
95a91bd
FORMS-10259 - Custom properties - Refactor code to new design alignin…
TalmizAhmed Sep 11, 2023
6a97fa5
@releng: fixing client library compilation issue (#865)
rismehta Sep 11, 2023
5223644
FORMS-10179: enhancement to make Wrap data in object option easier to…
s1mahanty Aug 31, 2023
2da02c7
Fix inputted date not reflecting in calendar (#856)
ravise5 Sep 4, 2023
1d8852c
FORMS-9959 Test infrastructure changes to include core components in …
rismehta Sep 5, 2023
35190d7
Allowing Wizard to navigate if children exist but their view isn't in…
TalmizAhmed Sep 5, 2023
c9daf67
@releng moving to 0.12.1 schema (#857)
rismehta Sep 5, 2023
ebf3287
FORMS-10184 : value for component changed from core adaptive form to …
AnurudraS Sep 1, 2023
e53ddce
override the inplace editing Edit element query.
AnurudraS Aug 29, 2023
3498444
Revert "Fix inputted date not reflecting in calendar (#856)"
AnurudraS Sep 5, 2023
2b00e4d
Revert "override the inplace editing Edit element query."
AnurudraS Sep 5, 2023
21cde69
FORMS-10718 GuideBridge resolveNode API (#858)
rismehta Sep 6, 2023
8acc75f
test cases for custom submit action with redirect parameters (#847)
rismehta Sep 6, 2023
ac60e87
Forms 9492: removing validationExpression empty string from the jso…
s1mahanty Sep 6, 2023
085e6e0
[FORMS-10586] update html structure for RTL (#844)
amit-mnnit Sep 8, 2023
889a471
FORMS-10259 - Custom properties - Refactor code to new design alignin…
TalmizAhmed Sep 11, 2023
2337585
@releng: fixing client library compilation issue (#865)
rismehta Sep 11, 2023
62430be
Revert "Revert "Fix inputted date not reflecting in calendar (#856)""
rismehta Sep 11, 2023
0bb473d
Merge pull request #867 from adobe/devToMaster1109
rismehta Sep 11, 2023
673c434
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
rismehta Sep 11, 2023
b4c86b6
@releng [maven-scm] :prepare for next development iteration
rismehta Sep 11, 2023
2537a79
Update README.md
rismehta Sep 12, 2023
f9a0b80
Update VERSIONS.md
rismehta Sep 12, 2023
60c2366
Conditional specification validation during PR build (#872)
rismehta Sep 12, 2023
364dbce
Optimizing test run (#873)
rismehta Sep 13, 2023
90ee1b5
Merging from latest 650.
sakshi-arora1 Sep 14, 2023
061a54d
Removing import of models.
sakshi-arora1 Sep 14, 2023
a34c0ed
Releng moving to latest cloud ready quickstart (#874)
rismehta Sep 14, 2023
0e7ad4d
Merging dev to master.
sakshi-arora1 Sep 15, 2023
ad40c16
override the inplace editing Edit element query.
AnurudraS Aug 29, 2023
6393c43
Revert "Fix inputted date not reflecting in calendar (#856)"
AnurudraS Sep 5, 2023
732680e
Revert "override the inplace editing Edit element query."
AnurudraS Sep 5, 2023
0c1ab18
Conditional specification validation during PR build (#872)
rismehta Sep 12, 2023
17bab3b
Optimizing test run (#873)
rismehta Sep 13, 2023
f1290d2
Releng moving to latest cloud ready quickstart (#874)
rismehta Sep 14, 2023
aa297b7
Merge branch 'devToMaster' of https://github.com/adobe/aem-core-forms…
sakshi-arora1 Sep 18, 2023
b6759bc
Re-adding Fix inputted date not reflecting in calendar (#856)
sakshi-arora1 Sep 18, 2023
c589f3f
Removing sync PR.
sakshi-arora1 Sep 18, 2023
df7962b
Merge pull request #877 from adobe/devToMaster
sakshi-arora1 Sep 18, 2023
1c9d73b
Adding sync PR step back.
sakshi-arora1 Sep 18, 2023
c30ec5b
Merging latest master 18 Sep 2023 to 650.
sakshi-arora1 Sep 18, 2023
b77d80c
Increasing the aemfd-client-sdk version.
sakshi-arora1 Sep 19, 2023
4739ce1
Add tests and fix failing tests
Sep 19, 2023
79bf745
Adding the classic and classic latest back to the config.yml for 650.
sakshi-arora1 Sep 19, 2023
48c67f4
Merge branch 'dev' of https://github.com/adobe/aem-core-forms-compone…
Sep 19, 2023
67442a7
Removing parallelism.
sakshi-arora1 Sep 20, 2023
016a62d
Forms 10956 axe (#881)
prateek1497 Sep 20, 2023
395532a
[FORMS-10944] update filled/empty class (#876)
amit-mnnit Sep 21, 2023
7ae8090
Forms 10419: clear option bug fix for Date Picker (#837)
s1mahanty Sep 21, 2023
b13b587
Adding and increasing wait time for 650.
sakshi-arora1 Sep 22, 2023
623e7f8
Merge branch 'dev' of https://github.com/adobe/aem-core-forms-compone…
Sep 22, 2023
753e02e
Adding and increasing wait time for 650.
sakshi-arora1 Sep 22, 2023
841f942
Adding and increasing wait time for 650.
sakshi-arora1 Sep 22, 2023
00583ee
Merge pull request #855 from adobe/fix-wrapper
dmaurya929 Sep 22, 2023
aecb184
Increasing timeout for cypress tests.
sakshi-arora1 Sep 25, 2023
a584ead
Fixing z index test to point to coral-tablist instead of role.
sakshi-arora1 Sep 25, 2023
e3f117c
FORMS-9362: loading icon behind fields (#880)
AnurudraS Sep 27, 2023
8fa9dbe
Forms-3342 editElementQuery changes as span (#883)
AnurudraS Sep 27, 2023
09df3a7
Merge pull request #898 from adobe/dev-master-28
rismehta Sep 29, 2023
3bf7da4
@releng [maven-scm] :prepare release core-forms-components-reactor-2.…
sakshi-arora1 Sep 29, 2023
2216f1d
@releng [maven-scm] :prepare for next development iteration
sakshi-arora1 Sep 29, 2023
de0c506
merging master to release 650 - 29 september 2023.
sakshi-arora1 Sep 29, 2023
afd9d20
Adding fix for pom.xml.
sakshi-arora1 Sep 29, 2023
a084422
Fixing 650 test cases.
sakshi-arora1 Oct 12, 2023
182b46f
Fixing additional tests.
sakshi-arora1 Oct 16, 2023
85faf50
Fixing additional tests.
sakshi-arora1 Oct 16, 2023
2655c04
Fixing additional tests.
sakshi-arora1 Oct 16, 2023
06e8d52
Fixing additional tests.
sakshi-arora1 Oct 18, 2023
8c80a55
Fixing additional tests.
sakshi-arora1 Oct 18, 2023
2d378c1
Fixing additional tests.
sakshi-arora1 Oct 18, 2023
d8c932f
Commenting few tests, to be fixed.
sakshi-arora1 Oct 18, 2023
001209f
Fixing flaky test.
sakshi-arora1 Oct 19, 2023
99906bb
Fixing flaky test.
sakshi-arora1 Oct 19, 2023
2875cfa
Commenting flaky test.
sakshi-arora1 Oct 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/ci/accessibility-axe.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const calculateAccessibility = async () => {

const options = new chrome.Options();
const driver = new WebDriver.Builder().forBrowser('chrome').setChromeOptions(options).build();
const ACCESSIBILITY_COLLATERAL_URL = "http://localhost:4502/content/dam/formsanddocuments/core-components-it/samples/wizard/repeatability/jcr:content?wcmmode=disabled"
const ACCESSIBILITY_COLLATERAL_URL = "http://localhost:4502/content/dam/formsanddocuments/core-components-it/samples/accessibility/jcr:content?wcmmode=disabled"
const aemUsername = ci.sh('mvn --file ui.tests help:evaluate -Dexpression=AEM_AUTHOR_USERNAME -q -DforceStdout', true);
const aemPassword = ci.sh('mvn --file ui.tests help:evaluate -Dexpression=AEM_AUTHOR_PASSWORD -q -DforceStdout', true);

Expand Down
7 changes: 1 addition & 6 deletions .circleci/ci/accessibilityConfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"accessibilityExceptionList": [
"label",
"landmark-one-main",
"page-has-heading-one",
"region"
]
"accessibilityExceptionList": []
}
2 changes: 2 additions & 0 deletions .circleci/ci/it-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ try {
preleaseOpts = "--cmd-options \\\"-r prerelease\\\"";
}
}
// add feature toggle impl bundle to check FT on cloud ready or release/650 instance
extras += ` --install-file ${buildPath}/it/core/src/main/resources/com.adobe.granite.toggle.impl.dev-1.1.2.jar`;

// Start CQ
ci.sh(`./qp.sh -v start --id author --runmode author --port 4502 --qs-jar /home/circleci/cq/author/cq-quickstart.jar \
Expand Down
47 changes: 35 additions & 12 deletions .circleci/ci/lighthouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const checkLightHouse = async () => {
const aemUsername = ci.sh('mvn --file ui.tests help:evaluate -Dexpression=AEM_AUTHOR_USERNAME -q -DforceStdout', true);
const aemPassword = ci.sh('mvn --file ui.tests help:evaluate -Dexpression=AEM_AUTHOR_PASSWORD -q -DforceStdout', true);

const lighthouse = await import('lighthouse')
const {default: LHDesktopConfig} = await import('lighthouse/core/config/desktop-config.js')
const chromeLauncher = await import('chrome-launcher')
const chrome = await chromeLauncher.launch({chromeFlags: ['--headless']});
const options = {
Expand All @@ -40,37 +40,60 @@ const checkLightHouse = async () => {
};
const lighthouseConfig = JSON.parse(fs.readFileSync('/home/circleci/build/.circleci/ci/lighthouseConfig.json'))

const runnerResult = await lighthouse.default(lighthouseConfig.urls[0], options);
// `.report` is the HTML report as a string
const desktopResult = await computeMedianScores(lighthouseConfig.urls[0], options, LHDesktopConfig) // Running lighthouse for desktop
console.log('Lighthouse Report for desktop generated', desktopResult.lhr.finalDisplayedUrl);
console.log(getCommentText(desktopResult.lhr.categories, 'desktop'))
const desktopReportHtml = desktopResult.report;

const reportHtml = runnerResult.report;
console.log('Report is done for', runnerResult.lhr.finalDisplayedUrl);
console.log(getCommentText(runnerResult.lhr.categories))
const mobileResult = await computeMedianScores(lighthouseConfig.urls[0], options) // by default lighthouse scores are computed for mobile device
console.log('Lighthouse Report for desktop generated', mobileResult.lhr.finalDisplayedUrl);
console.log(getCommentText(mobileResult.lhr.categories, 'mobile'))
const mobileReportHtml = mobileResult.report;

if(process.env.AEM === "addon"){ // posting lighthouse scores only in case of AEM is addon
await ci.postCommentToGitHubFromCI(getCommentText(runnerResult.lhr.categories))
await ci.postCommentToGitHubFromCI(getCommentText(desktopResult.lhr.categories, 'desktop'))
await ci.postCommentToGitHubFromCI(getCommentText(mobileResult.lhr.categories, 'mobile'))
}
ci.sh('mkdir artifacts');
ci.dir("artifacts", () => {
fs.writeFileSync('LigthouseReport.html', reportHtml);
fs.writeFileSync('DesktopLigthouseReport.html', desktopReportHtml);
fs.writeFileSync('MobileLigthouseReport.html', mobileReportHtml);
});


const thresholdResults = checkThresholds(runnerResult.lhr.categories, lighthouseConfig)
const thresholdResults = checkThresholds(mobileResult.lhr.categories, lighthouseConfig) // using mobile lighthouse scores as these are usually lower
console.log("thresholdResults -->>>> ", thresholdResults)
if(!thresholdResults.isThresholdPass && process.env.AEM === "addon"){
console.log("Error: Lighthouse score for aem-core-forms-components, below the thresholds")
await ci.postCommentToGitHubFromCI("Error: Lighthouse score for aem-core-forms-components, below the thresholds, check reports under artifacts in CircleCI")
process.exit(1);
}
else if(thresholdResults.updateLighthouseConfig && ['master', 'dev', 'release/650'].includes(process.env.CIRCLE_BRANCH) && process.env.AEM === "addon"){ // only execute if branch name is 'master'
writeObjLighthouseConfig(runnerResult.lhr.categories, lighthouseConfig)
writeObjLighthouseConfig(mobileResult.lhr.categories, lighthouseConfig)
}
await chrome.kill();
}

const getCommentText = (resultCategories) => {
const commentText = `### Lighthouse scores\n\n| | Performance | Accessibility | Best-Practices | SEO |\n| ------ | ----------- | ------------- | -------------- | --- |\n| Scores | ${resultCategories.performance.score*100} | ${resultCategories.accessibility.score*100} | ${resultCategories['best-practices'].score*100} | ${resultCategories.seo.score*100} |`
const computeMedianScores = async (url, options, config) => {
const {default:lighthouse} = await import('lighthouse');
const {computeMedianRun} = await import('lighthouse/core/lib/median-run.js');
const lhrs = [], results = [];
for(let i=0; i<5; i++) {
try {
const result = await lighthouse(url, options, config);
results.push(result);
lhrs.push(result.lhr);
} catch (e) {
console.log(e)
}
}
const median = computeMedianRun(lhrs);
const result = results[lhrs.indexOf(median)]
return result;
}

const getCommentText = (resultCategories, preset) => {
const commentText = `### Lighthouse scores (${preset})\n\n| | Performance | Accessibility | Best-Practices | SEO |\n| ------ | ----------- | ------------- | -------------- | --- |\n| Scores | ${resultCategories.performance.score*100} | ${resultCategories.accessibility.score*100} | ${resultCategories['best-practices'].score*100} | ${resultCategories.seo.score*100} |`
return commentText
}

Expand Down
6 changes: 3 additions & 3 deletions .circleci/ci/lighthouseConfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"urls": [
"http://localhost:4502/content/dam/formsanddocuments/core-components-it/samples/wizard/repeatability/jcr:content?wcmmode=disabled"
"http://localhost:4502/content/dam/formsanddocuments/core-components-it/samples/accessibility/jcr:content?wcmmode=disabled"
],
"requiredScores": [
{
"performance": 80,
"accessibility": 90,
"accessibility": 100,
"bestPractices": 100,
"seo": 70
},
{
"performance": 85,
"accessibility": 95,
"accessibility": 100,
"bestPractices": 100,
"seo": 75
}
Expand Down
56 changes: 53 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1

orbs:
codecov: codecov/[email protected]
browser-tools: circleci/browser-tools@1.3.0
browser-tools: circleci/browser-tools@1.4.3

common:
restore_cache: &restore_cache
Expand Down Expand Up @@ -89,7 +89,7 @@ executors:
docker:
- image: docker-adobe-cif-release.dr-uw2.adobeitc.com/circleci-qp:6.4.6-openjdk11
<<: *docker_auth
- image: docker-adobe-cif-release.dr-uw2.adobeitc.com/circleci-aem-cloudready:12142-openjdk11
- image: docker-adobe-cif-release.dr-uw2.adobeitc.com/circleci-aem-cloudready:12441-openjdk11
<<: *docker_auth
test_executor_655:
docker:
Expand Down Expand Up @@ -163,7 +163,8 @@ jobs:
AEM: classic
TYPE: cypress
BROWSER: chrome
resource_class: large
PRERELEASE: 'true'
resource_class: xlarge
working_directory: /home/circleci/build
<<: *cypress_test_steps

Expand Down Expand Up @@ -241,6 +242,55 @@ jobs:
--data-binary @"$ARTIFACT" \
"$UPLOAD_URL?name=$(basename "$ARTIFACT")"
done
- run:
name: Configure git user name
command: |
git config user.email "ci-build@aemforms"
git config user.name "ci-build"
- add_ssh_keys:
fingerprints:
- "ba:61:80:74:5e:67:7e:ee:15:4c:5d:58:8a:47:12:05"
- run:
name: Update VERSIONS.md and README.md with the new released version
command: |
RELEASE_BRANCH=$(git branch --contains ${CIRCLE_TAG} | awk 'FNR==2 {print $1}')

# Checkout branch
git checkout $RELEASE_BRANCH

# Retrieve the branch name
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)

# Find the last two tags on the branch
LAST_TWO_TAGS=$(git log --pretty=format:"%D" --decorate=full ${BRANCH_NAME} | grep -o "tag: refs/tags/core-forms-components-reactor-[0-9.]*" | head -n 2)

# Extract the last released from the output
LAST_TAG=$(echo "$LAST_TWO_TAGS" | tail -n 1 | sed "s/tag: refs\/tags\///")

# If there is no previous release, use an empty string
if [[ -z "$LAST_TAG" ]]; then
LAST_TAG=""
fi

# Fetch the new version
NEW_VERSION=$(echo ${CIRCLE_TAG} | sed 's/^core-forms-components-reactor-//')

# Fetch the last released version
LAST_VERSION=$(echo "${LAST_TAG}" | sed 's/core-forms-components-reactor-//')

# Fetch the wcm core component version
WCM_CORE_COMPONENTS_VERSION=$(mvn help:evaluate -Dexpression=core.wcm.components.version -q -DforceStdout)

# update versions.md
sed -i "/$LAST_VERSION/ { p; b; }; 1,/$LAST_VERSION/ { p; d; }" VERSIONS.md
sed -i -E "0,/(\| $LAST_VERSION\s*\|) [0-9]+\.[0-9]+\.[0-9]+\s*\|/s//| $NEW_VERSION \| $WCM_CORE_COMPONENTS_VERSION |/" VERSIONS.md

# update readme.md
sed -i -E "s/(\| $LAST_VERSION\s*\|) [0-9]+\.[0-9]+\.[0-9]+ \s*\| /| $NEW_VERSION | $WCM_CORE_COMPONENTS_VERSION | /g" README.md

git add VERSIONS.md README.md
git commit -m "Update VERSIONS.md and README.md to include version ${NEW_VERSION}"
git push origin $RELEASE_BRANCH

workflows:
version: 2
Expand Down
4 changes: 3 additions & 1 deletion bundles/af-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
<!-- javax.annotation;version=0.0.0,-->
<!-- https://github.com/jhy/jsoup/issues/1616 -->
javax.annotation;version=!;resolution:=optional,javax.annotation.meta;version=!;resolution:=optional,
com.adobe.cq.wcm.core.components.models;version="[12.0.0,13.0.0)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

model versions of core components will be needed right

*
</Import-Package>
<Embed-Dependency>
Expand Down Expand Up @@ -165,7 +166,7 @@
<limit>
<counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value>
<minimum>0.60</minimum>
<minimum>0.80</minimum>
</limit>
</limits>
</rule>
Expand Down Expand Up @@ -484,6 +485,7 @@
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<classifier>apis</classifier>
sakshi-arora1 marked this conversation as resolved.
Show resolved Hide resolved
</dependency>

<!-- End of AEM and forms sdk versions -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,12 @@ private FormConstants() {
/** The resource type for submit button v1 */
public static final String RT_FD_FORM_RESET_BUTTON_V1 = RT_FD_FORM_PREFIX + "actions/reset/v1/reset";

/** The resource type for fragment v1 */
public static final String RT_FD_FORM_FRAGMENT_V1 = RT_FD_FORM_PREFIX + "fragment/v1/fragment";

public static final String RT_FD_FRAGMENT_CONTAINER_V1 = RT_FD_FORM_PREFIX + "fragmentcontainer/v1/fragmentcontainer";

public static final String FORM_FIELD_TYPE = "form";

public static final String REQ_ATTR_FORMCONTAINER_PATH = "formContainerPath";
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
package com.adobe.cq.forms.core.components.internal.form;

import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.Model;
import org.apache.sling.models.annotations.injectorspecific.InjectionStrategy;
import org.apache.sling.models.annotations.injectorspecific.SlingObject;
import org.jetbrains.annotations.Nullable;

Expand All @@ -25,10 +27,14 @@
import com.adobe.cq.forms.core.components.util.ComponentUtils;

@Model(
adaptables = Resource.class,
adaptables = { SlingHttpServletRequest.class, Resource.class },
adapters = FormStructureParser.class)
public class FormStructureParserImpl implements FormStructureParser {

@SlingObject(injectionStrategy = InjectionStrategy.OPTIONAL)
@Nullable
private SlingHttpServletRequest request;

@SlingObject
private Resource resource;

Expand Down Expand Up @@ -89,6 +95,9 @@ private FormContainer getFormContainer(@Nullable Resource resource) {
}

private String getFormContainerPath(Resource resource) {
if (request != null && request.getAttribute(FormConstants.REQ_ATTR_FORMCONTAINER_PATH) != null) {
return (String) request.getAttribute(FormConstants.REQ_ATTR_FORMCONTAINER_PATH);
}
if (resource == null) {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import com.adobe.cq.forms.core.components.internal.form.FormConstants;
import com.adobe.cq.forms.core.components.models.form.CheckBox;
import com.adobe.cq.forms.core.components.util.AbstractOptionsFieldImpl;
import com.adobe.cq.forms.core.components.util.ComponentUtils;

@Model(
adaptables = { SlingHttpServletRequest.class, Resource.class },
Expand Down Expand Up @@ -67,4 +68,12 @@ public Orientation getOrientation() {
return orientation;
}

@Override
public Object[] getEnums() {
if (enums == null) {
return null;
} else {
return ComponentUtils.coerce(type, enums);
}
}
}
Loading