adobe / commerce-cif-connector

AEM Commerce connector for Magento and GraphQL
Apache License 2.0
43 stars 27 forks source link

CIF-1066 - Preview PLP with real category data #72

Closed LSantha closed 4 years ago

LSantha commented 4 years ago

Description

Currently, the category template has the product list component with dummy data. We want to add a preview feature to enable authors to preview the category page with specific category data

Related Issue

CIF-1066

How Has This Been Tested?

Manually, IT, unit test

Types of changes

Checklist:

codecov[bot] commented 4 years ago

Codecov Report

Merging #72 into master will increase coverage by 0.35%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #72      +/-   ##
============================================
+ Coverage     86.07%   86.42%   +0.35%     
- Complexity      375      383       +8     
============================================
  Files            24       25       +1     
  Lines          1379     1400      +21     
  Branches        216      219       +3     
============================================
+ Hits           1187     1210      +23     
+ Misses           88       87       -1     
+ Partials        104      103       -1
Flag Coverage Δ Complexity Δ
#integration 54.64% <61.9%> (+0.4%) 238 <3> (+5) :arrow_up:
#unittests 81.55% <100%> (+0.28%) 361 <7> (+7) :arrow_up:
Impacted Files Coverage Δ Complexity Δ
...rce/renderconditions/IsProductListPageServlet.java 100% <100%> (ø) 7 <7> (?)
...e/renderconditions/IsProductDetailPageServlet.java 93.54% <0%> (+6.45%) 11% <0%> (+1%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 14ac00a...1e9de8c. Read the comment docs.

LSantha commented 4 years ago

This PR is created along the lines of PR #66 and the actual solution is similar to that.

mhaack commented 4 years ago

Verified