Skip to content

25162 Fixed link in error message on frontend #26328

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

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
44bfad0
#631 Convert CreateCmsPageEntityTest to MFTF
vovsky Apr 3, 2019
fc8d449
#631 added mftf_migrated tag
vovsky Apr 3, 2019
49d5327
refactored according to best practices
vovsky Apr 12, 2019
0bb861c
refactoring, fixing code review notes
vovsky May 1, 2019
ab8b8bd
minor refactoring
vovsky May 1, 2019
13af1ec
Merge branch '2.3-develop' into 631-Convert-CreateCmsPageEntityTest-t…
vovsky May 1, 2019
3f0a6b2
updated stepkey name in AdminOpenCMSPagesGridActionGroup
vovsky May 1, 2019
4464db0
Merge branch '2.3-develop' into 631-Convert-CreateCmsPageEntityTest-t…
vovsky May 14, 2019
5f7c334
Merge branch '2.3-develop' into 631-Convert-CreateCmsPageEntityTest-t…
okolesnyk May 14, 2019
ae520b8
fixed AdminCMSPageCreateDisabledPageTest after the merge
vovsky May 15, 2019
0cffb01
Merge branch '631-Convert-CreateCmsPageEntityTest-to-MFTF' of github.…
vovsky May 15, 2019
6e164cf
Merge branch '2.3-develop' into 631-Convert-CreateCmsPageEntityTest-t…
vovsky Jul 24, 2019
0225d61
fixed actiongroup name
vovsky Jul 24, 2019
5e31538
Merge branch '2.3-develop' into 631-Convert-CreateCmsPageEntityTest-t…
vovsky Aug 16, 2019
c8e81d8
MC-25235: Tier Prices error on product update
yelahin-serhiy Nov 20, 2019
0f96aac
Merge pull request #2 from magento/2.3-develop
mmularski Nov 21, 2019
f8b6886
Issue-628. Convert CreateTermEntityTest to MFTF
mmularski Jul 10, 2019
7de9c30
Issue-628. Convert CreateTermEntityTest to MFTF - CR fixes
mmularski Nov 26, 2019
4b81e7b
MC-29444: Extra Values of UPS and USPS are in dropdown list Cart Pric…
viktorpetryk Dec 11, 2019
4c32e54
MC-29658: [2.4] Strange changes in the URL structure for subcategories
ameysar Dec 11, 2019
67c368b
MC-29444: Extra Values of UPS and USPS are in dropdown list Cart Pric…
viktorpetryk Dec 12, 2019
fefd792
Merge remote-tracking branch 'origin/2.4-develop' into MC-29444
viktorpetryk Dec 12, 2019
f3b4e17
Merge remote-tracking branch 'origin/2.4-develop' into MC-29444
viktorpetryk Dec 12, 2019
713d6b6
Merge remote-tracking branch 'origin/2.4-develop' into MC-29444
viktorpetryk Dec 13, 2019
647880b
MC-25176: Storefront quick search leads to exception
zakdma Dec 13, 2019
fe0aede
Merge remote-tracking branch 'origin/2.4-develop' into MC-25176
zakdma Dec 13, 2019
9ee7b86
Merge remote-tracking branch 'origin/2.4-develop' into MC-25176
zakdma Dec 16, 2019
aa697ce
Merge remote-tracking branch 'origin/2.4-develop' into MC-29444
viktorpetryk Dec 17, 2019
cab418b
MC-29444: Extra Values of UPS and USPS are in dropdown list Cart Pric…
viktorpetryk Dec 17, 2019
c869e45
Merge remote-tracking branch 'origin/2.4-develop' into MC-29444
viktorpetryk Dec 17, 2019
21254bf
Merge remote-tracking branch 'origin/2.4-develop' into MC-29444
viktorpetryk Dec 20, 2019
3cd62c7
MC-29866: getBasePrice function returns a string sometimes
rostyslav-hymon Dec 20, 2019
51a8378
MC-29444: Extra Values of UPS and USPS are in dropdown list Cart Pric…
viktorpetryk Dec 20, 2019
e401124
Merge remote-tracking branch 'origin/2.4-develop' into MC-29444
viktorpetryk Dec 20, 2019
20af9fc
MC-29896: [QUESTION] Stretched Out Images
yelahin-serhiy Dec 23, 2019
4903c50
Merge remote-tracking branch 'origin/2.4-develop' into MC-29658
svitja Dec 23, 2019
0c72dd4
MC-24268: MFTF\Integration\WebApi Tests failed if magento installed w…
zakdma Dec 23, 2019
e50c17f
MC-29023: Custom attribute values cannot be saved in Admin panel
viktorpetryk Dec 24, 2019
a729f62
MC-24239: [Integration Test] CategoryTree::getTree() returns all the …
zakdma Dec 24, 2019
feceb40
Delete Product URL Rewrite
DmitryTsymbal Dec 25, 2019
56a0f6c
MC-29967: [Braintree] Place Order button is not disabled
SeruyV Dec 26, 2019
0a45ec2
Merge branch '2.4-develop' into MC-29866
rostyslav-hymon Dec 26, 2019
934338c
MC-29691: Storefront: Simple product with custom attribute per multip…
ysapiga Dec 26, 2019
3751889
MC-29686: Storefront: Out of Stock product on category page with conf…
ysapiga Dec 26, 2019
23dfe2b
MC-29967: [Braintree] Place Order button is not disabled
SeruyV Dec 26, 2019
fb14df6
Merge remote-tracking branch 'origin/MC-29686' into 2.4-develop-com-pr2
ysapiga Dec 26, 2019
b51f02a
MC-25125: Layered Navigation with different Scope for attribute
mykhailomatiola Dec 27, 2019
d6bd516
Merge branch 'MC-25125' into 2.4-develop-com-pr2
mykhailomatiola Dec 27, 2019
27f7626
MC-29689: Admin: Check Product Price index table
IvanPletnyov Dec 27, 2019
27a415c
MC-24952: Storefront: Product custom options on product page
IvanPletnyov Dec 27, 2019
bc6ec62
MC-24931: Admin: Delete product attribute
IvanPletnyov Dec 27, 2019
d1132c1
Merge remote-tracking branch 'origin/MC-24931' into 2.4-develop-com-pr2
IvanPletnyov Dec 27, 2019
32320e2
Merge remote-tracking branch 'origin/MC-24952' into 2.4-develop-com-pr2
IvanPletnyov Dec 27, 2019
dfaee32
Merge remote-tracking branch 'origin/MC-29689' into 2.4-develop-com-pr2
IvanPletnyov Dec 27, 2019
3064b66
Create Integration Entity With Duplicated Name Test
DmitryTsymbal Jan 3, 2020
dd541f0
Comments Deleting
DmitryTsymbal Jan 3, 2020
9f14f7d
MC-20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 3, 2020
4a75109
MC-29951: [On-Prem] Out of stock items included in Category Filtering
rostyslav-hymon Jan 6, 2020
0f282ed
Merge remote-tracking branch 'origin/2.4-develop' into MC-24239
svitja Jan 6, 2020
d05e25b
MC-30224: [2.4] Deleting an empty user model caused deleting admin role
zakdma Jan 6, 2020
e3b7d35
MC-29946: [On Prem] - When transaction is declined, no default shippi…
nikita-shcherbatykh Jan 6, 2020
ff1aa7e
MC-29804: [Magento Cloud] JsFooterPlugin.php Bug
nikita-shcherbatykh Jan 6, 2020
a45d23c
MC-25269: Upgrade from 2.3.x CE with SD to 2.3.x EE fails
krissyhiserote Jan 6, 2020
f7a8831
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 6, 2020
fedf671
MC-24172: Fix Skipped MFTF Tests From MC-17140: MC-14770, MC-14771, M…
Jan 7, 2020
8b66837
MC-25269: Upgrade from 2.3.x CE with SD to 2.3.x EE fails
krissyhiserote Jan 7, 2020
d1791d9
Merge branch '2.4-develop' of github.com:magento/magento2ce into MC-2…
Jan 7, 2020
844620f
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 7, 2020
f71f123
MC-20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 7, 2020
2be144c
Merge remote-tracking branch 'origin/2.4-develop' into 2.4-develop-co…
zakdma Jan 8, 2020
1f7cc36
Merge branch '2.4-develop' into MC-29946
nikita-shcherbatykh Jan 8, 2020
59f7709
Merge branch '2.4-develop' into MC-29804
nikita-shcherbatykh Jan 8, 2020
fb144ab
Merge remote-tracking branch 'origin/2.4-develop' into MC-29967
viktorpetryk Jan 8, 2020
316d0e7
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 8, 2020
1e78714
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 8, 2020
6f0c13c
Merge branch 'DeleteProductUrlRewriteEntityTest' of https://github.co…
soumyau Jan 8, 2020
b50e4b4
Merge branch 'DuplicatedNameIntegrationEntity' of https://github.com/…
soumyau Jan 8, 2020
3263f9d
Merge branch '631-Convert-CreateCmsPageEntityTest-to-MFTF' of https:/…
soumyau Jan 8, 2020
3237e18
MQE-1949: [MTF-to-MFTF] Delete Product URL Rewrite #757
soumyau Jan 8, 2020
c5872d0
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 8, 2020
ad8db1b
Merge branch 'issue/628-checkout-agreements' of https://github.com/mm…
soumyau Jan 8, 2020
6aeeb23
MQE-1931: [MTF-To-MFTF] Process PR 718
soumyau Jan 8, 2020
e249408
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 8, 2020
bcd925a
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 8, 2020
7a77191
MQE-1920: [MTF-To-MFTF] Process PR 701
soumyau Jan 8, 2020
1ed7dc9
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 8, 2020
d5fa89c
MQE-1920: [MTF-To-MFTF] Process PR 701
soumyau Jan 9, 2020
b2ac86e
MC-29960: [Magento Cloud] Unable to delete CSV files from Export Grid
nikita-shcherbatykh Jan 9, 2020
b514405
Merge remote-tracking branch 'origin/2.4-develop' into MC-29023
svitja Jan 9, 2020
64c0d3e
MC-30140: Some environment variables do not lock the settings in the …
nikita-shcherbatykh Jan 9, 2020
9b70d13
25162 Fixed SubscriptionErrorMessage on frontend
Usik2203 Jan 9, 2020
92c99be
Merge remote-tracking branch 'origin/2.4-develop' into MC-25176
DianaRusin Jan 9, 2020
592cb1e
MC-30224: [2.4] Deleting an empty user model caused deleting admin role
zakdma Jan 9, 2020
493a74d
MC-29841: Insecure Session Handling
nikita-shcherbatykh Jan 9, 2020
6043415
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 9, 2020
bf93d0f
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 9, 2020
78a3b4d
MQE-1920: [MTF-To-MFTF] Process PR 701
soumyau Jan 9, 2020
a07ddfe
MQE-1920: [MTF-To-MFTF] Process PR 701
soumyau Jan 9, 2020
7a4b904
MQE-1920: [MTF-To-MFTF] Process PR 701
soumyau Jan 9, 2020
6c3a643
MQE-1920: [MTF-To-MFTF] Process PR 701
soumyau Jan 9, 2020
1306a68
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 9, 2020
3fef885
merge magento/2.4-develop into magento-tsg/2.4-develop-com-pr2
magento-mts-svc Jan 10, 2020
2d67075
MC-30201: ES6.0+ Display all products on page
rostyslav-hymon Jan 10, 2020
721e74e
Merge remote-tracking branch 'origin/2.4-develop' into MC-30224
svitja Jan 10, 2020
30223b7
Merge branch '2.4-develop' into 25162-message-at-frontend-has-no-html…
Usik2203 Jan 10, 2020
d99e231
MC-29775: [Magento Cloud] Recently Viewed products issues in Multi we…
nikita-shcherbatykh Jan 10, 2020
6602711
MC-29866: getBasePrice function returns a string sometimes
rostyslav-hymon Jan 10, 2020
44f9c0a
Merge branch '2.4-develop' into MC-29866
rostyslav-hymon Jan 10, 2020
0e50513
MC-29866: getBasePrice function returns a string sometimes
rostyslav-hymon Jan 10, 2020
c136baa
Merge remote-tracking branch 'origin/MC-29896' into 2.4-develop-pr6
serhii-balko Jan 10, 2020
87d61ec
Merge remote-tracking branch 'origin/MC-25235' into 2.4-develop-pr6
serhii-balko Jan 10, 2020
1583363
Merge remote-tracking branch 'origin/MC-29946' into 2.4-develop-pr6
serhii-balko Jan 10, 2020
6a8a098
Merge remote-tracking branch 'origin/MC-29951' into 2.4-develop-pr6
serhii-balko Jan 10, 2020
99b620e
Merge remote-tracking branch 'origin/MC-29804' into 2.4-develop-pr6
serhii-balko Jan 10, 2020
117735d
Merge remote-tracking branch 'origin/MC-30140' into 2.4-develop-pr6
serhii-balko Jan 10, 2020
2668b35
Merge remote-tracking branch 'origin/MC-29960' into 2.4-develop-pr6
serhii-balko Jan 10, 2020
bbce659
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 10, 2020
02727a8
MQE-1931: [MTF-To-MFTF] Process PR 718
soumyau Jan 10, 2020
999c094
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, M…
avattam06 Jan 10, 2020
f9a8884
Merge pull request #5191 from magento-tsg/2.4-develop-com-pr2
zakdma Jan 10, 2020
a696e52
Merge branch '2.4-develop' of github.com:magento/magento2ce into MC-2…
Jan 10, 2020
fa93295
MQE-1931: [MTF-To-MFTF] Process PR 718
soumyau Jan 10, 2020
467f1f9
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 10, 2020
be763b4
Merge remote-tracking branch 'origin/MC-24268' into 2.4-develop-pr1
zakdma Jan 10, 2020
14104d3
Merge remote-tracking branch 'origin/MC-24239' into 2.4-develop-pr1
zakdma Jan 10, 2020
2a36016
Merge remote-tracking branch 'origin/MC-25176' into 2.4-develop-pr1
zakdma Jan 10, 2020
6213ff9
Merge remote-tracking branch 'origin/MC-29444' into 2.4-develop-pr1
zakdma Jan 10, 2020
49811b5
Merge remote-tracking branch 'origin/MC-29658' into 2.4-develop-pr1
zakdma Jan 10, 2020
543a102
Merge remote-tracking branch 'origin/MC-29967' into 2.4-develop-pr1
zakdma Jan 10, 2020
6ccba68
Merge remote-tracking branch 'origin/MC-29023' into 2.4-develop-pr1
zakdma Jan 10, 2020
458b71b
Merge remote-tracking branch 'origin/MC-30224' into 2.4-develop-pr1
zakdma Jan 10, 2020
b02f5cb
Merge remote-tracking branch 'origin/2.4-develop' into su-comm-test-m…
soumyau Jan 12, 2020
73899c3
MQE-1931: [MTF-To-MFTF] Process PR 718
soumyau Jan 12, 2020
79b35c4
Merge remote-tracking branch 'mainline/2.4-develop' into 2.4-develop-pr6
serhii-balko Jan 13, 2020
ede1188
MC-29023: Custom attribute values cannot be saved in Admin panel
zakdma Jan 13, 2020
0e85981
Merge remote-tracking branch 'origin/MC-29023' into 2.4-develop-pr1
zakdma Jan 13, 2020
5ad40fa
Merge pull request #5197 from magento-tsg-csl3/2.4-develop-pr6
zakdma Jan 13, 2020
cff5353
MC-23535: Fix Skipped MFTF Tests MC-28537
dhaecker Jan 13, 2020
414f95b
merge magento/2.4-develop into magento-pangolin/su-comm-test-migratio…
magento-mts-svc Jan 13, 2020
65797aa
Merge remote-tracking branch 'origin/2.4-develop' into 2.4-develop-pr1
zakdma Jan 13, 2020
02aa7c3
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 13, 2020
974f722
MC-29023: Custom attribute values cannot be saved in Admin panel
zakdma Jan 13, 2020
7f1e61a
Merge remote-tracking branch 'origin/MC-29023' into 2.4-develop-pr1
zakdma Jan 13, 2020
482ddac
Merge remote-tracking branch 'mainline/2.4-develop' into MC-24172
Jan 13, 2020
783ebb9
Merge remote-tracking branch 'origin/Mc-24172' into MC-20074-24develop
Jan 13, 2020
55fd418
MC-30288: Hidden PHP Notice and Warning in tests
Rrego6 Jan 13, 2020
f5d8643
merge magento/2.4-develop into magento-trigger/MC-30288
Rrego6 Jan 13, 2020
e7c7b97
Merge branch '2.4-develop' into MC-29866
rostyslav-hymon Jan 14, 2020
e4d4964
Merge remote-tracking branch 'origin/MC-29841' into 2.4-develop-pr7
serhii-balko Jan 14, 2020
d0e74a7
Merge remote-tracking branch 'origin/MC-29775' into 2.4-develop-pr7
serhii-balko Jan 14, 2020
5d39a25
Merge remote-tracking branch 'origin/MC-30201' into 2.4-develop-pr7
serhii-balko Jan 14, 2020
07ac4c8
MC-30201: ES6.0+ Display all products on page
rostyslav-hymon Jan 14, 2020
fc81683
Merge remote-tracking branch 'origin/MC-30201' into 2.4-develop-pr7
serhii-balko Jan 14, 2020
5e9f1b3
MC-29023: Custom attribute values cannot be saved in Admin panel
zakdma Jan 14, 2020
5eedddf
Merge remote-tracking branch 'origin/MC-29023' into 2.4-develop-pr1
zakdma Jan 14, 2020
199d7c2
Merge pull request #5198 from magento-pangolin/su-comm-test-migration-pr
KevinBKozan Jan 14, 2020
9e54541
Merge branch '2.4-develop' into MC-23535
dhaecker Jan 14, 2020
46426f8
merge magento/2.4-develop into magento-tsg/2.4-develop-pr1
magento-devops-community-builds-svc Jan 14, 2020
b8800f8
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 14, 2020
0aac728
merge magento/2.4-develop into magento-trigger/MC-30288
magento-mts-svc Jan 14, 2020
0ff7d22
Merge pull request #5200 from magento-obsessive-owls/MC-23535
omiroshnichenko Jan 15, 2020
8b25696
merge magento/2.4-develop into magento-tsg/2.4-develop-pr1
magento-devops-community-builds-svc Jan 15, 2020
49477e9
Merge pull request #5204 from magento-tsg/2.4-develop-pr1
zakdma Jan 15, 2020
43ab003
Merge remote-tracking branch 'mainline/2.4-develop' into 2.4-develop-pr7
serhii-balko Jan 15, 2020
004dcf1
merge magento/2.4-develop into magento-trigger/MC-25269
magento-mts-svc Jan 15, 2020
1c881cf
merge magento/2.4-develop into magento-trigger/MC-30288
magento-mts-svc Jan 15, 2020
07a8685
MC-25269: Upgrade from 2.3.x CE with SD to 2.3.x EE fails
krissyhiserote Jan 15, 2020
3a55648
Merge pull request #5201 from magento-trigger/MC-30288
irenelagno Jan 15, 2020
4f6d267
Merge remote-tracking branch 'origin/2.4-develop' into MC-20074-24dev…
avattam06 Jan 15, 2020
1de35a6
merge magento/2.4-develop into magento-honey-badgers/MC-20074-24develop
magento-mts-svc Jan 15, 2020
f14d15e
merge magento/2.4-develop into magento-trigger/MC-25269
magento-mts-svc Jan 15, 2020
d001f7b
Merge pull request #5202 from magento-honey-badgers/MC-20074-24develop
cpartica Jan 15, 2020
9e4c782
merge magento/2.4-develop into magento-trigger/MC-25269
magento-mts-svc Jan 15, 2020
4bfca16
Merge remote-tracking branch 'mainline/2.4-develop' into 2.4-develop-pr7
serhii-balko Jan 16, 2020
6b4a82b
Merge pull request #5207 from magento-tsg-csl3/2.4-develop-pr7
zakdma Jan 16, 2020
eccdd0a
merge magento/2.4-develop into magento-trigger/MC-25269
magento-mts-svc Jan 16, 2020
3e4db87
Merge pull request #5211 from magento-trigger/MC-25269
irenelagno Jan 16, 2020
3e591ba
Merge branch '25162-message-at-frontend-has-no-html-format' of github…
Usik2203 Jan 17, 2020
7a2b06c
added MFTF test for PR
Usik2203 Jan 17, 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
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<argument name="submenuUiId" value="{{AdminMenuReportsBusinessIntelligenceAdvancedReporting.dataUiId}}"/>
</actionGroup>
<switchToNextTab stepKey="switchToNewTab"/>
<waitForPageLoad stepKey="waitForAdvancedReportingPageLoad"/>
<seeInCurrentUrl url="advancedreporting.rjmetrics.com/report" stepKey="seeAssertAdvancedReportingPageUrl"/>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@
<severity value="MAJOR"/>
<group value="backend"/>
<group value="mtf_migrated"/>
<skip>
<issueId value="MC-17140"/>
</skip>
</annotations>
<before>
<magentoCLI command="config:set {{MinifyJavaScriptFilesEnableConfigData.path}} {{MinifyJavaScriptFilesEnableConfigData.value}}" stepKey="enableJsMinification"/>
<magentoCLI command="cache:clean config" stepKey="cleanCache"/>
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
</before>
<after>
<magentoCLI command="config:set {{MinifyJavaScriptFilesDisableConfigData.path}} {{MinifyJavaScriptFilesDisableConfigData.value}}" stepKey="disableJsMinification"/>
<actionGroup ref="logout" stepKey="logout"/>
</after>

