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

[17] Read API :: Integration tests :: Customer* #55 #28669

Closed
wants to merge 180 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
706eee5
Fixed issue - 27099
dipeshrangani Feb 29, 2020
017d9de
Fix #27099 issue in blank theme
dipeshrangani Mar 3, 2020
ea70c0b
#26682 Disallow setting extension attributes as data array
amenk Mar 18, 2020
e7ff694
Fix bug 26449:
tna274 Mar 18, 2020
1071acf
Fix bug 26449: Set null for configurable options of parent product wh…
tna274 Mar 18, 2020
dcb59d3
#26682 Disallow setting extension attributes as data array
amenk Mar 19, 2020
3b6b038
Fix bug 26449: Set null for configurable options of parent product wh…
tna274 Mar 19, 2020
19ceb3a
Fix issue 26449: Fix code standard
tna274 Mar 20, 2020
1efecdf
Fix bug 26449: Fix unit test
tna274 Mar 22, 2020
1e9895d
Merge branch 'fix_issue_26449' of https://github.com/tna274/magento2 …
tna274 Mar 22, 2020
d139cf9
Fix bug 26449: Update unit test
tna274 Mar 25, 2020
11195fc
Fixing the opening of the product from the compare block
eduard13 Mar 26, 2020
3e18da8
Fixing the opening of the product from the compare block
eduard13 Mar 26, 2020
48b57fd
Fixing the opening of the product from the compare block
eduard13 Mar 26, 2020
cd55580
Moving the tests to the right module
eduard13 Mar 26, 2020
ec6bb30
Fix bug 26449: Fix code standard
tna274 Mar 26, 2020
7cad476
Fix bug 26449: Fix code standard
tna274 Mar 28, 2020
d896259
Fix bug 26449: Fix code standard
tna274 Mar 28, 2020
244a46b
Applying the fix to blank theme
eduard13 Apr 5, 2020
7d88658
Fix bug 26449: Fix code standard
tna274 Apr 6, 2020
95a2a09
Merge branch '2.4-develop' into compare-remove-product-issue
eduard13 Apr 8, 2020
221ef59
Small adjustments
eduard13 Apr 9, 2020
43e7715
Merge branch '2.4-develop' of http://github.com/magento/magento2 into…
engcom-Echo Apr 9, 2020
784e733
Merge branch '2.4-develop' of http://github.com/magento/magento2 into…
engcom-Echo Apr 10, 2020
962274a
Fix static test
engcom-Echo Apr 10, 2020
bdeb934
fixed validation for bundle checkbox options
ProkopovVitaliy Apr 14, 2020
e224442
fixed code style
ProkopovVitaliy Apr 20, 2020
6c7a5d4
added functional test for bundle product validation
ProkopovVitaliy Apr 28, 2020
8056d0e
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy Apr 28, 2020
999fb8f
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy Apr 29, 2020
bc18a8f
#27338 Add testmodule with extension attribute
amenk Apr 30, 2020
013bbc9
#27338 Adapt test case to supply extension attributes instead of cust…
amenk Apr 30, 2020
bf1722a
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy May 1, 2020
628beb0
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy May 4, 2020
7d86388
#27338: Test API functional for Extension Attribute of Shipping Addre…
engcom-Kilo May 5, 2020
517bc6e
#27338: Test API functional for Extension Attribute of Shipping Addre…
engcom-Kilo May 5, 2020
c29e323
#27338: Changes for SalesRule/Model/Quote/Discount , for fix if exist…
engcom-Kilo May 5, 2020
b60504e
#27338: Fix typo
engcom-Kilo May 5, 2020
65c7153
Revert changes
engcom-Kilo May 7, 2020
0753860
Fix Static test
engcom-Kilo May 12, 2020
f133bff
Revert changes
engcom-Kilo May 12, 2020
698ec67
Update app/code/Magento/Bundle/Test/Mftf/ActionGroup/AssertStorefront…
ProkopovVitaliy May 12, 2020
90ee413
Update app/code/Magento/Bundle/Test/Mftf/ActionGroup/AssertStorefront…
ProkopovVitaliy May 12, 2020
1046d8f
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy May 12, 2020
723d310
Merge branch '2.4-develop' into hot/fix-27099
slavvka May 12, 2020
ea41479
Merge branch '2.4-develop' of http://github.com/magento/magento2 into…
engcom-Echo May 13, 2020
1486300
conflict resolved
engcom-Echo May 13, 2020
deb5586
MFTF test, covered change
engcom-Echo May 14, 2020
5a8eb63
fixed functional test for bundle product validation
ProkopovVitaliy May 14, 2020
f46bed1
replaced indexer to corresponding cron command
ProkopovVitaliy May 18, 2020
f048e3a
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy May 18, 2020
c38d998
Refactoring.
engcom-Kilo May 18, 2020
579712b
Merge branch '2.4-develop' into fix/26682-no-overwriting-extension-at…
engcom-Kilo May 18, 2020
a06e9c0
Third level category menu issue fix
kishorenagalingam May 18, 2020
d0bceba
Merge branch '2.4-develop' into kishore/fix-28198
kishorenagalingam May 18, 2020
6a69a8f
replaced deprecated addWarning method with addWarningMessage method …
kishorekumarkesavan May 18, 2020
4d4e07f
Third level category menu issue fix - new line added
kishorenagalingam May 18, 2020
b2af00b
Merge branch 'kishore/fix-28198' of https://github.com/kishorenagalin…
kishorenagalingam May 18, 2020
9a0e4df
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy May 19, 2020
1abb423
Merge branch '2.4-develop' into kishore/fix-28198
kishorenagalingam May 19, 2020
877a017
fix static
engcom-Charlie May 19, 2020
c1b71d9
Merge branch '2.4-develop' into kishore/fix-28198
kishorenagalingam May 20, 2020
6b9bf69
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy May 23, 2020
84bfc0b
Merge branch '2.4-develop' into kishore/fix-28198
kishorenagalingam May 26, 2020
2fe9174
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy May 28, 2020
382cac4
fix line size issue
ProkopovVitaliy May 28, 2020
00f3514
Merge branch 'fix-27489' of github.com:ProkopovVitaliy/magento2 into …
ProkopovVitaliy May 28, 2020
6548d3c
fix issue
engcom-Charlie May 29, 2020
96e2cc0
impr
engcom-Charlie May 29, 2020
497fce2
refactored template
ProkopovVitaliy May 29, 2020
9b11cbc
Merge branch '2.4-develop' into fix-27489
ProkopovVitaliy May 29, 2020
96b2c54
MC-32956: New products position in DB always '0'
nikita-shcherbatykh Jun 1, 2020
a46a885
Refactoring the test
kate-kyzyma Jun 2, 2020
b9f6e87
Merge branch '2.4-develop' into MC-32956
nikita-shcherbatykh Jun 2, 2020
7fe0496
Refactoring the test
kate-kyzyma Jun 2, 2020
ad1b0f7
Merge branch '2.4-develop' into MC-32956
nikita-shcherbatykh Jun 2, 2020
e7f44cb
MC-33905: Custom email templates missing Template variables' values
nikita-shcherbatykh Jun 2, 2020
82990ff
Refactoring the test
kate-kyzyma Jun 2, 2020
b8d1ba3
Merge branch '2.4-develop' into MC-33905
nikita-shcherbatykh Jun 3, 2020
838b774
Refactoring the test
kate-kyzyma Jun 3, 2020
740408d
Refactoring the test
kate-kyzyma Jun 3, 2020
418e80b
MC-33765: [Magento On-Premise] Getting error while creating "Configur…
tsviklinskyi Jun 3, 2020
1fd5387
Refactoring CheckoutAgreements fixtures
Usik2203 Jun 3, 2020
604b504
refactoring customer fixtures
Usik2203 Jun 3, 2020
e7e6c73
Merge branch '2.4-develop' into integration-customer-import-export-fi…
Usik2203 Jun 3, 2020
52219fd
Merge branch '2.4-develop' into MC-33905
nikita-shcherbatykh Jun 4, 2020
0518666
Revert changes. Remove unused files.
engcom-Kilo Jun 4, 2020
2aae8ae
Merge branch '2.4-develop' into fix/26682-no-overwriting-extension-at…
engcom-Kilo Jun 4, 2020
e53f2fa
Merge branch '2.4-develop' into MC-32956
nikita-shcherbatykh Jun 4, 2020
7a28e6a
Merge branch '2.4-develop' into front_order_list
engcom-Kilo Jun 4, 2020
dff5331
MC-34314: page_layout attribute default option cannot be changed
tsviklinskyi Jun 4, 2020
6ca2d65
MC-34397: Catalog Image loading issue
rostyslav-hymon Jun 5, 2020
6411d1e
MC-34262: Download Sample File Link Does Not Work
rostyslav-hymon Jun 5, 2020
e3a2f47
MC-34397: Catalog Image loading issue
rostyslav-hymon Jun 5, 2020
bea3e40
Merge branch '2.4-develop' into MC-34397
rostyslav-hymon Jun 5, 2020
9c11e76
MC-34657: Related products are missing in some products when importin…
yelahin-serhiy Jun 5, 2020
ecda409
MFTF test.
engcom-Kilo Jun 5, 2020
8a9dec2
Merge branch '2.4-develop' into front_order_list
engcom-Kilo Jun 5, 2020
7f8387b
Merge remote-tracking branch 'origin/2.4-develop' into MC-34657
yelahin-serhiy Jun 5, 2020
3ae1ff3
MC-32789:Changes to the order are not received after the email has be…
jcuerdo Jun 5, 2020
1948538
Deprecate ActionGroup that should no longer be used (duplicate, not f…
lbajsarowicz Jun 7, 2020
3364015
MFTF: Replace redundant Xpath for `@id` attribute with CSS selector
lbajsarowicz Jun 8, 2020
d380130
Fix invalid replace of CSS classes
lbajsarowicz Jun 8, 2020
82bb2e4
Merge branch '2.4-develop' of https://github.com/magento-epam/magento…
jcuerdo Jun 8, 2020
a59716d
Merge branch '2.4-develop' into Refactoring-AdminCreateCategoryTest
kate-kyzyma Jun 9, 2020
8510ea7
MC-34734: [Magento Cloud] Shipping table rates issue
tsviklinskyi Jun 9, 2020
4c3aaf6
Update MFTF test.
engcom-Kilo Jun 9, 2020
b696ab2
Merge branch '2.4-develop' into front_order_list
engcom-Kilo Jun 9, 2020
f6c9dae
Merge remote-tracking branch 'origin/2.4-develop' into MC-34262
rostyslav-hymon Jun 9, 2020
a043dcc
Merge branch '2.4-develop' into Refactoring-AdminUpdateCategoryNameWi…
kate-kyzyma Jun 9, 2020
8b2fa09
MC-34620: Page builder editor breaks Cms pages with non Latin1 charac…
rostyslav-hymon Jun 9, 2020
005b10d
MC-35001: Klarna payment method default boxes are not staying checked
tsviklinskyi Jun 9, 2020
a93a105
Merge branch '2.4-develop' of http://github.com/magento/magento2 into…
engcom-Echo Jun 9, 2020
044dc68
test file has been moved to the tests folder
engcom-Echo Jun 9, 2020
38f76f7
ENGCOM-7610: Frontend customer account order list #28417
magento-engcom-team Jun 10, 2020
513f692
[17] Read API :: Integration tests :: Customer* #55
skovalenk Jun 10, 2020
435cc35
Update StorefrontRemoveProductFromCompareSidebarTest.xml
engcom-Echo Jun 10, 2020
f0242bf
Merge branch '2.4-develop' into MC-33905
nikita-shcherbatykh Jun 10, 2020
dfb74d5
Update StorefrontCheckNoAppearDefaultOptionConfigurableProductTest.xml
engcom-Echo Jun 10, 2020
ea3ce6f
Merge branch '2.4-develop' into MC-PUBLIC-17
skovalenk Jun 10, 2020
a74eaef
ENGCOM-7615: [Integration] Refactoring CheckoutAgreements fixtures #2…
magento-engcom-team Jun 10, 2020
5e10ee6
ENGCOM-7617: [Integration] Refactoring some customer fixtures #28498
magento-engcom-team Jun 10, 2020
091a0b2
ENGCOM-7654: Refactoring admin create category test #28629
magento-engcom-team Jun 10, 2020
fda1b14
ENGCOM-7654: Refactoring admin create category test #28629
slavvka Jun 10, 2020
5aa9568
ENGCOM-7617: [Integration] Refactoring some customer fixtures #28498
slavvka Jun 10, 2020
c044e1e
ENGCOM-7615: [Integration] Refactoring CheckoutAgreements fixtures #2…
slavvka Jun 10, 2020
553010e
ENGCOM-7610: Frontend customer account order list #28417
slavvka Jun 10, 2020
19be0cd
[17] Read API :: Integration tests :: Customer* #55
skovalenk Jun 10, 2020
885cdc7
Merge remote-tracking branch 'fork/MC-PUBLIC-17' into MC-PUBLIC-17
skovalenk Jun 10, 2020
f3c6170
MC-35020: can't add products to categories after implementing 2 Level…
nikita-shcherbatykh Jun 11, 2020
1911d58
Merge remote-tracking branch 'origin/MC-34657' into 2.4-develop-pr29
serhii-balko Jun 11, 2020
f630b4e
Merge remote-tracking branch 'origin/MC-33765' into 2.4-develop-pr29
serhii-balko Jun 11, 2020
154556b
Merge remote-tracking branch 'origin/MC-34620' into 2.4-develop-pr29
serhii-balko Jun 11, 2020
b25c808
Merge remote-tracking branch 'origin/MC-32956' into 2.4-develop-pr29
serhii-balko Jun 11, 2020
067ed33
Merge remote-tracking branch 'origin/MC-34734' into 2.4-develop-pr29
serhii-balko Jun 11, 2020
1bf247e
Merge remote-tracking branch 'origin/MC-34262' into 2.4-develop-pr29
serhii-balko Jun 11, 2020
d78623f
Merge remote-tracking branch 'origin/MC-33905' into 2.4-develop-pr29
serhii-balko Jun 11, 2020
059b73c
Merge remote-tracking branch 'origin/MC-35001' into 2.4-develop-pr29
serhii-balko Jun 11, 2020
0efe87c
Merge branch '2.4-develop' into refactor/mftf-admin-login-action-group
engcom-Kilo Jun 11, 2020
f3a160c
Merge pull request #5786 from magento-tsg-csl3/2.4-develop-pr29
viktym Jun 11, 2020
625e9ac
Merge branch '2.4-develop' of https://github.com/magento-epam/magento…
jcuerdo Jun 11, 2020
c1f99bf
[Magento Community Engineering] Community Contributions - 2.4-develop
magento-engcom-team Jun 11, 2020
1e5854c
ENGCOM-7623: MFTF: Refactoring admin check url rewrites multiple stor…
magento-engcom-team Jun 11, 2020
9584d6b
ENGCOM-7652: Third level category menu issue fix #28260
magento-engcom-team Jun 11, 2020
d91e323
ENGCOM-7656: Refactoring admin update category name with store view t…
magento-engcom-team Jun 11, 2020
f75f8ae
ENGCOM-7656: Refactoring admin update category name with store view t…
slavvka Jun 11, 2020
df42096
ENGCOM-7652: Third level category menu issue fix #28260
slavvka Jun 11, 2020
53e8f54
ENGCOM-7623: MFTF: Refactoring admin check url rewrites multiple stor…
slavvka Jun 11, 2020
c9c728e
Merge branch '2.4-develop' into MC-35020
nikita-shcherbatykh Jun 12, 2020
200747d
MC-34314: page_layout attribute default option cannot be changed
tsviklinskyi Jun 12, 2020
0ef6185
Merge branch '2.4-develop' into MC-34314
tsviklinskyi Jun 12, 2020
1d4862f
ENGCOM-7010: Fixed issue - 27099 #27106
magento-engcom-team Jun 12, 2020
82dd19e
add TestCaseId to MFTF
engcom-Echo Jun 12, 2020
0826289
ENGCOM-7292: [Catalog] Unable to open the product from sidebar's Comp…
magento-engcom-team Jun 12, 2020
67d4826
ENGCOM-7214: Fix bug 26449: Configurable product attribute issue #27339
magento-engcom-team Jun 12, 2020
dc14e50
Merge pull request #5791 from magento-epam/MC-32789-Squashed
zakdma Jun 12, 2020
9bd85c2
[17] Read API :: Integration tests :: Customer* #55
skovalenk Jun 12, 2020
6ef62c8
ENGCOM-7655: fixed validation for bundle checkbox options #27854
magento-engcom-team Jun 12, 2020
a7aea83
ENGCOM-7633: MFTF: Deprecate ActionGroup that should no longer be use…
magento-engcom-team Jun 12, 2020
1a8cde2
ENGCOM-7563: #26682 Disallow setting extension attributes as data arr…
magento-engcom-team Jun 12, 2020
7580e9c
ENGCOM-7637: MFTF: Replace redundant Xpath for \`@id\` attribute with…
magento-engcom-team Jun 12, 2020
b97490c
ENGCOM-7565: replaced deprecated addWarning method with addWarningMe…
magento-engcom-team Jun 12, 2020
99a0999
[Magento Community Engineering] Community Contributions - 2.4-develop…
magento-engcom-team Jun 12, 2020
6d43d57
[Magento Community Engineering] Community Contributions - 2.4-develop
magento-engcom-team Jun 12, 2020
d2ed23c
ENGCOM-7655: fixed validation for bundle checkbox options #27854
slavvka Jun 12, 2020
9e39870
ENGCOM-7637: MFTF: Replace redundant Xpath for `@id` attribute with C…
slavvka Jun 12, 2020
6635229
ENGCOM-7633: MFTF: Deprecate ActionGroup that should no longer be use…
slavvka Jun 12, 2020
541c955
ENGCOM-7565: replaced deprecated addWarning method with addWarningMe…
slavvka Jun 12, 2020
de54246
ENGCOM-7563: #26682 Disallow setting extension attributes as data arr…
slavvka Jun 12, 2020
108d22f
ENGCOM-7292: [Catalog] Unable to open the product from sidebar's Comp…
slavvka Jun 12, 2020
5bc7f00
ENGCOM-7214: Fix bug 26449: Configurable product attribute issue #27339
slavvka Jun 12, 2020
b3e466d
ENGCOM-7010: Fixed issue - 27099 #27106
slavvka Jun 12, 2020
e11fa6f
:arrows_clockwise: [Magento Community Engineering] Community Contribu…
magento-engcom-team Jun 12, 2020
ae1e95f
[Magento Community Engineering] Community Contributions - 2.4-develop
magento-engcom-team Jun 12, 2020
3a65cdc
:arrows_clockwise: [Magento Community Engineering] Community Contribu…
magento-engcom-team Jun 13, 2020
666fc1d
Merge remote-tracking branch 'origin/MC-35020' into 2.4-develop-pr30
serhii-balko Jun 15, 2020
5d28a94
Merge remote-tracking branch 'origin/MC-34314' into 2.4-develop-pr30
serhii-balko Jun 15, 2020
1121b23
Merge remote-tracking branch 'origin/MC-34397' into 2.4-develop-pr30
serhii-balko Jun 15, 2020
c284664
Merge pull request #5798 from magento-tsg-csl3/2.4-develop-pr30
zakdma Jun 15, 2020
03ef2e9
Merge branch '2.4-develop' of https://github.com/magento/magento2 int…
skovalenk Jun 16, 2020
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
10 changes: 5 additions & 5 deletions app/code/Magento/Backend/Test/Mftf/Section/AdminMenuSection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<element name="widgets" type="button" selector="#nav li[data-ui-id='menu-magento-widget-cms-widget-instance']"/>
<element name="stores" type="button" selector="#menu-magento-backend-stores"/>
<element name="configuration" type="button" selector="#nav li[data-ui-id='menu-magento-config-system-config']"/>
<element name="dashboard" type="button" selector="//li[@id='menu-magento-backend-dashboard']"/>
<element name="sales" type="button" selector="//li[@id='menu-magento-sales-sales']"/>
<element name="marketing" type="button" selector="//li[@id='menu-magento-backend-marketing']"/>
<element name="system" type="button" selector="//li[@id='menu-magento-backend-system']"/>
<element name="findPartners" type="button" selector="//li[@id='menu-magento-marketplace-partners']"/>
<element name="dashboard" type="button" selector="#menu-magento-backend-dashboard"/>
<element name="sales" type="button" selector="#menu-magento-sales-sales"/>
<element name="marketing" type="button" selector="#menu-magento-backend-marketing"/>
<element name="system" type="button" selector="#menu-magento-backend-system"/>
<element name="findPartners" type="button" selector="#menu-magento-marketplace-partners"/>

<!-- Navigate menu selectors -->
<element name="menuItem" type="button" selector="li[data-ui-id='menu-{{dataUiId}}']" parameterized="true" timeout="30"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AssertStorefrontBundleValidationMessageActionGroup">
<annotations>
<description>Check error message in validation message box</description>
</annotations>
<arguments>
<argument name="message" type="string"/>
</arguments>

<waitForPageLoad stepKey="waitForPageLoad"/>
<see selector="{{StorefrontBundledSection.validationMessageBox}}" userInput="{{message}}" stepKey="seeErrorHoldMessage"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AssertStorefrontBundleValidationMessagesCountActionGroup">
<annotations>
<description>Check if there's a validation message box on page and asserts the validation messages number</description>
</annotations>

<waitForPageLoad stepKey="waitForPageLoad"/>
<seeElement selector="{{StorefrontBundledSection.validationMessageBox}}" stepKey="seeErrorBox"/>
<seeNumberOfElements selector="{{StorefrontBundledSection.validationMessageBox}}" userInput="1" stepKey="seeOneErrorBox"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="StorefrontAddToTheCartButtonActionGroup">
<annotations>
<description>Clicks 'Add to Cart' on a Storefront Bundled Product page.</description>
</annotations>

<waitForPageLoad stepKey="waitForPageLoad"/>
<waitForElementVisible selector="{{StorefrontBundleProductActionSection.addToCartButton}}" stepKey="waitForAddToCartButton"/>
<click selector="{{StorefrontBundleProductActionSection.addToCartButton}}" stepKey="clickOnAddToCartButton"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<element name="bundleOptionSelection" type="checkbox" selector="//div[@class='nested options-list']/div[{{optionNumber}}]/label[@class='label']" parameterized="true"/>
<!--Description-->
<!--CE exclusively-->
<element name="longDescriptionText" type="text" selector="//*[@id='description']/div/div" timeout="30"/>
<element name="shortDescriptionText" type="text" selector="//div[@class='product attribute overview']" timeout="30"/>
<element name="longDescriptionText" type="text" selector="#description>div>div" timeout="30"/>
<element name="shortDescriptionText" type="text" selector="div.product.attribute.overview" timeout="30"/>
<!--NameOfProductOnProductPage-->
<element name="bundleProductName" type="text" selector="//*[@id='maincontent']//span[@itemprop='name']"/>
<!--PageNotFoundErrorMessage-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<element name="updateCart" type="button" selector="#product-updatecart-button" timeout="30"/>
<element name="configuredPrice" type="block" selector=".price-configured_price .price"/>
<element name="fixedPricing" type="text" selector="//div[@class='price-box price-final_price']//span[@id]//..//span[contains(text(),'{{var1}}')]" parameterized="true"/>
<element name="customizeProduct" type="button" selector="//*[@id='bundle-slide']"/>
<element name="customizeProduct" type="button" selector="#bundle-slide"/>
<element name="customizableBundleItemOption" type="text" selector="//div[@class='field choice'][1]//input[@type='checkbox']"/>
<element name="customizableBundleItemOption2" type="text" selector="//div[@class='field choice'][2]//input[@type='checkbox']"/>
<element name="nthOptionDiv" type="block" selector="#product-options-wrapper div.field.option:nth-of-type({{var}})" parameterized="true"/>
Expand All @@ -38,5 +38,6 @@
<element name="currencyTrigger" type="select" selector="#switcher-currency-trigger" timeout="30"/>
<element name="currency" type="select" selector="//a[text()='{{arg}}']" parameterized="true"/>
<element name="multiSelectOption" type="select" selector="//div[@class='field option required']//select"/>
<element name="validationMessageBox" type="block" selector="#validation-message-box"/>
</section>
</sections>
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="StorefrontBundleCheckBoxOptionValidationTest">
<annotations>
<features value="Bundle"/>
<stories value="Bundle product validation before add to cart"/>
<title value="Customer should be able to see only one validation message for checkbox option group"/>
<description value="Customer should be able to see only one validation message for checkbox option group"/>
<testCaseId value="MC-35133"/>
<severity value="MINOR"/>
<group value="Bundle"/>
</annotations>
<before>
<createData entity="ApiProductWithDescription" stepKey="simpleProduct1" before="bundleProduct"/>
<createData entity="ApiProductWithDescription" stepKey="simpleProduct2" after="simpleProduct1"/>
<createData entity="ApiBundleProduct" stepKey="bundleProduct"/>
<createData entity="CheckboxOption" stepKey="checkboxBundleOption">
<requiredEntity createDataKey="bundleProduct"/>
</createData>
<createData entity="ApiBundleLink" stepKey="createBundleLink1">
<requiredEntity createDataKey="bundleProduct"/>
<requiredEntity createDataKey="checkboxBundleOption"/>
<requiredEntity createDataKey="simpleProduct1"/>
<field key="qty">2</field>
</createData>
<createData entity="ApiBundleLink" stepKey="createBundleLink2">
<requiredEntity createDataKey="bundleProduct"/>
<requiredEntity createDataKey="checkboxBundleOption"/>
<requiredEntity createDataKey="simpleProduct2"/>
<field key="qty">4</field>
</createData>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<deleteData createDataKey="bundleProduct" stepKey="deleteBundleProduct"/>
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>
<deleteData createDataKey="simpleProduct2" stepKey="deleteSimpleProduct2"/>
</after>
<actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductStorefront">
<argument name="productUrl" value="$$bundleProduct.custom_attributes[url_key]$$"/>
</actionGroup>
<actionGroup ref="StorefrontSelectCustomizeAndAddToTheCartButtonActionGroup" stepKey="customizeBundleProduct"/>
<actionGroup ref="StorefrontAddToTheCartButtonActionGroup" stepKey="addToCartBundleProduct"/>
<actionGroup ref="AssertStorefrontBundleValidationMessagesCountActionGroup" stepKey="assertBundleValidationCount"/>
<actionGroup ref="AssertStorefrontBundleValidationMessageActionGroup" stepKey="assertBundleValidationMessage">
<argument name="message" value="Please select one of the options."/>
</actionGroup>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,55 @@
<?php /* @var $block \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Checkbox */ ?>
<?php $_option = $block->getOption() ?>
<?php $_selections = $_option->getSelections() ?>
<?php $inputClass = 'checkbox product bundle option bundle-option-' . $block->escapeHtmlAttr($_option->getId()) ?>
<?php $inputId = 'bundle-option-' . $block->escapeHtmlAttr($_option->getId()) ?>
<?php $inputName = 'bundle_option[' . $block->escapeHtmlAttr($_option->getId()) . ']' ?>
<?php $dataValidation = 'data-validate="{\'validate-one-required-by-name\':\'input[name^=&quot;bundle_option[' .
$block->escapeHtmlAttr($_option->getId()) . ']&quot;]:checked\'}"' ?>

<div class="field option <?= ($_option->getRequired()) ? ' required': '' ?>">
<label class="label">
<span><?= $block->escapeHtml($_option->getTitle()) ?></span>
</label>
<div class="control">
<div class="nested options-list">
<?php if ($block->showSingle()) : ?>
<?php if ($block->showSingle()): ?>
<?= /* @noEscape */ $block->getSelectionQtyTitlePrice($_selections[0]) ?>
<?= /* @noEscape */ $block->getTierPriceRenderer()->renderTierPrice($_selections[0]) ?>
<input type="hidden"
class="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?> product bundle option"
name="bundle_option[<?= $block->escapeHtml($_option->getId()) ?>]"
value="<?= $block->escapeHtmlAttr($_selections[0]->getSelectionId()) ?>"/>
<?php else :?>
<?php foreach ($_selections as $_selection) : ?>
<?php else: ?>
<?php foreach ($_selections as $selection): ?>
<?php $sectionId = $selection->getSelectionId() ?>
<div class="field choice">
<input class="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?> checkbox product bundle option change-container-classname"
id="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>-<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>"
<input class="<?=/* @noEscape */ $inputClass ?> change-container-classname"
id="<?=/* @noEscape */ $inputId . '-' . $block->escapeHtmlAttr($sectionId)?>"
type="checkbox"
<?php if ($_option->getRequired()) { echo 'data-validate="{\'validate-one-required-by-name\':\'input[name^=&quot;bundle_option[' . $block->escapeHtmlAttr($_option->getId()) . ']&quot;]:checked\'}"'; } ?>
name="bundle_option[<?= $block->escapeHtmlAttr($_option->getId()) ?>][<?= $block->escapeHtmlAttr($_selection->getId()) ?>]"
data-selector="bundle_option[<?= $block->escapeHtmlAttr($_option->getId()) ?>][<?= $block->escapeHtmlAttr($_selection->getId()) ?>]"
<?php if ($block->isSelected($_selection)) { echo ' checked="checked"'; } ?>
<?php if (!$_selection->isSaleable()) { echo ' disabled="disabled"'; } ?>
value="<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>"/>
<?php if ($_option->getRequired()): ?>
<?= /* @noEscape */ $dataValidation ?>
<?php endif;?>
name="<?=/* @noEscape */ $inputName .'['. $block->escapeHtmlAttr($sectionId)?>]"
data-selector="<?= /* @noEscape */ $inputName.'['.$block->escapeHtmlAttr($sectionId)?>]"
<?php if ($block->isSelected($selection)): ?>
<?= ' checked="checked"' ?>
<?php endif; ?>
<?php if (!$selection->isSaleable()): ?>
<?= ' disabled="disabled"' ?>
<?php endif; ?>
value="<?= $block->escapeHtmlAttr($sectionId) ?>"
data-errors-message-box="#validation-message-box"/>
<label class="label"
for="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>-<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>">
<span><?= /* @noEscape */ $block->getSelectionQtyTitlePrice($_selection) ?></span>
for="<?= /* @noEscape */ $inputId . '-' . $block->escapeHtmlAttr($sectionId) ?>">
<span><?= /* @noEscape */ $block->getSelectionQtyTitlePrice($selection) ?></span>
<br/>
<?= /* @noEscape */ $block->getTierPriceRenderer()->renderTierPrice($_selection) ?>
<?= /* @noEscape */ $block->getTierPriceRenderer()->renderTierPrice($selection) ?>
</label>
</div>
<?php endforeach; ?>
<div id="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>-container"></div>
<div id="validation-message-box"></div>
<?php endif; ?>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<element name="customer" type="button" selector="//div[@class='admin__page-nav-title title _collapsible']//strong[text()='Customers']"/>
<element name="customerConfig" type="text" selector="//span[text()='Customer Configuration']"/>
<element name="captcha" type="button" selector="#customer_captcha-head"/>
<element name="dependent" type="button" selector="//a[@id='customer_captcha-head' and @class='open']"/>
<element name="dependent" type="button" selector="a#customer_captcha-head.open"/>
<element name="forms" type="multiselect" selector="#customer_captcha_forms"/>
<element name="createUser" type="multiselect" selector="//select[@id='customer_captcha_forms']/option[@value='user_create']"/>
<element name="forgotpassword" type="multiselect" selector="//select[@id='customer_captcha_forms']/option[@value='user_forgotpassword']"/>
Expand Down
57 changes: 0 additions & 57 deletions app/code/Magento/Catalog/Model/Product/SalabilityChecker.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private function processCategoryLinks($newCategoryPositions, &$oldCategoryPositi
* @param bool $insert
* @return array
*/
private function updateCategoryLinks(ProductInterface $product, array $insertLinks, $insert = false)
public function updateCategoryLinks(ProductInterface $product, array $insertLinks, $insert = false)
{
if (empty($insertLinks)) {
return [];
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminChangeCategoryNameActionGroup">
<annotations>
<description>Switch the Storefront to the provided Store.</description>
</annotations>
<arguments>
<argument name="categoryName" type="string" defaultValue="{{_defaultCategory.name}}"/>
</arguments>
<fillField selector="{{AdminCategoryBasicFieldSection.CategoryNameInput}}" userInput="{{categoryName}}" stepKey="updateCategoryName"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminChangeCategoryNameOnStoreViewLevelActionGroup">
<annotations>
<description>Updates the Category Name for proper Store View.</description>
</annotations>
<arguments>
<argument name="categoryName" type="string"/>
</arguments>

<uncheckOption selector="{{AdminCategoryBasicFieldSection.categoryNameUseDefault}}" stepKey="uncheckUseDefaultValueENStoreView"/>
<fillField selector="{{AdminCategoryBasicFieldSection.CategoryNameInput}}" userInput="{{categoryName}}" stepKey="changeNameField"/>
<click selector="{{AdminCategorySEOSection.SectionHeader}}" stepKey="clickOnSectionHeader"/>
</actionGroup>
</actionGroups>
Loading