-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7614 from magento-amigos/2.4-develop-prs
[Amigos] Community Contributions - 2.4-develop
- Loading branch information
Showing
14 changed files
with
169 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Bug report | ||
description: Technical issue with the Magento 2 core components | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please read [our guidelines](https://developer.adobe.com/commerce/contributor/guides/code-contributions/#report-an-issue) before submitting the issue. | ||
- type: textarea | ||
attributes: | ||
label: Preconditions and environment | ||
description: | | ||
Describe your environment. | ||
Provide all the details that will help us to reproduce the bug. | ||
value: | | ||
- Magento version | ||
- Anything else that would help a developer reproduce the bug | ||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce | ||
description: | | ||
Provide a set of clear steps to reproduce this bug. | ||
placeholder: | | ||
Example: | ||
1. Navigate to storefront as a guest. | ||
2. Open Test Category. | ||
3. Click “Add to Cart” on the Virtual Product. | ||
4. Open mini shopping cart and click “Proceed to Checkout”. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Expected result | ||
description: | | ||
Tell us what you expected to happen. | ||
placeholder: | | ||
Example: | ||
Order is placed successfully, customer is redirected to the success page. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Actual result | ||
description: | | ||
Tell us what happened. Include error messages and issues. | ||
placeholder: | | ||
Example: | ||
“Place order” button is not visible, order cannot be placed. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Additional information | ||
description: | | ||
Additional information is often requested when the bug report is processed. You can save time by providing both Magento and browser logs, screenshots, repository branch and HEAD commit you checked out to install Magento and any other artifacts related to the issue. | ||
Also, links to the comments with important information, Root Cause analysis, additional video recordings; and anything else that is important for the issue and at some reason cannot be added to other sections. | ||
- type: textarea | ||
attributes: | ||
label: Release note | ||
description: | | ||
Help us to provide meaningful release notes to the community. | ||
- type: checkboxes | ||
attributes: | ||
label: Triage and priority | ||
description: | | ||
Provide [Severity](https://developer.adobe.com/commerce/contributor/guides/code-contributions/#community-backlog-priority) assessment for the Issue as a Reporter. | ||
This information helps us during the Confirmation and Issue triage processes. | ||
options: | ||
- label: 'Severity: **S0** _- Affects critical data or functionality and leaves users without workaround._' | ||
- label: 'Severity: **S1** _- Affects critical data or functionality and forces users to employ a workaround._' | ||
- label: 'Severity: **S2** _- Affects non-critical data or functionality and forces users to employ a workaround._' | ||
- label: 'Severity: **S3** _- Affects non-critical data or functionality and does not force users to employ a workaround._' | ||
- label: 'Severity: **S4** _- Affects aesthetics, professional look and feel, “quality” or “usability”._' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
app/code/Magento/Catalog/Test/Mftf/Test/StorefrontProductImageWithDotTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?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="StorefrontProductImageWithDotTest"> | ||
<annotations> | ||
<features value="Catalog"/> | ||
<stories value="Product Image"/> | ||
<title value="Product image with dot in filename should be visible on frontend after catalog image cache flush"/> | ||
<description value="Product image with dot in filename should be visible on frontend after catalog image cache flush"/> | ||
<group value="Catalog"/> | ||
<severity value="AVERAGE"/> | ||
</annotations> | ||
<before> | ||
<magentoCLI command="config:set system/upload_configuration/enable_resize 0" stepKey="disableImageResizing"/> | ||
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> | ||
</before> | ||
<after> | ||
<magentoCLI command="config:set system/upload_configuration/enable_resize 1" stepKey="enableImageResizing"/> | ||
<actionGroup ref="DeleteProductBySkuActionGroup" stepKey="deleteProduct"> | ||
<argument name="sku" value="{{SimpleProduct.sku}}"/> | ||
</actionGroup> | ||
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearFilter"/> | ||
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutAsAdmin"/> | ||
</after> | ||
|
||
<!--Create product--> | ||
<actionGroup ref="AdminOpenNewProductFormPageActionGroup" stepKey="openNewProductPage"/> | ||
<actionGroup ref="FillMainProductFormActionGroup" stepKey="fillSimpleProductMain"> | ||
<argument name="product" value="SimpleProduct"/> | ||
</actionGroup> | ||
|
||
<!-- Add image to product --> | ||
<actionGroup ref="AddProductImageActionGroup" stepKey="addImageForSimpleProduct"> | ||
<argument name="image" value="TestImageWithDotInFilename"/> | ||
</actionGroup> | ||
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveSimpleProduct"/> | ||
|
||
<!-- Flush catalog image cache --> | ||
<actionGroup ref="AdminGoToCacheManagementPageActionGroup" stepKey="goToCacheManagementPage"/> | ||
<actionGroup ref="AdminClickFlushCatalogImagesCacheActionGroup" stepKey="clearCatalogImageCache"/> | ||
|
||
<!-- Assert product in storefront product page --> | ||
<actionGroup ref="AssertProductNameAndSkuInStorefrontProductPageActionGroup" stepKey="assertProductInStorefrontProductPage"> | ||
<argument name="product" value="SimpleProduct"/> | ||
</actionGroup> | ||
|
||
<!-- Assert product image in storefront product page --> | ||
<grabAttributeFrom userInput="src" selector="{{StorefrontProductMediaSection.imageFile(TestImageWithDotInFilename.filename)}}" stepKey="productImageURL"/> | ||
<helper class="Magento\Backend\Test\Mftf\Helper\CurlHelpers" method="assertImageContentIsEqual" stepKey="assertProductImageEqualToOriginalImage"> | ||
<argument name="url">{$productImageURL}</argument> | ||
<argument name="expectedString">{{TestImageWithDotInFilenameImageContent.baseImage_md5}}</argument> | ||
<argument name="message">Url: "{$productImageURL}" did not render image: {{TestImageWithDotInFilename.file}}</argument> | ||
</helper> | ||
</test> | ||
</tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters