-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedMageconf_Contribution_DayPAPPartners acceleration programPartners acceleration programPriority: P4No current plan to fix. Fixing can be deferred as a logical part of more important work.No current plan to fix. Fixing can be deferred as a logical part of more important work.Progress: PR in progressProject: GraphQLSeverity: S4Affects aesthetics, professional look and feel, “quality” or “usability”.Affects aesthetics, professional look and feel, “quality” or “usability”.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject itfeature request
Milestone
Description
Summary (*)
Catalog Module covers a significant number of use-cases and has a lot of GraphQL tests.
However, the structure of test files is unclear and makes navigation through it hard.
Examples (*)
GraphQL tests for Catalog module
Proposed solution
- Create two sub-folders in Catalog folder: Product and Category
- Move all product-related tests to created Product sub-folder
- Move existed CategoriesQuery folder to created Category folder
- Create two additional sub-folders in Category folder: GategoryQuery and CategoryListQuery
- Move category() query related tests to CategoryQuery sub-folder
- Move categoryList() query related tests to CategoryListQuery sub-folder
- Rename Options (Catalog/Options) folder to CustomizableOptions
- Move CustomizableOptions folder to Product folder
- Rename file MediaGalleryTest.php to ProductMediaGalleryTest.php
- Rename file UrlRewritesTest.php to ProductUrlRewritesTest.php
- Leave StoreConfigTest.php file in Catalog folder
- Leave ExceptionFormatterDefaultModeTest.php file in Catalog folder
Expected Files Tree Example:
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/
- Category/
- CategoriesQuery/
- categories() query related tests
- ...Test.php
- CategoryListQuery/
- categoryList() query related tests
- ...Test.php
- CategoryQuery/
- category() query related tests
- ...Test.php
- CategoriesQuery/
- Product/
- ProductViewTest.php
- ProductPriceTest.php
- VirtualProductTest.php
- ...Test.php
- CustomizableOptions/
- Uid/CustomizableOptionsUidTest.php
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users with no workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedMageconf_Contribution_DayPAPPartners acceleration programPartners acceleration programPriority: P4No current plan to fix. Fixing can be deferred as a logical part of more important work.No current plan to fix. Fixing can be deferred as a logical part of more important work.Progress: PR in progressProject: GraphQLSeverity: S4Affects aesthetics, professional look and feel, “quality” or “usability”.Affects aesthetics, professional look and feel, “quality” or “usability”.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject itfeature request
Type
Projects
Status
Pull Request in Progress