<see userInput="Dashboard" selector="{{AdminHeaderSection.pageTitle}}" stepKey="seeDashboardTitle"/>
<waitForPageLoad stepKey="waitForPageLoadOnDashboard"/>
<actionGroup ref="AssertAdminSuccessLoginActionGroup" stepKey="loggedInSuccessfully"/>
<actionGroup ref="AssertAdminPageIsNot404ActionGroup" stepKey="dontSee404Page"/>
</test>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
use Magento\Eav\Api\Data\AttributeGroupInterfaceFactory;
use Magento\Eav\Api\Data\AttributeInterface;
use Magento\Eav\Api\Data\AttributeSetInterface;
use Magento\Eav\Model\Cache\Type as CacheType;
use Magento\Framework\Api\ExtensionAttributesFactory;
use Magento\Framework\Api\SearchCriteriaBuilder;
use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Framework\App\CacheInterface;
use Magento\Framework\App\ObjectManager;
use Magento\Framework\Controller\Result\Json;
use Magento\Framework\Controller\Result\JsonFactory;
Expand All @@ -29,7 +31,7 @@
use Psr\Log\LoggerInterface;

/**
* Class AddAttributeToTemplate
* Assign attribute to attribute set.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
Expand Down Expand Up @@ -80,6 +82,11 @@ class AddAttributeToTemplate extends Product implements HttpPostActionInterface
*/
protected $extensionAttributesFactory;

/**
* @var CacheInterface
*/
private $cache;

/**
* Constructor
*
Expand All @@ -94,8 +101,8 @@ class AddAttributeToTemplate extends Product implements HttpPostActionInterface
* @param AttributeManagementInterface $attributeManagement
* @param LoggerInterface $logger
* @param ExtensionAttributesFactory $extensionAttributesFactory
* @param CacheInterface|null $cache
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
* @SuppressWarnings(PHPMD.LongVariable)
* @SuppressWarnings(PHPMD.NPathComplexity)
*/
public function __construct(
Expand All @@ -109,7 +116,8 @@ public function __construct(
SearchCriteriaBuilder $searchCriteriaBuilder = null,
AttributeManagementInterface $attributeManagement = null,
LoggerInterface $logger = null,
ExtensionAttributesFactory $extensionAttributesFactory = null
ExtensionAttributesFactory $extensionAttributesFactory = null,
CacheInterface $cache = null
) {
parent::__construct($context, $productBuilder);
$this->resultJsonFactory = $resultJsonFactory;
Expand All @@ -129,6 +137,7 @@ public function __construct(
->get(LoggerInterface::class);
$this->extensionAttributesFactory = $extensionAttributesFactory ?: ObjectManager::getInstance()
->get(ExtensionAttributesFactory::class);
$this->cache = $cache ?? ObjectManager::getInstance()->get(CacheInterface::class);
}

/**
Expand Down Expand Up @@ -203,6 +212,7 @@ function (AttributeInterface $attribute) use ($attributeSet, $attributeGroup) {
);
}
);
$this->cache->clean([CacheType::CACHE_TAG]);
} catch (LocalizedException $e) {
$response->setError(true);
$response->setMessage($e->getMessage());
Expand All @@ -223,7 +233,7 @@ function (AttributeInterface $attribute) use ($attributeSet, $attributeGroup) {
*/
private function getBasicAttributeSearchCriteriaBuilder()
{
$attributeIds = (array) $this->getRequest()->getParam('attributeIds', []);
$attributeIds = (array)$this->getRequest()->getParam('attributeIds', []);

if (empty($attributeIds['selected'])) {
throw new LocalizedException(__('Attributes were missing and must be specified.'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ protected function populateFlatTables(array $stores)
}
$category['store_id'] = $store->getId();
$data[] = $this->prepareValuesToInsert(
// phpcs:ignore Magento2.Performance.ForeachArrayMerge
array_merge($category, $attributesData[$category[$linkField]])
);
}
Expand Down Expand Up @@ -183,7 +184,7 @@ private function getActualStoreTablesForCategoryFlat(): array
foreach ($this->storeManager->getStores() as $store) {
$actualStoreTables[] = sprintf(
'%s_store_%s',
$this->connection->getTableName('catalog_category_flat'),
$this->connection->getTableName($this->getTableName('catalog_category_flat')),
$store->getId()
);
}
Expand All @@ -199,7 +200,7 @@ private function getActualStoreTablesForCategoryFlat(): array
private function deleteAbandonedStoreCategoryFlatTables(): void
{
$existentTables = $this->connection->getTables(
$this->connection->getTableName('catalog_category_flat_store_%')
$this->connection->getTableName($this->getTableName('catalog_category_flat_store_%'))
);
$actualStoreTables = $this->getActualStoreTablesForCategoryFlat();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ protected function _updateRelationProducts($storeId, $productIds = null)
['t' => $this->_productIndexerHelper->getTable($relation->getTable())],
['entity_table.entity_id', $relation->getChildFieldName(), new \Zend_Db_Expr('1')]
)->join(
['entity_table' => $this->_connection->getTableName('catalog_product_entity')],
['entity_table' => $this->_productIndexerHelper->getTable('catalog_product_entity')],
"entity_table.{$metadata->getLinkField()} = t.{$relation->getParentFieldName()}",
[]
)->join(
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Catalog/Model/Product/Type/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ protected function _applyTierPrice($product, $qty, $finalPrice)

$tierPrice = $product->getTierPrice($qty);
if (is_numeric($tierPrice)) {
$finalPrice = min($finalPrice, $tierPrice);
$finalPrice = min($finalPrice, (float) $tierPrice);
}
return $finalPrice;
}
Expand Down Expand Up @@ -645,7 +645,7 @@ public function calculateSpecialPrice(
) {
if ($specialPrice !== null && $specialPrice != false) {
if ($this->_localeDate->isScopeDateInInterval($store, $specialPriceFrom, $specialPriceTo)) {
$finalPrice = min($finalPrice, $specialPrice);
$finalPrice = min($finalPrice, (float) $specialPrice);
}
}
return $finalPrice;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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="AdminExpandProductAttributesTabActionGroup">
<annotations>
<description>Expands the 'Attributes' tab on the Admin Product page.</description>
</annotations>

<scrollTo selector="{{AdminProductAttributeSection.attributeSectionHeader}}" stepKey="scrollToAttributesTab"/>
<conditionalClick selector="{{AdminProductAttributeSection.attributeSectionHeader}}" dependentSelector="{{AdminProductAttributeSection.attributeSection}}" visible="false" stepKey="expandAttributesTab"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?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="AssertStorefrontAttributeOptionPresentInLayeredNavigationActionGroup">
<annotations>
<description>Clicks on the attribute label. Checks for attribute option presence.</description>
</annotations>
<arguments>
<argument name="attributeLabel" type="string" defaultValue="{{ProductAttributeFrontendLabel.label}}"/>
<argument name="attributeOptionLabel" type="string" defaultValue="{{Option1Store0.label}}"/>
<argument name="attributeOptionPosition" type="string" defaultValue="1"/>
</arguments>

<waitForElementVisible selector="{{StorefrontCategorySidebarSection.filterOptionsTitle(attributeLabel)}}" stepKey="waitForAttributeVisible"/>
<conditionalClick selector="{{StorefrontCategorySidebarSection.filterOptionsTitle(attributeLabel)}}" dependentSelector="{{StorefrontCategorySidebarSection.activeFilterOptions}}" visible="false" stepKey="clickToExpandAttribute"/>
<waitForElementVisible selector="{{StorefrontCategorySidebarSection.activeFilterOptions}}" stepKey="waitForAttributeOptionsVisible"/>
<see selector="{{StorefrontCategorySidebarSection.activeFilterOptionItemByPosition(attributeOptionPosition)}}" userInput="{{attributeOptionLabel}}" stepKey="assertAttributeOptionInLayeredNavigation"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
<element name="optionQty" type="text" selector=".filter-options-content .item .count"/>
<element name="filterOptionByLabel" type="button" selector=" div.filter-options-item div[option-label='{{optionLabel}}']" parameterized="true"/>
<element name="removeFilter" type="button" selector="div.filter-current .remove"/>
<element name="activeFilterOptions" type="text" selector=".filter-options-item.active .items"/>
<element name="activeFilterOptionItemByPosition" type="text" selector=".filter-options-item.active .items li:nth-child({{itemPosition}}) a" parameterized="true"/>
</section>
<section name="StorefrontCategorySidebarMobileSection">
<element name="shopByButton" type="button" selector="//div[contains(@class, 'filter-title')]/strong[contains(text(), 'Shop By')]"/>
</section>
</sections>
</sections>
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?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="AdminCheckCustomAttributeValuesAfterProductSaveTest">
<annotations>
<features value="Catalog"/>
<stories value="Product attributes"/>
<title value="Saving custom attribute values using UI"/>
<description value="Checks that saved custom attribute values are reflected on the product's edit page"/>
<severity value="MAJOR"/>
<testCaseId value="MC-29653"/>
<useCaseId value="MC-29023"/>
<group value="catalog"/>
</annotations>
<before>
<!-- Create multi select product attribute -->
<createData entity="productAttributeMultiselectTwoOptions" stepKey="createMultiSelectProductAttribute"/>
<!-- Add options to created product attribute -->
<createData entity="productAttributeOption1" stepKey="addFirstOptionToAttribute">
<requiredEntity createDataKey="createMultiSelectProductAttribute"/>
</createData>
<createData entity="productAttributeOption2" stepKey="addSecondOptionToAttribute">
<requiredEntity createDataKey="createMultiSelectProductAttribute"/>
</createData>
<createData entity="productAttributeOption3" stepKey="addThirdOptionToAttribute">
<requiredEntity createDataKey="createMultiSelectProductAttribute"/>
</createData>
<!-- Create simple product -->
<createData entity="SimpleProduct2" stepKey="createSimpleProduct"/>
<magentoCLI command="indexer:reindex" arguments="catalogsearch_fulltext" stepKey="reindexCatalogSearch"/>
<!-- Login to Admin page -->
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
</before>
<after>
<!-- Delete created entities -->
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
<deleteData createDataKey="createMultiSelectProductAttribute" stepKey="deleteMultiSelectProductAttribute"/>
<!-- Logout from Admin page -->
<actionGroup ref="logout" stepKey="logoutFromAdmin"/>
</after>

<!-- Open created product for edit -->
<amOnPage url="{{AdminProductEditPage.url($createSimpleProduct.id$)}}" stepKey="goToProductEditPage"/>
<waitForPageLoad stepKey="waitForProductPageLoad"/>

<!-- Add created attribute to the product -->
<actionGroup ref="AddProductAttributeInProductModalActionGroup" stepKey="addAttributeToProduct">
<argument name="attributeCode" value="$createMultiSelectProductAttribute.attribute_code$"/>
</actionGroup>
<waitForPageLoad stepKey="waitForAttributeAdded"/>

<!-- Expand 'Attributes' tab -->
<actionGroup ref="AdminExpandProductAttributesTabActionGroup" stepKey="expandAttributesTab"/>
<!-- Check created attribute presents in the 'Attributes' tab -->
<seeElement selector="{{AdminProductAttributesSection.attributeDropdownByCode($createMultiSelectProductAttribute.attribute_code$)}}" stepKey="assertAttributeIsPresentInTab"/>
<!-- Select attribute options -->
<selectOption selector="{{AdminProductAttributesSection.attributeDropdownByCode($createMultiSelectProductAttribute.attribute_code$)}}" parameterArray="[$addFirstOptionToAttribute.option[store_labels][0][label]$, $addThirdOptionToAttribute.option[store_labels][0][label]$]" stepKey="selectAttributeOptions"/>
<!-- Save product -->
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProductForm"/>

<!-- Check attribute options are selected -->
<actionGroup ref="AdminExpandProductAttributesTabActionGroup" stepKey="expandAttributesTabAfterProductSave"/>
<seeOptionIsSelected selector="{{AdminProductAttributesSection.attributeDropdownByCode($createMultiSelectProductAttribute.attribute_code$)}}" userInput="$addFirstOptionToAttribute.option[store_labels][0][label]$" stepKey="assertFirstOptionIsSelected"/>
<seeOptionIsSelected selector="{{AdminProductAttributesSection.attributeDropdownByCode($createMultiSelectProductAttribute.attribute_code$)}}" userInput="$addThirdOptionToAttribute.option[store_labels][0][label]$" stepKey="assertThirdOptionIsSelected"/>

<!-- Search for the product on Storefront -->
<amOnPage url="{{StorefrontHomePage.url}}" stepKey="goToHomePage"/>
<waitForPageLoad stepKey="waitForHomePageLoad"/>
<actionGroup ref="StorefrontCheckQuickSearchActionGroup" stepKey="searchProductOnStorefront">
<argument name="phrase" value="$createSimpleProduct.name$"/>
</actionGroup>

<!-- Assert that attribute values present in layered navigation -->
<actionGroup ref="AssertStorefrontAttributeOptionPresentInLayeredNavigationActionGroup" stepKey="assertFirstAttributeOptionPresence">
<argument name="attributeLabel" value="$createMultiSelectProductAttribute.attribute[frontend_labels][0][label]$"/>
<argument name="attributeOptionLabel" value="$addFirstOptionToAttribute.option[store_labels][0][label]$"/>
<argument name="attributeOptionPosition" value="1"/>
</actionGroup>
<actionGroup ref="AssertStorefrontAttributeOptionPresentInLayeredNavigationActionGroup" stepKey="assertThirdAttributeOptionPresence">
<argument name="attributeLabel" value="$createMultiSelectProductAttribute.attribute[frontend_labels][0][label]$"/>
<argument name="attributeOptionLabel" value="$addThirdOptionToAttribute.option[store_labels][0][label]$"/>
<argument name="attributeOptionPosition" value="2"/>
</actionGroup>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<actionGroup ref="logout" stepKey="adminLogout"/>
</after>

<actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYG"/>
<comment userInput="remove me" stepKey="disableWYSIWYG"/>

<!-- Create new virtual product -->
<actionGroup ref="GoToSpecifiedCreateProductPageActionGroup" stepKey="createVirtualProduct">
Expand Down Expand Up @@ -185,6 +185,6 @@
<actionGroup ref="StorefrontOpenCartFromMinicartActionGroup" stepKey="openCart"/>
<dontSeeElement selector="{{StorefrontProductCartGiftOptionSection.giftOptions}}" stepKey="dontSeeGiftOptionBtn"/>

<actionGroup ref="EnabledWYSIWYGActionGroup" stepKey="enableWYSIWYG"/>
<comment userInput="remove me" stepKey="enableWYSIWYG"/>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<testCaseId value="MC-14714"/>
<severity value="CRITICAL"/>
<group value="mtf_migrated"/>
<skip>
<issueId value="MC-30409"/>
</skip>
</annotations>

<before>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
<testCaseId value="MAGETWO-58718"/>
<group value="product"/>
<group value="WYSIWYGDisabled"/>
<skip>
<issueId value="MC-13841"/>
</skip>
</annotations>
<before>
<!-- Login Admin -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<click selector="{{AdminCategoryBasicFieldSection.includeInMenuLabel}}" stepKey="disableIncludeInMenu"/>
<scrollTo selector="{{AdminCategoryContentSection.sectionHeader}}" x="0" y="-80" stepKey="scrollToContent"/>
<click selector="{{AdminCategoryContentSection.sectionHeader}}" stepKey="selectContent"/>
<scrollTo selector="{{AdminCategoryContentSection.description}}" x="0" y="-80" stepKey="scrollToDescription"/>
<fillField selector="{{AdminCategoryContentSection.description}}" userInput="Updated category Description Fields" stepKey="fillUpdatedDescription"/>
<scrollTo selector="{{AdminCategorySEOSection.SectionHeader}}" x="0" y="-80" stepKey="scrollToSearchEngineOptimization"/>
<click selector="{{AdminCategorySEOSection.SectionHeader}}" stepKey="selectSearchEngineOptimization"/>
Expand Down
Loading