From 0b0288a80cba84dd975f072c3a82f097c01c1d63 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Mon, 13 Jan 2025 14:49:19 +0530 Subject: [PATCH 1/5] Version bump --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index c531125..7d305bb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.contentstack.sdk utils - 1.2.12 + 1.2.13 jar Contentstack-utils Java Utils SDK for Contentstack Content Delivery API, Contentstack is a headless CMS @@ -20,16 +20,16 @@ 2.2.1 3.1.1 4.13.2 - 1.17.2 + 1.18.3 1.1.1 3.3 1.5 1.6.7 2.5.3 2.0.1.Final - 20240303 - 6.1.14 - 1.12.0 + 20250107 + 6.2.1 + 1.13.0 From d9dfb1cefe09f24be9fda6f6f65ccac087dfd6b7 Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Fri, 17 Jan 2025 15:16:05 +0530 Subject: [PATCH 2/5] added changelog --- Changelog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Changelog.md b/Changelog.md index 08b663f..766ef43 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,12 @@ # Changelog A brief description of what changes project contains +## Jan 20, 2025 + +#### v1.2.13 + +- Fix: Snyk issues + ## Oct 21, 2024 #### v1.2.12 From 394410e6454d5ad33015820c03a3b79c7e4d6973 Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Fri, 17 Jan 2025 15:23:21 +0530 Subject: [PATCH 3/5] license updated --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index d77c7f4..d78b6bc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2012 - 2024 Contentstack +Copyright (c) 2012 - 2025 Contentstack Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From bf0b4dc62efc050f068a2e3d244bc70fe293b17e Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Thu, 13 Feb 2025 17:49:05 +0530 Subject: [PATCH 4/5] fixed all testcases --- .../contentstack/utils/node/NodeToHTML.java | 33 +++++---- .../utils/render/DefaultOption.java | 70 ++++++++----------- .../com/contentstack/utils/RTEResult.java | 16 +++-- .../com/contentstack/utils/RTEString.java | 2 +- src/test/resources/reports/fragment.json | 2 +- src/test/resources/reports/wfs_fees.json | 2 +- 6 files changed, 62 insertions(+), 63 deletions(-) diff --git a/src/main/java/com/contentstack/utils/node/NodeToHTML.java b/src/main/java/com/contentstack/utils/node/NodeToHTML.java index a0852ee..4ed0a7c 100644 --- a/src/main/java/com/contentstack/utils/node/NodeToHTML.java +++ b/src/main/java/com/contentstack/utils/node/NodeToHTML.java @@ -29,35 +29,44 @@ private NodeToHTML() { */ public static String textNodeToHTML(JSONObject nodeText, Option renderOption) { String text = nodeText.optString("text"); - text = text.replace("\n", "
"); + //Sanitization of text + String cleanedText = escapeTextNodes(text) + .replace("\n", "
") + .replace("\t", "    "); + if (nodeText.has("superscript")) { - text = renderOption.renderMark(MarkType.SUPERSCRIPT, text); + cleanedText = renderOption.renderMark(MarkType.SUPERSCRIPT, cleanedText); } if (nodeText.has("subscript")) { - text = renderOption.renderMark(MarkType.SUBSCRIPT, text); + cleanedText = renderOption.renderMark(MarkType.SUBSCRIPT, cleanedText); } if (nodeText.has("inlineCode")) { - text = renderOption.renderMark(MarkType.INLINECODE, text); + cleanedText = renderOption.renderMark(MarkType.INLINECODE, cleanedText); } if (nodeText.has("strikethrough")) { - text = renderOption.renderMark(MarkType.STRIKETHROUGH, text); + cleanedText = renderOption.renderMark(MarkType.STRIKETHROUGH, cleanedText); } if (nodeText.has("underline")) { - text = renderOption.renderMark(MarkType.UNDERLINE, text); + cleanedText = renderOption.renderMark(MarkType.UNDERLINE, cleanedText); } if (nodeText.has("italic")) { - text = renderOption.renderMark(MarkType.ITALIC, text); + cleanedText = renderOption.renderMark(MarkType.ITALIC, cleanedText); } if (nodeText.has("bold")) { - text = renderOption.renderMark(MarkType.BOLD, text); + cleanedText = renderOption.renderMark(MarkType.BOLD, cleanedText); } if (nodeText.has("break")) { - if (!text.contains("
")) { - text = renderOption.renderMark(MarkType.BREAK, text); + if (!cleanedText.contains("
")) { + cleanedText = renderOption.renderMark(MarkType.BREAK, cleanedText); } - // text = renderOption.renderMark(MarkType.BREAK, text); + // cleanedText = renderOption.renderMark(MarkType.BREAK, cleanedText); } - return text; + return cleanedText; } + private static String escapeTextNodes(String input) { + return input.replace("&", "&") + .replace("<", "<") + .replace(">", ">"); + } } diff --git a/src/main/java/com/contentstack/utils/render/DefaultOption.java b/src/main/java/com/contentstack/utils/render/DefaultOption.java index cf6ffd3..015a76b 100644 --- a/src/main/java/com/contentstack/utils/render/DefaultOption.java +++ b/src/main/java/com/contentstack/utils/render/DefaultOption.java @@ -6,8 +6,6 @@ import com.contentstack.utils.node.MarkType; import org.apache.commons.text.StringEscapeUtils; import org.json.JSONObject; -import org.jsoup.Jsoup; -import org.jsoup.nodes.Document; import java.util.*; @@ -104,79 +102,77 @@ private String escapeInjectHtml(JSONObject nodeObj, String nodeType) { public String renderNode(String nodeType, JSONObject nodeObject, NodeCallback callback) { String strAttrs = strAttrs(nodeObject); String children = callback.renderChildren(nodeObject.optJSONArray("children")); - // Jsoup sanitization - Document sanitizedChildren = Jsoup.parse(children); - String cleanChildren = sanitizedChildren.body().html(); + switch (nodeType) { case "p": - return "" + cleanChildren + "

"; + return "" + children + "

"; case "a": - return "" + cleanChildren + ""; + return "" + children + ""; case "img": String assetLink = getNodeStr(nodeObject, "asset-link"); if (!assetLink.isEmpty()) { JSONObject attrs = nodeObject.optJSONObject("attrs"); if (attrs.has("link")) { - return "" + "" + cleanChildren + ""; + return "" + "" + children + ""; } - return "" + cleanChildren; + return "" + children; } - return "" + cleanChildren; + return "" + children; case "embed": - return ""; + return ""; case "h1": - return "" + cleanChildren + ""; + return "" + children + ""; case "h2": - return "" + cleanChildren + ""; + return "" + children + ""; case "h3": - return "" + cleanChildren + ""; + return "" + children + ""; case "h4": - return "" + cleanChildren + ""; + return "" + children + ""; case "h5": - return "" + cleanChildren + ""; + return "" + children + ""; case "h6": - return "" + cleanChildren + ""; + return "" + children + ""; case "ol": - return "" + cleanChildren + ""; + return "" + children + ""; case "ul": - return "" + cleanChildren + ""; + return "" + children + ""; case "li": - return "" + cleanChildren + ""; + return "" + children + ""; case "hr": return ""; case "table": - return "" + cleanChildren + "
"; + return "" + children + "
"; case "thead": - return "" + cleanChildren + ""; + return "" + children + ""; case "tbody": - return "" + cleanChildren + ""; + return "" + children + ""; case "tfoot": - return "" + cleanChildren + ""; + return "" + children + ""; case "tr": - return "" + cleanChildren + ""; + return "" + children + ""; case "th":{ if (nodeObject.has("attrs") && nodeObject.optJSONObject("attrs").has("void") && nodeObject.optJSONObject("attrs").optBoolean("void")) { return ""; }else{ - return "" + cleanChildren + "";}} + return "" + children + "";}} case "td":{ if (nodeObject.has("attrs") && nodeObject.optJSONObject("attrs").has("void") && nodeObject.optJSONObject("attrs").optBoolean("void")) { return ""; }else{ - return "" + cleanChildren + "";}} + return "" + children + "";}} case "blockquote": - return "" + cleanChildren + ""; + return "" + children + ""; case "code": - return "" + cleanChildren + ""; + return "" + children + ""; case "reference": return ""; case "fragment": - return "" + cleanChildren + ""; + return "" + children + ""; default: - return cleanChildren; + return children; } } @@ -197,16 +193,8 @@ String strAttrs(JSONObject nodeObject) { for (String key : attrsObject.keySet()) { Object objValue = attrsObject.opt(key); String value = objValue.toString(); - - StringBuilder escapedValue = new StringBuilder(); - for (char ch : value.toCharArray()) { - if (ch == '&' || ch == '<' || ch == '>' || ch == '"' || ch == '\'') { - escapedValue.append("&#").append((int) ch).append(';'); - } else { - escapedValue.append(ch); - } - } - value = escapedValue.toString(); + // Escape HTML entities using StringEscapeUtils + value = StringEscapeUtils.escapeHtml4(value); // If style is available, do styling calculations if (Objects.equals(key, "style")) { String resultStyle = stringifyStyles(attrsObject.optJSONObject("style")); diff --git a/src/test/java/com/contentstack/utils/RTEResult.java b/src/test/java/com/contentstack/utils/RTEResult.java index 9062ea7..23502c7 100644 --- a/src/test/java/com/contentstack/utils/RTEResult.java +++ b/src/test/java/com/contentstack/utils/RTEResult.java @@ -1,10 +1,12 @@ package com.contentstack.utils; +import org.springframework.beans.factory.parsing.Problem; + public class RTEResult { public static String kParagraphHtml = "

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed condimentum iaculis magna in vehicula. Vestibulum vitae convallis lacus. Praesent a diam iaculis turpis rhoncus faucibus. Aliquam sed pulvinar sem.

"; public static String kPlainTextHtml = "Aliquam sit amet libero dapibus, eleifend ligula at, varius justoLorem ipsumdolor sit ametconsectetur adipiscing elit.Sed condimentum iaculis magna in vehicula. Vestibulum vitae convallis lacus. "; - public static String kH1Html = "

Lorem ipsum dolor sit amet.

"; + public static String kH1Html = "

Lorem ipsum<script>m</script> dolor sit amet.

"; public static String kH2Html = "

Vestibulum a ligula eget massa sagittis aliquam sit amet quis tortor.

"; public static String kH3Html = "

Mauris venenatis dui id massa sollicitudin, non bibendum nunc dictum.

"; public static String kH4Html = "

MaNullam feugiat turpis quis elit interdum, vitae laoreet quam viverra

"; @@ -12,17 +14,17 @@ public class RTEResult { public static String kH6Html = "
Nunc porta diam vitae purus semper, ut consequat lorem vehicula.
"; public static String kOrderListHtml = "
  1. Morbi in quam molestie, fermentum diam vitae, bibendum ipsum.
  2. Pellentesque mattis lacus in quam aliquam congue
  3. Integer feugiat leo dignissim, lobortis enim vitae, mollis lectus.
  4. Sed in ante lacinia, molestie metus eu, fringilla sapien.
"; public static String kIUnorderListHtml = "
  • Sed quis metus sed mi hendrerit mollis vel et odio.
  • Integer vitae sem dignissim, elementum libero vel, fringilla massa.
  • Integer imperdiet arcu sit amet tortor faucibus aliquet.
  • Aenean scelerisque velit vitae dui vehicula, at congue massa sagittis.
"; - public static String kImgHtml = ""; + public static String kImgHtml = ""; public static String kTableHtml = "

Header 1

Header 2

Body row 1 data 1

Body row 1 data 2

Body row 2 data 1

Body row 2 data 2

"; public static String kBlockquoteHtml = "
Praesent eu ex sed nibh venenatis pretium.
"; public static String kCodeHtml = "Code template."; public static String kLinkInPHtml = "

LINK

"; public static String kEmbedHtml = ""; - public static String kWFSAffectedHtml = "

In this article:
\t
Overview
\tStandard Fulfillment
\tAdditional Fees
\tBig & Bulky Fulfillment
\tStorage
\tProblem Inventory
\tReturn Shipping & Exceptions
\tDisposal & Removal
\tAdditional WFS Programs

Overview

Fulfillment Services is a competitive and cost-effective solution that offers an end-to-end ecommerce fulfillment experience. Our fee structure is simple and straightforward, without signup or monthly subscription fees. You're also free to ship and store any amount of inventory you choose, without minimums or maximums. Use the WFS Calculator to estimate your fulfillment and storage fees.

The following fees are effective as of August 2023 and are subject to change.

"; - public static String kAnchorHtml = "

This is a paragraph with break true and
backslash nThis para has just one line break without any break key
Third paragraph with multiple line breaks


Fourth paragraph with multiple line breaks and break key

Fifth paragraph with multiple only tab \t and this is text after tab
\tThis paragraph should start with a tab and should have a break before.

"; - public static String kWFSFeesHtml = "

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


\t\t\t\tUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
\tExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

"; + public static String kWFSAffectedHtml = "

In this article:
    
Overview
    Standard Fulfillment
    Additional Fees
    Big & Bulky Fulfillment
    Storage
    Problem Inventory
    Return Shipping & Exceptions
    Disposal & Removal
    Additional WFS Programs

Overview

Fulfillment Services is a competitive and cost-effective solution that offers an end-to-end ecommerce fulfillment experience. Our fee structure is simple and straightforward, without signup or monthly subscription fees. You're also free to ship and store any amount of inventory you choose, without minimums or maximums. Use the WFS Calculator to estimate your fulfillment and storage fees.

The following fees are effective as of August 2023 and are subject to change.

"; + public static String kAnchorHtml = "

This is a paragraph with break true and
backslash nThis para has just one line break without any break key
Third paragraph with multiple line breaks


Fourth paragraph with multiple line breaks and break key

Fifth paragraph with multiple only tab      and this is text after tab
    This paragraph should start with a tab and should have a break before.

"; + public static String kWFSFeesHtml = "

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


                Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    Excepteur<script>alert()</script> sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

"; - public static String kONEHtml = "


A paragraph with break set as trueA paragraph with line break
and \t tab

"; + public static String kONEHtml = "


A paragraph with break set as trueA paragraph with line break
and      tab

"; - public static String kFragment = "
  • One
    • nested one
    • nested two
  • Two
"; + public static String kFragment = "
  • One <em>bye</em>
    • nested one
    • nested two
  • Two
"; } diff --git a/src/test/java/com/contentstack/utils/RTEString.java b/src/test/java/com/contentstack/utils/RTEString.java index 4907c64..42126f9 100644 --- a/src/test/java/com/contentstack/utils/RTEString.java +++ b/src/test/java/com/contentstack/utils/RTEString.java @@ -4,7 +4,7 @@ public class RTEString { public static String kBlankDocument = "{ \"uid\":\"06e34a7a4e5d7fc2acd\", \"_version\":13, \"attrs\":{ }, \"children\":[],\"type\":\"doc\"}"; public static String kPlainTextJson = "{ \"uid\":\"06e34a7a4e5d7fc2acd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"text\":\"Aliquam sit amet libero dapibus, eleifend ligula at, varius justo\",\"bold\":true},{ \"text\":\"Lorem ipsum\",\"bold\":true,\"italic\":true},{ \"text\":\"dolor sit amet\",\"bold\":true,\"italic\":true,\"underline\":true},{ \"text\":\"consectetur adipiscing elit.\",\"bold\":true,\"italic\":true,\"underline\":true,\"strikethrough\":true},{ \"text\":\"Sed condimentum iaculis magna in vehicula. \",\"bold\":true,\"italic\":true,\"underline\":true,\"inlineCode\":true},{ \"text\":\" Vestibulum vitae convallis \",\"bold\":true,\"italic\":true,\"underline\":true,\"superscript\":true},{ \"text\":\" lacus. \",\"bold\":true,\"italic\":true,\"underline\":true,\"subscript\":true}],\"type\":\"doc\"}"; - public static String kH1Json = "{ \"uid\":\"06e34a7a449d7fc2acd\",\"_version\":13,\"attrs\":{ },\"children\":[{ \"type\":\"h1\",\"attrs\":{ },\"uid\":\"c2dfed70 4d7030c65e2e1\",\"children\":[{ \"text\":\"Lorem ipsum dolor sit amet.\",\"bold\":true,\"italic\":true,\"underline\":true,\"subscript\":true}]}],\"type\":\"doc\"}"; + public static String kH1Json = "{ \"uid\":\"06e34a7a449d7fc2acd\",\"_version\":13,\"attrs\":{ },\"children\":[{ \"type\":\"h1\",\"attrs\":{ },\"uid\":\"c2dfed70 4d7030c65e2e1\",\"children\":[{ \"text\":\"Lorem ipsum dolor sit amet.\",\"bold\":true,\"italic\":true,\"underline\":true,\"subscript\":true}]}],\"type\":\"doc\"}"; public static String kH2Json = "{ \"uid\":\"06e34a7a4e2acd\",\"_version\":13,\"attrs\":{ },\"children\":[{ \"type\":\"h2\",\"attrs\":{ },\"uid\":\"c2dfed9a7030c65e2e1\",\"children\":[{ \"text\":\"Vestibulum a ligula eget massa sagittis aliquam sit amet quis tortor. \",\"bold\":true,\"italic\":true,\"underline\":true,\"subscript\":true}]}],\"type\":\"doc\"}"; public static String kH3Json = "{ \"uid\":\"06e34ad7fc2acd\",\"_version\":13,\"attrs\":{ },\"children\":[{ \"type\":\"h3\",\"attrs\":{ },\"uid\":\"c2df42cfb70 4d7030c65e2e1\",\"children\":[{ \"text\":\"Mauris venenatis dui id massa sollicitudin, non bibendum nunc dictum.\",\"bold\":true,\"italic\":true,\"underline\":true,\"subscript\":true}]}],\"type\":\"doc\"}"; public static String kH4Json = "{ \"uid\":\"06e34a7a4e54cd\", \"_version\":13, \"attrs\":{ \"style\":{ \"text-align\":\"center\" }, \"redactor-attributes\":{ } }, \"children\":[{\"type\":\"h4\",\"attrs\":{},\"uid\":\"c2dfed4d7030c65e2e1\",\"children\":[{\"text\":\"MaNullam feugiat turpis quis elit interdum, vitae laoreet quam viverra\",\"bold\":true,\"italic\":true,\"underline\":true,\"subscript\":true}]}],\"type\":\"doc\"}"; diff --git a/src/test/resources/reports/fragment.json b/src/test/resources/reports/fragment.json index 4487166..137871e 100644 --- a/src/test/resources/reports/fragment.json +++ b/src/test/resources/reports/fragment.json @@ -31,7 +31,7 @@ "children": [ { - "text": "One", + "text": "One bye", "bold": true } ], diff --git a/src/test/resources/reports/wfs_fees.json b/src/test/resources/reports/wfs_fees.json index ab2364a..266e812 100644 --- a/src/test/resources/reports/wfs_fees.json +++ b/src/test/resources/reports/wfs_fees.json @@ -35,7 +35,7 @@ "break": true }, { - "text": "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + "text": "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." } ] } From 7516acbe2a86a34f1ecda0a6d37cf23ec83bdcdb Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Sat, 15 Feb 2025 12:41:35 +0530 Subject: [PATCH 5/5] replaced json data with dummy data --- .../com/contentstack/utils/RTEResult.java | 2 +- src/test/resources/reports/article1.json | 156 +++++++-------- src/test/resources/reports/article2.json | 136 ++++++------- src/test/resources/reports/article3.json | 144 +++++++------- src/test/resources/reports/article4.json | 62 +++--- src/test/resources/reports/issue007.json | 68 +++---- src/test/resources/reports/issue_oct.json | 4 +- .../resources/reports/lessthanequalto.json | 184 +++++++++--------- src/test/resources/reports/wfs.json | 34 ++-- 9 files changed, 395 insertions(+), 395 deletions(-) diff --git a/src/test/java/com/contentstack/utils/RTEResult.java b/src/test/java/com/contentstack/utils/RTEResult.java index 23502c7..27214a3 100644 --- a/src/test/java/com/contentstack/utils/RTEResult.java +++ b/src/test/java/com/contentstack/utils/RTEResult.java @@ -20,7 +20,7 @@ public class RTEResult { public static String kCodeHtml = "Code template."; public static String kLinkInPHtml = "

LINK

"; public static String kEmbedHtml = ""; - public static String kWFSAffectedHtml = "

In this article:
    
Overview
    Standard Fulfillment
    Additional Fees
    Big & Bulky Fulfillment
    Storage
    Problem Inventory
    Return Shipping & Exceptions
    Disposal & Removal
    Additional WFS Programs

Overview

Fulfillment Services is a competitive and cost-effective solution that offers an end-to-end ecommerce fulfillment experience. Our fee structure is simple and straightforward, without signup or monthly subscription fees. You're also free to ship and store any amount of inventory you choose, without minimums or maximums. Use the WFS Calculator to estimate your fulfillment and storage fees.

The following fees are effective as of August 2023 and are subject to change.

"; + public static String kWFSAffectedHtml = "

In this article:
    
Overview
    Fulfillment
    Fees
    Fulfillment
    Storage
    problem
    Return
    Removal
    Programs

Overview

lorem ipsum Calculator Sed ut perspiciatis unde omnis iste natus error sit voluptatem

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo

"; public static String kAnchorHtml = "

This is a paragraph with break true and
backslash nThis para has just one line break without any break key
Third paragraph with multiple line breaks


Fourth paragraph with multiple line breaks and break key

Fifth paragraph with multiple only tab      and this is text after tab
    This paragraph should start with a tab and should have a break before.

"; public static String kWFSFeesHtml = "

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


                Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    Excepteur<script>alert()</script> sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

"; diff --git a/src/test/resources/reports/article1.json b/src/test/resources/reports/article1.json index d868b45..cee1c53 100644 --- a/src/test/resources/reports/article1.json +++ b/src/test/resources/reports/article1.json @@ -17,7 +17,7 @@ }, "children": [ { - "text": "Eligibility " + "text": "Heading" } ] }, @@ -27,12 +27,12 @@ "attrs": {}, "children": [ { - "text": "Some customer returns or refunds initiated through the Marketplace Returns Shipping Service (RSS) can be disputed.  Refer to " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt" }, { "type": "a", "attrs": { - "url": "gecrm.my.salesforce.com/sfc/p/61000000ZKTc/a/8Y000002Ankd/G1HbvlwMxDanH_tabP_gsQvgqYIgxTZDq5CpfN..PZQ" + "url": "https://misty-leeway.biz/" }, "children": [ { @@ -55,7 +55,7 @@ "uid": "9c6aecd8ab374e46b24cd13f24a72e0e" }, { - "text": "for a comprehensive list of reasons why customer returns may be disputed. All disputes must be filed within 45 days from the date the return or refund was issued. Disputes filed outside the 45-day period will be denied, and that denial will be final.  " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis," } ] }, @@ -85,7 +85,7 @@ "uid": "9bffb57b97484fb58db421578ac1df2f", "children": [ { - "text": "HIGH-VALUE ITEMS", + "text": "items", "bold": true } ] @@ -98,7 +98,7 @@ "attrs": {}, "children": [ { - "text": "After receiving a high-value return, you’ll have 48 hours to evaluate it. If you determine an unsuccessful or erroneous return has taken place, you may file a dispute with the appropriate dispute reason.  " + "text": "Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the" } ] }, @@ -118,7 +118,7 @@ "attrs": {}, "children": [ { - "text": "Pro Tip: High-value items must be over $100 each. This includes all luxury items, such as Fine Art, Loose Gems & Gemstones, Jewelry & Watches above $300 and Collectibles, e.g., Coins, Stamps, Memorabilia and Precious Metals. ", + "text": "The quick, brown fox jumps over a lazy dog. DJs flock by when MTV ax quiz prog. Junk MTV quiz graced by fox whelps. Bawds jog, flick quartz, vex nymphs.", "bold": true } ] @@ -149,7 +149,7 @@ "uid": "ace0c16af4b84319bc045970845509c0", "children": [ { - "text": "ELECTRONICS", + "text": "Things", "bold": true } ] @@ -189,7 +189,7 @@ "uid": "01d07398f1fb41c5a4c6648b16101039" }, { - "text": "Return is different from the original item", + "text": "Causes", "bold": true, "italic": true }, @@ -204,7 +204,7 @@ "uid": "9bda0673ef5a4d139ed3c124512b4dab" }, { - "text": "as your dispute reason for an electronic product, you need to provide the serial numbers of the original item you sent and the item you received. We recommend taking photos of all serial numbers on items to keep for your records. This allows you to easily provide a photo as an attachment in case the need for a dispute arises.  For more generalized guidelines and dispute eligibility, see" + "text": "Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc, litot Europa usa li sam vocabular. Li lingues differe solmen in" }, { "type": "span", @@ -222,11 +222,11 @@ { "type": "a", "attrs": { - "url": "sellerhelp.com/s/guide?article=000009375&language=en_US" + "url": "https://fickle-strife.biz/" }, "children": [ { - "text": "Marketplace Disputes Standards", + "text": "Standards", "italic": true } ], @@ -279,7 +279,7 @@ "uid": "6d5427fac5194283875daa4cb26a07cc" }, { - "text": "Choosing the wrong dispute type can delay the review process and negatively impact the resolution. ", + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt", "italic": true } ] @@ -312,7 +312,7 @@ }, "children": [ { - "text": "File a Dispute" + "text": "Filing" } ] }, @@ -326,7 +326,7 @@ }, "children": [ { - "text": "Step 1 – Access the Returns & Refunds Dashboard" + "text": "Step 1" } ] }, @@ -357,7 +357,7 @@ "uid": "78c1097844374396a8032939b9b7c427" }, { - "text": "Returns & Refunds", + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt", "italic": true }, { @@ -396,7 +396,7 @@ "bold": true }, { - "text": ". Search for a return by the Purchase Order number or the Return Merchandise Authorization (RMA) number. Select the" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis," }, { "type": "span", @@ -431,7 +431,7 @@ "uid": "d81c52c4c926445db3189211802bc815" }, { - "text": "beside the return you’re looking for to see more details. " + "text": "looking for to see more details. " } ] }, @@ -459,7 +459,7 @@ }, "children": [ { - "text": "Step 2 – Initiate the Dispute " + "text": "Step 2" } ] }, @@ -473,7 +473,7 @@ }, "children": [ { - "text": "Initiate a dispute by selecting the" + "text": "Far far away, behind the word mountains, far from the" }, { "type": "span", @@ -491,7 +491,7 @@ "uid": "dfe6d53950744b498bb8c212c889e58c" }, { - "text": "Dispute this return", + "text": "A wonderful serenity has taken possession of my entire soul,", "italic": true }, { @@ -510,7 +510,7 @@ "uid": "830781ad81de43418a8f6ae4caa48211" }, { - "text": "button, which will open the dispute wizard. If an order has more than one of the same items, you can submit a dispute for one of the items or the entire order. Select the quantity, then select a dispute reason from the dropdown that best describes your issue. Certain dispute reasons will prompt you to select a subcategory. " + "text": "One morning, when Gregor Samsa woke from troubled dreams, he" } ] }, @@ -561,7 +561,7 @@ "uid": "ccd038e6344a41ae98ee4edaeafce6b7" }, { - "text": "If you don’t see the dispute button, it’s because the refund has not been issued, the dispute window has passed for that return, or the return has already been disputed.", + "text": "The quick, brown fox jumps over a lazy dog. DJs", "italic": true } ] @@ -590,7 +590,7 @@ }, "children": [ { - "text": "Step 3 – Upload Documentation " + "text": "Step 3" } ] }, @@ -604,7 +604,7 @@ }, "children": [ { - "text": "Upload supporting photos or documentation when you create your dispute. Documentation, including an image of the return label with tracking and images of the product showing the problem with the return is required for the following dispute reasons: " + "text": "But I must explain to you how all this mistaken" } ] }, @@ -641,7 +641,7 @@ }, "children": [ { - "text": "I received an incorrect return " + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "uid": "1be5800c9b68455f9f60bdb48dc91d35" @@ -656,7 +656,7 @@ }, "children": [ { - "text": "Item has missing parts/accessories " + "text": "Far far away, behind the word mountains, far from the" } ], "uid": "bf5cb071bf244e1390c922e0d27ba5e0" @@ -671,7 +671,7 @@ }, "children": [ { - "text": "Item is in unacceptable condition " + "text": "The quick, brown fox jumps over a lazy dog. DJs flock by" } ], "uid": "7436249503de466885efbb3a0133e8ad" @@ -698,7 +698,7 @@ }, "children": [ { - "text": "I sent the customer a replacement " + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "uid": "0044f1e8db7e4c89bcde9b2fa530d907" @@ -745,7 +745,7 @@ "uid": "19a5fe0c099445a6a75f073386c9c1aa" }, { - "text": "Submit Dispute", + "text": "Submit", "italic": true }, { @@ -764,7 +764,7 @@ "uid": "82c4a42e59b9429993d09edee0691015" }, { - "text": "button. You’ll receive an email confirmation with the case number. " + "text": "button to submit your request. " } ] }, @@ -881,7 +881,7 @@ }, "children": [ { - "text": "Frequently Asked Questions " + "text": "Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the" } ] }, @@ -911,14 +911,14 @@ "children": [ { "bold": true, - "text": "Q: How long will it take for my dispute to be reviewed and resolved?" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis," }, { "text": "\n", "break": true }, { - "text": "A: Typically, it can take up to 72 hours. However, in some instances the timeframe could be extended. " + "text": "Far far away, behind the word mountains, far from the" } ] }, @@ -948,14 +948,14 @@ "children": [ { "bold": true, - "text": "Q: What happens to the customer refund during this process?" + "text": "Li Europan lingues es membres del sam familie. Lor separat" }, { "text": "\n", "break": true }, { - "text": "A: The customer refund will be put on hold for 72 hours while reviews your dispute. Customer refund holds will be automatically released after 72 hours. If the dispute is approved within that time frame, the customer will not be refunded and their return will be canceled. " + "text": "One morning, when Gregor Samsa woke from troubled dreams, he" } ] }, @@ -985,14 +985,14 @@ "children": [ { "bold": true, - "text": "Q: What happens if my dispute is denied? Can I appeal the decision? " + "text": "Li Europan lingues es membres del sam familie. Lor separat" }, { "text": "\n", "break": true }, { - "text": "A: Yes. If you're not satisfied with the resolution of your dispute provided by, you can submit an appeal. You can only appeal a decision once, and it must be submitted within 30 days of receiving the denial or decision.   " + "text": "The quick, brown fox jumps over a lazy dog. DJs flock by" }, { "text": "\n", @@ -1006,7 +1006,7 @@ "break": true }, { - "text": "To submit an appeal," + "text": "appeal," }, { "type": "span", @@ -1024,11 +1024,11 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009375&language=en_US#:~:text=submit%20an%20appeal%2C-,create%20a%20case,-with%20Partner%20Support" + "url": "https://delectable-accord.biz" }, "children": [ { - "text": "create a case" + "text": "case" } ], "uid": "89e9c937c1524e8bb99fba5dd309580e" @@ -1047,7 +1047,7 @@ "uid": "322c84ca7df6420cb6d5bd5bb5edf433" }, { - "text": "with Seller Support through the following path:" + "text": "The European languages are members of the same family. Their" }, { "type": "span", @@ -1087,11 +1087,11 @@ "uid": "41bcd3fb3f5942248c37fe5ec1523d72" }, { - "text": "Disputes Resolution Appeals", + "text": "Resolution ", "italic": true }, { - "text": ". For more information, see" + "text": "see this for more" }, { "type": "span", @@ -1110,11 +1110,11 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009375&language=en_US" + "url": "https://voluminous-trading.org" }, "children": [ { - "text": "Marketplace Dispute Standards", + "text": "Marketplace", "italic": true } ], @@ -1151,14 +1151,14 @@ "children": [ { "bold": true, - "text": "Q: Can I track the status of my dispute? " + "text": "Far far away, behind the word mountains, far from the" }, { "text": "\n", "break": true }, { - "text": "A: Yes, you can track the status of a dispute through the" + "text": "The quick, brown fox jumps over a lazy dog. DJs flock by" }, { "type": "span", @@ -1200,7 +1200,7 @@ "uid": "72bf1859e4844eca8eac0c89c182d599" }, { - "text": "dashboard within Seller Center.  " + "text": " Center." } ] } @@ -1209,16 +1209,16 @@ }, "meta_data": { "article_id": "000009068", - "salesforce_summary": "Learn how to file a dispute for a customer return.", + "salesforce_summary": "Return", "category_id_b": [ - "Order Management: Troubleshooting" + "Order Management: lorem" ], - "url_name": "Marketplace-Disputes-Customer-Returns", + "url_name": "marketing", "is_archived_": false, "is_authenticated_": false, "is_visible_to_customer_": true, "partner_channel": [ - "U.S. Marketplace" + "India" ] }, "modular_blocks": [ @@ -1228,10 +1228,10 @@ "items": [ { "uri": "/videos/851090171", - "name": "Returns and Disputes", - "description": "Returns happen, but – depending on the situation – you may need to file a dispute for a customer return. Keep watching to learn how to file a returns-related dispute for your items–including items of high-value. We'll also go over how to track the approval status in Seller Center.", + "name": "experience", + "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.", "embed": { - "html": "" + "html": "" }, "created_time": "2023-08-02T22:23:03+00:00", "pictures": { @@ -1283,7 +1283,7 @@ }, "children": [ { - "text": "In this article: ", + "text": "Article", "bold": true } ] @@ -1303,7 +1303,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009068&language=en_US#overview" + "url": "https://frank-chamber.org/" }, "children": [ { @@ -1333,7 +1333,7 @@ "uid": "d23727f697e04525bf1bd60301bc26af", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009068&language=en_US#eligibility" + "url": "https://brave-larva.name/" }, "children": [ { @@ -1366,7 +1366,7 @@ }, "children": [ { - "text": "High-Value Items" + "text": "Items" } ] }, @@ -1391,7 +1391,7 @@ "uid": "02ef37a4bdce4203a398c8853b8d7c45", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009068&language=en_US#electronic" + "url": "https://same-subway.biz/" }, "children": [ { @@ -1420,11 +1420,11 @@ "uid": "ccdf371de3084c26a3a5cc324513adb8", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009068&language=en_US#fileadispute" + "url": "https://difficult-reward.com/" }, "children": [ { - "text": "File a Dispute" + "text": "Filing" } ] }, @@ -1450,11 +1450,11 @@ "uid": "015ca8f0a6ef497a9f96ad0d397af813", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009068&language=en_US#faq" + "url": "https://hilarious-biopsy.info/" }, "children": [ { - "text": "Frequently Asked Questions" + "text": "Questions" } ] }, @@ -1479,11 +1479,11 @@ "uid": "c030eee9ad004497857b6b41ebee79fd", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009068&language=en_US#helpful" + "url": "https://spry-cashew.name" }, "children": [ { - "text": "Helpful Resources" + "text": " Resources" } ] }, @@ -1532,7 +1532,7 @@ "uid": "eb0b2af4dfb0470e9217e85b919b3b2e", "children": [ { - "text": "While returns are a natural part of the post-purchase experience, you may encounter instances when the returned item is damaged, or missing parts or accessories. Keep reading to determine if you’re eligible to dispute a customer return with, and find out how to file the dispute via the" + "text": "One morning, when Gregor Samsa woke from troubled dreams, he" } ] }, @@ -1568,11 +1568,11 @@ { "type": "a", "attrs": { - "url": "www.seller.com/order-management/returns" + "url": "https://www.example.com" }, "children": [ { - "text": "Returns & Refunds", + "text": "Returns", "bold": true } ], @@ -1602,7 +1602,7 @@ "uid": "283f688ded4b47d78684a8eeb68fb6c1" }, { - "text": "dashboard in Seller Center." + "text": "Center." }, { "text": "\n", @@ -1622,7 +1622,7 @@ }, "children": [ { - "text": " For more generalized guidelines that Marketplace sellers must follow when filing a dispute, see" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis," }, { "type": "span", @@ -1640,14 +1640,14 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009375&language=en_US", + "url": "https://www.example.com", "style": {}, "redactor-attributes": {}, "dir": "ltr" }, "children": [ { - "text": "Marketplace Disputes Standards", + "text": "Marketplace", "italic": true } ], @@ -1699,7 +1699,7 @@ "uid": "86f5d2ebf9f54be1a33eb80fec1e0f6b" }, { - "text": "Dispute eligibility and policies vary for high-value and electronic items. More information on this below. ", + "text": "The quick, brown fox jumps over a lazy dog. DJs", "italic": true } ] @@ -1724,7 +1724,7 @@ }, "children": [ { - "text": "Helpful Resources  " + "text": "Resources" } ] }, @@ -1740,7 +1740,7 @@ }, "children": [ { - "text": "Watch the Seller Academy tutorial below for more information: " + "text": "More info" } ] } @@ -1756,7 +1756,7 @@ "tags": [ "marketplace" ], - "title": "Dispute a Customer Return in Seller Center", + "title": "Center", "updated_at": "2023-09-21T10:21:00.220Z", "updated_by": "bltfc2d734248e262ea" } \ No newline at end of file diff --git a/src/test/resources/reports/article2.json b/src/test/resources/reports/article2.json index 2ae41a8..d7036ce 100644 --- a/src/test/resources/reports/article2.json +++ b/src/test/resources/reports/article2.json @@ -1,6 +1,6 @@ { "entry": { - "title": "Troubleshoot WFS Inbound Order Issues", + "title": "Title", "overview": { "type": "doc", "attrs": {}, @@ -16,7 +16,7 @@ }, "children": [ { - "text": "In this article:", + "text": "article:", "bold": true } ] @@ -35,7 +35,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009239&language=en_US#Overview" + "url": "https://spry-cashew.name" }, "children": [ { @@ -64,14 +64,14 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009239&language=en_US#ErrorMessages", + "url": "https://exotic-pyramid.org/", "style": {}, "redactor-attributes": {}, "dir": "ltr" }, "children": [ { - "text": "Error Messages and Action Items" + "text": "Error" } ], "uid": "6c4de8913bb04243a20a829e3fcec8a1" @@ -111,7 +111,7 @@ "uid": "2e04e1a087524eabb9dfc69a1ca363a2", "children": [ { - "text": "Overview " + "text": "Overview" } ] } @@ -127,7 +127,7 @@ }, "children": [ { - "text": "You might have issues submitting an inbound order due to incorrect information or a system error. Here are common errors and ways to resolve them." + "text": "But I must explain to you how all this mistaken" } ] } @@ -149,7 +149,7 @@ }, "children": [ { - "text": "Error Messages and Action Items " + "text": "Messages" } ] }, @@ -185,7 +185,7 @@ "attrs": {}, "children": [ { - "text": "Error Message", + "text": "Message1", "bold": true } ], @@ -237,7 +237,7 @@ "type": "p", "children": [ { - "text": "Expected Delivery Date should be of future and not the past" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -254,7 +254,7 @@ "type": "p", "children": [ { - "text": "Reset the expected delivery date so it's set in the future." + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -278,7 +278,7 @@ "type": "p", "children": [ { - "text": "expectedDeliveryDate cannot be null/empty" + "text": "Far far away, behind the word mountains, far from the" } ], "attrs": {} @@ -295,7 +295,7 @@ "type": "p", "children": [ { - "text": "Enter an expected delivery date." + "text": "The quick, brown fox jumps over a lazy dog. DJs" } ], "attrs": {} @@ -319,7 +319,7 @@ "type": "p", "children": [ { - "text": "itemQty should be product of innerPack Qty and vendorPackQty" + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -336,7 +336,7 @@ "type": "p", "children": [ { - "text": "The item quantity must equal the product of the vendor pack and inner pack quantities." + "text": "Far far away, behind the word mountains, far from the" } ], "attrs": {} @@ -377,7 +377,7 @@ "type": "p", "children": [ { - "text": "Enter a zip code." + "text": "Enter something" } ], "attrs": {} @@ -401,7 +401,7 @@ "type": "p", "children": [ { - "text": "Shipment Plan is already created for this inbound order" + "text": "One morning, when Gregor Samsa woke from troubled dreams, he" } ], "attrs": {} @@ -418,7 +418,7 @@ "type": "p", "children": [ { - "text": "This inbound order ID already exists. Enter a new one." + "text": "Enter a new one." } ], "attrs": {} @@ -442,7 +442,7 @@ "type": "p", "children": [ { - "text": "innerPackQty should be great then zero" + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -459,7 +459,7 @@ "type": "p", "children": [ { - "text": "Enter an inner pack quantity greater than 0." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "attrs": {} @@ -483,7 +483,7 @@ "type": "p", "children": [ { - "text": "vendorPackQty should be great then zero" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "attrs": {} @@ -500,7 +500,7 @@ "type": "p", "children": [ { - "text": "Enter a vendor pack quantity greater than 0." + "text": "The quick, brown fox jumps over a lazy dog. DJs" } ], "attrs": {} @@ -524,7 +524,7 @@ "type": "p", "children": [ { - "text": "sellerId and inboundOrderId is mandatory" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -541,7 +541,7 @@ "type": "p", "children": [ { - "text": "Row 1 with Inbound Order ID is missing. If it was deleted, add it back or download a new template." + "text": " Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -565,7 +565,7 @@ "type": "p", "children": [ { - "text": "addressLine1 is invalid .enter valid addressLine1 String in english language characters" + "text": "Far far away, behind the word mountains, far from the" } ], "attrs": {} @@ -582,7 +582,7 @@ "type": "p", "children": [ { - "text": "Address must be in English." + "text": "The quick, brown fox jumps over a lazy dog. DJs" } ], "attrs": {} @@ -606,7 +606,7 @@ "type": "p", "children": [ { - "text": "Error parsing json input" + "text": "Error" } ], "attrs": {} @@ -623,7 +623,7 @@ "type": "p", "children": [ { - "text": "The template is missing required rows or columns. If they were deleted, add them back or download a new template." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -647,7 +647,7 @@ "type": "p", "children": [ { - "text": "Items Dimensions are not suitable for creating po for sku" + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -664,7 +664,7 @@ "type": "p", "children": [ { - "text": "Item dimensions aren't eligible for company-fulfilled. Check the dimensions." + "text": "Far far away, behind the word mountains, far from the" } ], "attrs": {} @@ -688,7 +688,7 @@ "type": "p", "children": [ { - "text": "itemQty should be great then zero" + "text": "The quick, brown fox jumps over a lazy dog. DJs" } ], "attrs": {} @@ -705,7 +705,7 @@ "type": "p", "children": [ { - "text": "Enter an item quantity greater than 0." + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -729,7 +729,7 @@ "type": "p", "children": [ { - "text": "OrderItem in create Shipment request is repeated more than once" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -746,7 +746,7 @@ "type": "p", "children": [ { - "text": "Make sure items are only entered once." + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -770,7 +770,7 @@ "type": "p", "children": [ { - "text": "productType is invalid" + "text": "Far far away, behind the word mountains, far from the" } ], "attrs": {} @@ -787,7 +787,7 @@ "type": "p", "children": [ { - "text": "Product type ID must be GTIN, UPC, or EAN." + "text": "The quick, brown fox jumps over a lazy dog. DJs" } ], "attrs": {} @@ -811,7 +811,7 @@ "type": "p", "children": [ { - "text": "productId with productType GTIN should be 14 digit" + "text": "Error" } ], "attrs": {} @@ -828,7 +828,7 @@ "type": "p", "children": [ { - "text": "GTIN must be 14 digits. If your GTIN is correct but shorter than 14 digits, add zeros in front." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -852,7 +852,7 @@ "type": "p", "children": [ { - "text": "Product ID with Product Type UPC should be 12 digit" + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -869,7 +869,7 @@ "type": "p", "children": [ { - "text": "UPC must be 12 digits. " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "attrs": {} @@ -893,7 +893,7 @@ "type": "p", "children": [ { - "text": "Item is not WFS Eligible for sku" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "attrs": {} @@ -910,7 +910,7 @@ "type": "p", "children": [ { - "text": "The following items are prohibited. See our Prohibited Products Policy or contact Seller Support for more details." + "text": "One morning, when Gregor Samsa woke from troubled dreams, he" } ], "attrs": {} @@ -934,7 +934,7 @@ "type": "p", "children": [ { - "text": "Products in the same Inbound Order template cannot have different Expected Delivery Date." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "attrs": {} @@ -951,7 +951,7 @@ "type": "p", "children": [ { - "text": "All items must have the same expected delivery date." + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -975,7 +975,7 @@ "type": "p", "children": [ { - "text": "inboundOrderId is invalid .enter valid inboundOrderId String in english language and without '?','/','|','\\','+','#' characters" + "text": "lorem '?','/','|','\\','+','#' characters" } ], "attrs": {} @@ -992,7 +992,7 @@ "type": "p", "children": [ { - "text": "Inbound Order ID is invalid. Use only English letters, numbers, or these special characters: -, _ " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -1016,7 +1016,7 @@ "type": "p", "children": [ { - "text": "Item information is not present for sku, Please set it up as company Fulfilled item in the Seller Center." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -1033,7 +1033,7 @@ "type": "p", "children": [ { - "text": "We couldn't verify the item information. Make sure it's set to company-fulfilled." + "text": "Far far away, behind the word mountains, far from the" } ], "attrs": {} @@ -1057,7 +1057,7 @@ "type": "p", "children": [ { - "text": "itemDesc length cannot be greater than 450 chars" + "text": "itemDesc length " } ], "attrs": {} @@ -1074,7 +1074,7 @@ "type": "p", "children": [ { - "text": "Item description must be shorter than 450 characters." + "text": " Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -1098,7 +1098,7 @@ "type": "p", "children": [ { - "text": "itemDesc cannot be null/empty" + "text": "Far far away, behind the word mountains, far from the" } ], "attrs": {} @@ -1139,7 +1139,7 @@ "type": "p", "children": [ { - "text": "addressLine1 cannot be null/empty" + "text": "One morning, when Gregor Samsa woke from troubled dreams, he" } ], "attrs": {} @@ -1156,7 +1156,7 @@ "type": "p", "children": [ { - "text": "Enter an address." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "attrs": {} @@ -1180,7 +1180,7 @@ "type": "p", "children": [ { - "text": "countryCode cannot be null/empty" + "text": " Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -1197,7 +1197,7 @@ "type": "p", "children": [ { - "text": "Enter a country code." + "text": "lorem ipsum" } ], "attrs": {} @@ -1221,7 +1221,7 @@ "type": "p", "children": [ { - "text": "stateCode code cannot be more then 10 chars" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "attrs": {} @@ -1238,7 +1238,7 @@ "type": "p", "children": [ { - "text": "State code must be 2 letters only." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "attrs": {} @@ -1262,7 +1262,7 @@ "type": "p", "children": [ { - "text": "city is invalid .enter valid city String in english language characters" + "text": "lorem ipsum" } ], "attrs": {} @@ -1279,7 +1279,7 @@ "type": "p", "children": [ { - "text": "City must be in English." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -1303,7 +1303,7 @@ "type": "p", "children": [ { - "text": "postalCode is invalid .enter valid postalCode" + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ], "attrs": {} @@ -1320,7 +1320,7 @@ "type": "p", "children": [ { - "text": "Zip code is invalid. Check for errors and try again." + "text": "lorem ipsum" } ], "attrs": {} @@ -1344,7 +1344,7 @@ "type": "p", "children": [ { - "text": "number of items should be more then one and less then five thousand" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "attrs": {} @@ -1361,7 +1361,7 @@ "type": "p", "children": [ { - "text": "Check that you've added at least 1 item and no more than 5,000." + "text": "Check that you've added at least" } ], "attrs": {} @@ -1402,7 +1402,7 @@ }, "children": [ { - "text": "If you submitted an inbound order template, our system will automatically check it and create an error report that will appear in a pop-up window. Select " + "text": "Li Europan lingues es membres del sam familie. Lor separat" }, { "type": "span", @@ -1423,7 +1423,7 @@ "bold": true }, { - "text": "to download the error report. Make corrections and then resubmit the template." + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] }, @@ -1553,11 +1553,11 @@ }, "meta_data": { "article_id": "000009239", - "salesforce_summary": "Find solutions to common errors after uploading an inbound order template.", + "salesforce_summary": "lorem", "category_id_b": [ - "Fulfillment Services (WFS): Troubleshooting" + "Troubleshooting" ], - "url_name": "WFS-Inbound-Order-Issue-Troubleshooting", + "url_name": "Troubleshooting", "is_archived_": false, "is_authenticated_": false, "is_visible_to_customer_": true, diff --git a/src/test/resources/reports/article3.json b/src/test/resources/reports/article3.json index 0234e59..9734137 100644 --- a/src/test/resources/reports/article3.json +++ b/src/test/resources/reports/article3.json @@ -1,6 +1,6 @@ { "entry": { - "title": "WFS Big and Bulky Items", + "title": "Example 2", "overview": { "type": "doc", "attrs": {}, @@ -38,7 +38,7 @@ "uid": "7cf9ff933bc9451db91f7640a7abe795", "type": "a", "attrs": { - "url": "https://sellerhelp.com/s/guide?article=000011223&language=en_US#Overview" + "url": "https://exotic-pyramid.org/" }, "children": [ { @@ -68,11 +68,11 @@ "uid": "5b1d825c49d2497d8be8da44aef1e1b8", "type": "a", "attrs": { - "url": "https://sellerhelp.com/s/guide?article=000011223&language=en_US#Criteria" + "url": "https://vigilant-right.net" }, "children": [ { - "text": "What Counts as Big and Bulky?" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -97,7 +97,7 @@ "uid": "56bca13f60af4b1685d999d0467e668f", "type": "a", "attrs": { - "url": "https://sellerhelp.com/s/guide?article=000011223&language=en_US#Fees" + "url": "https://slimy-humour.biz/" }, "children": [ { @@ -126,11 +126,11 @@ "uid": "f8a82c9c8ade4e9b9bfecbfbac0de7f3", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000011223&language=en_US#SendInventory" + "url": "https://gummy-prompt.info/" }, "children": [ { - "text": "Send Inventory to WFS" + "text": "Email us " } ] }, @@ -156,11 +156,11 @@ "uid": "e71b1ac38f844596a8580c731d6f8e97", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000011223&language=en_US#ShippingSpeeds" + "url": "https://scrawny-calculus.org" }, "children": [ { - "text": "Shipping Speeds" + "text": "More information" } ] }, @@ -185,11 +185,11 @@ "uid": "f70c0eee069b4e03b0024fb484da832c", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000011223&language=en_US#CustomerReturns" + "url": "https://scrawny-calculus.org" }, "children": [ { - "text": "Customer Returns" + "text": "Returns" } ] }, @@ -214,11 +214,11 @@ "uid": "066e64424c094d44813d16cd133c064a", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000011223&language=en_US#FAQ" + "url": "https://ex" }, "children": [ { - "text": "Frequently Asked Questions" + "text": " Questions" } ] }, @@ -276,7 +276,7 @@ }, "children": [ { - "text": "Unlock more of your WFS catalog with big and bulky items. If you’ve sent standard items to WFS before, the item setup, packaging and inbounding processes are all the same. Send inventory to WFS facilities through freight shipping, and we’ll take care of delivering big and bulky items to customers in a reliable and timely manner. Here are just some examples of big and bulky items: " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "uid": "d2515730328b4f3c9a54792141497b1e" @@ -318,7 +318,7 @@ "attrs": {}, "children": [ { - "text": "Home appliances (e.g., big screen TVs, refrigerators)" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "uid": "1416b0e968ff460081c41849adb63071" @@ -328,7 +328,7 @@ "attrs": {}, "children": [ { - "text": "Sporting and recreation equipment (e.g., kayaks, bikes, home gyms, pool tables)" + "text": "Crazy games to be played" } ], "uid": "2abf76b52f0b47ad9e36289ee8bcbacc" @@ -338,7 +338,7 @@ "attrs": {}, "children": [ { - "text": "Outdoor items (e.g., pools, trampolines, patio furniture)" + "text": "Indoor sports equipments" } ], "uid": "bf4fed38cafa46b789d3bbda0d7afed4" @@ -352,7 +352,7 @@ }, "children": [ { - "text": "Home goods (e.g., furniture, desks, chairs)" + "text": "Transport everything you wish to" } ], "uid": "71fa112c43104372bbbca8a3f3486182" @@ -377,7 +377,7 @@ }, "children": [ { - "text": "What Counts as Big and Bulky?" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -398,7 +398,7 @@ "attrs": {}, "children": [ { - "text": "Your item is considered big and bulky if it meets" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" }, { "type": "span", @@ -601,7 +601,7 @@ }, "children": [ { - "text": "Your big and bulky item must also be able to fit through a trailer door. Make sure it follows these limits: " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "uid": "79018d7a97d34626b012956fa66e4d53" @@ -656,7 +656,7 @@ }, "children": [ { - "text": "Shortest side is less than 93 in." + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] } @@ -693,7 +693,7 @@ "attrs": {}, "children": [ { - "text": "Imagine Bentonville Sporting Goods sells kayaks. Each one weighs 36 lb. and is 120\" x 28\" x 14.\" To determine if it’s eligible for the Big and Bulky tier:" + "text": "Imagine lorem ipsum" } ], "uid": "8b0d26466c3b4a1a9d88d344a3eb016b" @@ -732,7 +732,7 @@ "type": "p", "children": [ { - "text": "Unit weight", + "text": "age", "bold": true, "attrs": {} } @@ -751,7 +751,7 @@ "type": "p", "children": [ { - "text": "36 lb." + "text": "36" } ], "attrs": {} @@ -837,7 +837,7 @@ "type": "p", "children": [ { - "text": "120\" + 2*(28\" + 14\") = 204\"" + "text": "Random stuff" } ], "attrs": {} @@ -888,7 +888,7 @@ }, "children": [ { - "text": "This kayak is a big and bulky item because its longest side and longest side + girth meet the criteria. Its dimensions are also within a trailer’s limits." + "text": "This kayak is a big" } ], "uid": "855b48e6c8e14ab0b28ea657cfcc380e" @@ -943,7 +943,7 @@ }, "children": [ { - "text": "The simplest way to preview fulfillment and storage fees is through the " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "type": "span", @@ -965,7 +965,7 @@ { "type": "a", "attrs": { - "url": "www.marketplace.com/company-fulfillment-services-pricing/", + "url": "https://ex", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -978,7 +978,7 @@ "uid": "7e47dadc92484530aea674e442a55760" }, { - "text": ". Just tell us the item dimensions and weight, and we’ll automatically calculate estimated fees. Big and bulky fees are based only on unit weight. We do not charge for packaging or pallet weight." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -996,7 +996,7 @@ "break": true }, { - "text": "For a complete breakdown of fees, including storage and return shipping, see the " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "type": "span", @@ -1018,7 +1018,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009215", + "url": "https://exotic-pyramid.org/", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -1081,7 +1081,7 @@ "uid": "3c413ba8a8f3401ba36cf7155b7fdb19", "children": [ { - "text": "Sending Inventory to WFS" + "text": "Email us" } ] } @@ -1097,7 +1097,7 @@ }, "children": [ { - "text": "No matter the size and shape of your items, you’ll use the same processes to " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" }, { "type": "span", @@ -1119,7 +1119,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009495", + "url": "https://exotic-pyramid.org/", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -1171,14 +1171,14 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009163", + "url": "https://gummy-prompt.info/", "style": {}, "redactor-attributes": {}, "dir": "ltr" }, "children": [ { - "text": "send inventory" + "text": "send deliveries" } ], "uid": "e4957d3756cd4dd4b84be5659f2fb504" @@ -1201,7 +1201,7 @@ "uid": "9d3ae86dc6ef41c68b80f602ec40fcdb" }, { - "text": "to a WFS facility. See the " + "text": "swimming " }, { "type": "span", @@ -1223,7 +1223,7 @@ { "type": "a", "attrs": { - "url": "https://gecrm.my.salesforce.com/sfc/p/#61000000ZKTc/a/4M0000000Osv/jOvZtC6FccRf50_edQMkxZRBo9oZ5hq8QKZMsaaRKi4", + "url": "https://slimy-humour.biz/", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -1236,7 +1236,7 @@ "uid": "e5673a3b3bcd4d4eb8e58bdb3960227d" }, { - "text": " for labeling and packaging details." + "text": "trekking " } ] }, @@ -1276,20 +1276,20 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009514", + "url": "https://scrawny-calculus.org", "style": {}, "redactor-attributes": {}, "dir": "ltr" }, "children": [ { - "text": "company preferred carrier" + "text": "company A" } ], "uid": "438484945beb44608d43038ebd574fce" }, { - "text": ", we can only accept 48” x 40” pallets for freight at this time. For non-standard pallet sizes, please use a different carrier. " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -1317,7 +1317,7 @@ }, "children": [ { - "text": "Big and bulky items that have been properly packed and labeled will be checked in within 2 business days. However, items that require unplanned prep work, arrive during peak (October 1–December 31), or other circumstances may take up to ten days to process." + "text": "We’ll then follow the " } ] }, @@ -1350,7 +1350,7 @@ "uid": "96569dc9b3b34570a0390f30fa52181b", "children": [ { - "text": "Shipping Speeds" + "text": " Speeds" } ] } @@ -1366,7 +1366,7 @@ }, "children": [ { - "text": "Big and bulky items are shipped using ground transportation and may require more than 2 days for delivery. The shipping speed will depend on your assigned fulfillment center and the customer’s location. On company.com, items will have a 3+day shipping tag but customers will see a more accurate estimate in the listing’s details." + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] }, @@ -1399,7 +1399,7 @@ "uid": "19e4f26b637841aa87cf5bed53fca8be", "children": [ { - "text": "Customer Returns" + "text": "Customer" } ] } @@ -1415,7 +1415,7 @@ }, "children": [ { - "text": "Big and bulky items " + "text": "items " }, { "type": "span", @@ -1450,7 +1450,7 @@ "uid": "38dcd5490a4f485e908e92d956eb57bf" }, { - "text": "be returned in stores. Instead, customers can return big and bulky items by scheduling a pickup. The customer will get instructions on how to do so, including placing the item outside their home’s door. They do not need to repackage the item as the carrier will take care of it and transport items directly from a customer’s home to a WFS return center." + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] }, @@ -1500,14 +1500,14 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009158", + "url": "https://exotic-pyramid.org/", "style": {}, "redactor-attributes": {}, "dir": "ltr" }, "children": [ { - "text": "WFS returns process" + "text": "process" } ], "uid": "3ba0782f246344d5979613f9f73cc15e" @@ -1530,7 +1530,7 @@ "uid": "1b4fe6f42b634a009627474945192884" }, { - "text": "to assess the returned item. If it’s in a sellable condition, we’ll put the item back in inventory. However, customers may return big and bulky items already assembled or with damaged packaging. If the item is unsellable, we’ll send it back to you or dispose of it. Note that for any returns identified as " + "text": "Li Europan lingues es membres del sam familie. Lor separat" }, { "type": "span", @@ -1551,7 +1551,7 @@ "italic": true }, { - "text": ", company will keep the inventory regardless of your " + "text": ", company will keep the " }, { "type": "span", @@ -1573,14 +1573,14 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009493", + "url": "https://scrawny-calculus.org", "style": {}, "redactor-attributes": {}, "dir": "ltr" }, "children": [ { - "text": "return preferences" + "text": "return " } ], "uid": "4bf60d72cd884edaafe16858d603042d" @@ -1622,7 +1622,7 @@ }, "children": [ { - "text": "Frequently Asked Questions" + "text": "Far far away, behind the word mountains, far from the" } ] }, @@ -1637,7 +1637,7 @@ "children": [ { "bold": true, - "text": "Q: What fulfillment centers will I ship to?" + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] }, @@ -1651,7 +1651,7 @@ }, "children": [ { - "text": "A: Our non-sort facilities are distributed throughout the US. You’ll be assigned a WFS facility once you create an inbound order in Seller Center. We determine the ship-to location based on geographic sales demand and available capacity.  " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -1680,7 +1680,7 @@ }, "children": [ { - "text": "Q: Can I send an item that has multiple boxes?", + "text": "Li Europan lingues es membres del sam familie. Lor separat", "bold": true }, { @@ -1688,7 +1688,7 @@ "break": true }, { - "text": "A: Yes, you can send " + "text": "The quick, brown fox jumps over a lazy dog. DJs" }, { "type": "span", @@ -1710,7 +1710,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000010431", + "url": "https://vigilant-right.net", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -1740,7 +1740,7 @@ "uid": "7141cd846a13477284a927b7be11f2ca" }, { - "text": "to WFS fulfillment centers. You’ll need set up the item in your catalog as a sellable set made up of multiple boxes (e.g., trampoline shipped as a safety net, jump mat and legs)." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -1758,7 +1758,7 @@ "break": true }, { - "text": "Q: Are big and bulky items part of company+ assortment?", + "text": "The quick, brown fox jumps over a lazy dog. DJs", "bold": true } ] @@ -1773,7 +1773,7 @@ }, "children": [ { - "text": "A: Yes, big and bulky items are included in company+. company+ members will get free shipping on those items." + "text": "Far far away, behind the word mountains, far from the" } ] }, @@ -1802,7 +1802,7 @@ }, "children": [ { - "text": "Q: Can I have big and bulky items returned to me?", + "text": "Far far away, behind the word mountains, far from the", "bold": true } ] @@ -1817,7 +1817,7 @@ }, "children": [ { - "text": "A. Yes, you can have your big and bulky items sent back to you rather than being restocked or disposed of. Make sure to set your return preferences in Seller Center. Removal fees will apply." + "text": "Far far away, behind the word mountains, far from the" } ] }, @@ -1835,7 +1835,7 @@ "break": true }, { - "text": "Q: Can I apply discounts to big and bulky item fulfillment?", + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem", "bold": true } ] @@ -1850,7 +1850,7 @@ }, "children": [ { - "text": "A: Promotional discounts are not eligible for big and bulky items." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ] } @@ -1890,12 +1890,12 @@ }, "meta_data": { "article_id": "000011223", - "salesforce_summary": "Fulfill large, heavy items with company, up to 500 lb. and longest side of 120 in.", + "salesforce_summary": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo", "category_id_b": [ - "company Fulfillment Services (WFS): Shipping to WFS", - "company Fulfillment Services (WFS): WFS Programs & Services" + "category_id_b", + "category_id_c" ], - "url_name": "WFS-Big-Bulky-Items", + "url_name": "Contact us ", "is_archived_": false, "is_authenticated_": false, "is_visible_to_customer_": true, diff --git a/src/test/resources/reports/article4.json b/src/test/resources/reports/article4.json index 27bf23b..a2c5ef4 100644 --- a/src/test/resources/reports/article4.json +++ b/src/test/resources/reports/article4.json @@ -59,7 +59,7 @@ { "type": "a", "attrs": { - "url": "https://sellerhelp.com/s/guide?article=000011074&language=en_US#Overview", + "url": "https://scrawny-calculus.org", "target": "_self" }, "children": [ @@ -103,7 +103,7 @@ { "type": "a", "attrs": { - "url": "https://sellerhelp.com/s/guide?article=000011074&language=en_US#User_Roles", + "url": "https://scrawny-calculus.org", "target": "_self" }, "children": [ @@ -147,7 +147,7 @@ { "type": "a", "attrs": { - "url": "https://sellerhelp.com/s/guide?article=000011074&language=en_US#Add_a_New_User", + "url": "https://example.com", "target": "_self" }, "children": [ @@ -187,7 +187,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000011074&language=en_US#FAQs", + "url": "https://example.com", "target": "_self" }, "children": [ @@ -231,7 +231,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000011074&language=en_US#Helpful_Resources", + "url": "https://scrawny-calculus.org", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -276,7 +276,7 @@ "attrs": {}, "children": [ { - "text": "Marketplace seller, you may need to add a new user to your Seller Center account for various reasons, such as granting access to another member of your organization. Only sellers with admin level access can add users within Seller Center. The process is quick and easy; this guide will show you how to do it. " + "text":"lorem ipsum" } ] }, @@ -310,7 +310,7 @@ "uid": "1b919030db2f429ca63b2fd063b681d1" }, { - "text": "If you do not have admin level access, reach out to your account administrator for help. ", + "text": "Li Europan lingues es membres del sam familie. Lor separat", "italic": true } ] @@ -381,7 +381,7 @@ "uid": "d4be6a6c8c234666baba3f8c3f1fbce4" }, { - "text": "Admin access gives the user the ability to manage and make updates to all areas in Seller Center including:  " + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] }, @@ -459,7 +459,7 @@ ] }, { - "text": "Generating credentials to access company's Rest APIs. " + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] }, @@ -473,7 +473,7 @@ "uid": "231d870a468a4d50ad1235eb308aada8", "children": [ { - "text": "Requesting access to sell in special approval categories.  " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ] }, @@ -487,7 +487,7 @@ "uid": "6d5c38994f6641da8d209f9d639c40ae", "children": [ { - "text": "Creating new user accounts to provide Seller Center access to members of your company.  " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ] }, @@ -501,7 +501,7 @@ "uid": "a14fd515f5b14e7e851fabd45b0d8904", "children": [ { - "text": "Reviewing, signing and accepting binding legal agreements in Seller Center on behalf of the seller.  " + "text": "lorem ipsum" } ] } @@ -540,7 +540,7 @@ }, "children": [ { - "text": "Read and Write access gives the user the ability to perform operational tasks in Seller Center such as setting up items or viewing reports.  " + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] }, @@ -564,7 +564,7 @@ "attrs": {}, "children": [ { - "text": "Read Only access gives the user the ability to view data or create and download reports. Users with Read Only access cannot update or modify existing data.  " + "text": "Li Europan lingues es membres del sam familie. Lor separat" } ] }, @@ -606,7 +606,7 @@ "uid": "f7bb6913dddf45a08b0bb645a7b8c824" }, { - "text": "Marketplace sellers are responsible for their user's actions. Designate your user permissions carefully and limit Admin access to individuals in your company who can accept binding terms on behalf of your company. ", + "text": "lorem ipsum", "italic": true } ] @@ -645,7 +645,7 @@ "attrs": {}, "children": [ { - "text": "Step 1 – Navigate to User Management Settings" + "text": "Step 1" } ] }, @@ -673,11 +673,11 @@ { "type": "a", "attrs": { - "url": "https://seller.com/home" + "url": "https://home.com" }, "children": [ { - "text": "Seller Center" + "text": " Center" } ], "uid": "a0648d6208f14695ad469c19c28acb0f" @@ -696,7 +696,7 @@ "uid": "1885e36e1d0d4761888d6f5c7e969846" }, { - "text": "account. Navigate to the" + "text": "Navigate to the" }, { "type": "span", @@ -736,7 +736,7 @@ "uid": "7c04bea0dfe6474bb54d92da2fda30d4" }, { - "text": "User Management", + "text": "lorem ipsum", "italic": true }, { @@ -805,7 +805,7 @@ "attrs": {}, "children": [ { - "text": "Step 2 – Add User " + "text": "Step 2" } ] }, @@ -911,7 +911,7 @@ }, "children": [ { - "text": "Step 3 – Add User Info " + "text": "Step 3 " } ] }, @@ -921,7 +921,7 @@ "attrs": {}, "children": [ { - "text": "Enter the new user’s information, including their name, email address and their role. Select" + "text": "Li Europan lingues es membres del sam familie. Lor separat" }, { "type": "span", @@ -948,7 +948,7 @@ "uid": "dcf89cc17be1463fae819dc6ea2aa275" }, { - "text": "to send an email invitation to the new user. The email will include a link that the new user can use to create their account and set their password. " + "text": "lorem ipsum" } ] }, @@ -1025,7 +1025,7 @@ }, "children": [ { - "text": "Frequently Asked Questions" + "text": "Questions" } ] }, @@ -1035,7 +1035,7 @@ "attrs": {}, "children": [ { - "text": "Q: Can I edit or remove users once they’ve been added to my Seller Center account? ", + "text": "lorem ipsum", "bold": true }, { @@ -1043,7 +1043,7 @@ "break": true }, { - "text": "A: Yes. Edit or remove users from your list by selecting the three vertical dots menu, and then choosing the option you want. You can find more information in" + "text": "" }, { "type": "span", @@ -1061,7 +1061,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000011072&language=en_US" + "url": "https://scrawny-calculus.org" }, "children": [ { @@ -1134,7 +1134,7 @@ }, "children": [ { - "text": "Watch the Seller Academy tutorial below for guidance on using Administrator Options to manage your company Marketplace account:" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ] }, @@ -1216,12 +1216,12 @@ "category_id_b": [ "Getting Started: Account Settings" ], - "url_name": "Add-a-New-User-to-My-Seller-Center-Account", + "url_name": "Center-Account", "is_archived_": false, "is_authenticated_": false, "is_visible_to_customer_": true, "partner_channel": [ - "U.S. Marketplace" + "India" ] }, "tags": [ diff --git a/src/test/resources/reports/issue007.json b/src/test/resources/reports/issue007.json index 976653a..cde2eeb 100644 --- a/src/test/resources/reports/issue007.json +++ b/src/test/resources/reports/issue007.json @@ -768,7 +768,7 @@ "italic": true }, { - "text": " Company tracks Variant Group IDs on the ", + "text": " dummy tracks Variant Group IDs on the ", "italic": true }, { @@ -783,7 +783,7 @@ "uid": "67633ad53a5e4394a0ae7cd569dee107", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000008328" + "url": "https://profitable-smog.name" }, "children": [ { @@ -921,7 +921,7 @@ "uid": "5d1b59d31b254682b5c23ffff4d8b348", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000007909" + "url": "https://whole-cargo.org" }, "children": [ { @@ -1103,11 +1103,11 @@ "uid": "2deb380bb76f42e6863ef287e38aab6a", "type": "a", "attrs": { - "url": "www.company.com/" + "url": "www.dummy.com/" }, "children": [ { - "text": "company.com" + "text": "dummy.com" } ] }, @@ -1513,7 +1513,7 @@ "text": "Select the " }, { - "text": "company template", + "text": "dummy template", "italic": true }, { @@ -1867,7 +1867,7 @@ { "type": "a", "attrs": { - "url": "https://gecrm.my.salesforce.com/sfc/p/61000000ZKTc/a/4M0000005U4f/8R9gEWVykwHSbinT_.cxJRDtWMGQJEUGO7qnxpVVQIg" + "url": "https://whole-cargo.org" }, "children": [ { @@ -1965,7 +1965,7 @@ "attrs": {}, "children": [ { - "text": "company keeps track of the Variant Group ID for your group in the Seller Center Items dashboard. For additional details, please review ", + "text": "dummy keeps track of the Variant Group ID for your group in the Seller Center Items dashboard. For additional details, please review ", "italic": true } ] @@ -1985,7 +1985,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000008328", + "url": "https://profitable-smog.name", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -2079,7 +2079,7 @@ "uid": "072f6e3de47c4784bd97a9e0ffacd4af", "type": "a", "attrs": { - "url": "https://gecrm.lightning.force.com/lightning/r/KB_Article__kav/ka08Y000001Q9FSQA0/view#Multi-select" + "url": "https://finished-stick.info" }, "children": [ { @@ -2094,7 +2094,7 @@ "uid": "480ba4745cb74c28be71cee348b95501", "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000007909" + "url": "https://finished-stick.info" }, "children": [ { @@ -2400,7 +2400,7 @@ "attrs": {}, "children": [ { - "text": "If you do not provide a swatch image URL, the color variants will appear as tiles with the color stated as text as shown below. company may derive a swatch image from your primary or secondary images to optimize variants for the customer experience. If you have any questions or concerns about variant swatch image that appears on", + "text": "If you do not provide a swatch image URL, the color variants will appear as tiles with the color stated as text as shown below. dummy may derive a swatch image from your primary or secondary images to optimize variants for the customer experience. If you have any questions or concerns about variant swatch image that appears on", "italic": true } ] @@ -2427,11 +2427,11 @@ { "type": "a", "attrs": { - "url": "www.Company.com/" + "url": "www.dummy.com/" }, "children": [ { - "text": "company.com" + "text": "dummy.com" } ], "uid": "7fa227b80d5b4f6ea060f417a7ac604c" @@ -2786,11 +2786,11 @@ { "type": "a", "attrs": { - "url": "www.Company.com/" + "url": "www.dummy.com/" }, "children": [ { - "text": "company.com" + "text": "dummy.com" } ], "uid": "fbcf1bf502a14b9f955fe37918a0c793" @@ -2854,11 +2854,11 @@ { "type": "a", "attrs": { - "url": "www.company.com/" + "url": "www.dummy.com/" }, "children": [ { - "text": "company.com" + "text": "dummy.com" } ], "uid": "6e1fb2d04254416da4032f5ded84c9d1" @@ -2993,7 +2993,7 @@ { "type": "a", "attrs": { - "url": "http://10.10.10.10/product_images/blue_shirt.jpg%3C/swatchImageUrl%3E" + "url": "https://finished-stick.info" }, "children": [ { @@ -3107,7 +3107,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/seller/s/guide?article=000007680#Upload_Spec" + "url": "https://finished-stick.info" }, "children": [ { @@ -3359,7 +3359,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/seller/s/guide?article=000007683" + "url": "https://profitable-smog.name" }, "children": [ { @@ -3787,7 +3787,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/seller/s/guide?article=000007680" + "url": "https://finished-stick.info" }, "children": [ { @@ -3970,7 +3970,7 @@ { "type": "a", "attrs": { - "url": "https://gecrm.lightning.force.com/lightning/r/KB_Article__kav/ka08Y000001Q9FSQA0/view#Variant_Limits" + "url": "https://whole-cargo.org" }, "children": [ { @@ -4096,7 +4096,7 @@ { "type": "a", "attrs": { - "url": "www.seller.com/item/list" + "url": "https://finished-stick.info" }, "children": [ { @@ -4306,23 +4306,23 @@ { "type": "a", "attrs": { - "url": "www.company.com/" + "url": "www.dummy.com/" }, "children": [ { - "text": "company.com" + "text": "dummy.com" } ], "uid": "uid" }, { - "text": ". If another seller or company offers your item in a ", + "text": ". If another seller or dummy offers your item in a ", "italic": true }, { "type": "a", "attrs": { - "url": "www.sellerhelp.com/seller/s/guide?article=000007667&language=en_US#Merged_Variant_Groups" + "url": "https://profitable-smog.name" }, "children": [ { @@ -4332,7 +4332,7 @@ "uid": "c6e1725a2e974e0db85d6ad6ac39dfa4" }, { - "text": ", it will not be removed from the merged group that appears on company.com.", + "text": ", it will not be removed from the merged group that appears on dummy.com.", "italic": true }, { @@ -4345,7 +4345,7 @@ { "type": "a", "attrs": { - "url": "www.seller.company.com/item/list" + "url": "https://profitable-smog.name" }, "children": [ { @@ -4379,7 +4379,7 @@ { "type": "a", "attrs": { - "url": "www.seller.com/item/list" + "url": "https://whole-cargo.org" }, "children": [ { @@ -4811,7 +4811,7 @@ "uid": "2f7d4d995b7843419ea31d5192fb8f85", "type": "a", "attrs": { - "url": "https://gecrm.lightning.force.com/lightning/r/KB_Article__kav/ka08Y000001Q9FSQA0/view#Multi-select" + "url": "https://whole-cargo.org" }, "children": [ { @@ -5016,7 +5016,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/seller/s/guide?article=000006427" + "url": "https://virtual-begonia.biz" }, "children": [ { @@ -5073,7 +5073,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/seller/s/guide?article=000007683" + "url": "https://whole-cargo.org" }, "children": [ { diff --git a/src/test/resources/reports/issue_oct.json b/src/test/resources/reports/issue_oct.json index 3aeae7d..90d62e6 100644 --- a/src/test/resources/reports/issue_oct.json +++ b/src/test/resources/reports/issue_oct.json @@ -17,7 +17,7 @@ }, "children": [ { - "text": "Attempt these troubleshooting steps if you encounter an error when acknowledging an order:" + "text": "lorem ipsum" } ] }, @@ -135,7 +135,7 @@ }, "children": [ { - "text": "If you are still unable to view the order(s) after attempting the steps above, continue to create a case." + "text": "Li Europan lingues es membres del sam familie. Lor separat existentie es un myth." }, { "text": "\n", diff --git a/src/test/resources/reports/lessthanequalto.json b/src/test/resources/reports/lessthanequalto.json index 689a94d..8367aea 100644 --- a/src/test/resources/reports/lessthanequalto.json +++ b/src/test/resources/reports/lessthanequalto.json @@ -14,7 +14,7 @@ }, "children": [ { - "text": "Standard Fulfillment", + "text": " Fulfillment", "id": "" } ] @@ -25,7 +25,7 @@ "attrs": {}, "children": [ { - "text": "The fulfillment fee for standard items includes a base fee, plus" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "type": "span", @@ -43,7 +43,7 @@ { "type": "a", "attrs": { - "url": "https://sellerhelp.com/s/guide?article=000009215&language=en_US#AdditionalFees" + "url": "https://gigantic-tradition.info/" }, "children": [ { @@ -53,7 +53,7 @@ "uid": "0a9014addcc74b7fa718648ec075b29d" }, { - "text": " for apparel, hazardous materials, items with low retail prices and oversize items. Standard items are shipped by small parcel." + "text": " lorem ipsum." }, { "type": "span", @@ -66,7 +66,7 @@ "uid": "fdcf66e1857943aaa703679e90470315" }, { - "text": "An item is considered standard when it meets these criteria:", + "text": " lorem ipsum.", "bold": true }, { @@ -88,7 +88,7 @@ "attrs": {}, "children": [ { - "text": "Unit weight is less than or equal to 150 lb." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem." } ], "uid": "bffc785cdf3042f194189de26b954c84" @@ -98,7 +98,7 @@ "attrs": {}, "children": [ { - "text": "Longest side is less than or equal to 108 inches." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "uid": "ade36bf253a34c1fbb8906c6cec15f72" @@ -108,7 +108,7 @@ "attrs": {}, "children": [ { - "text": "Longest side + girth* is less than or equal to 165 inches." + "text": "Longest side " } ], "uid": "68b19ca3cd014b5b9799072ca97590e2" @@ -133,7 +133,7 @@ "attrs": {}, "children": [ { - "text": "* Girth = 2*(width + height in inches)", + "text": " height in inches", "subscript": true } ], @@ -204,11 +204,11 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009215&language=en_US#BigBulkyFulfillment" + "url": "https://gigantic.info/" }, "children": [ { - "text": "big and bulky item" + "text": "big item" } ], "uid": "c71213d03c694c6f8e7bc72db78c8633" @@ -227,7 +227,7 @@ "uid": "9f40a4ae3d02450083f2d6fe05b68495" }, { - "text": "and must be shipped by freight. The big and bulky fulfillment fee will apply." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -251,7 +251,7 @@ "attrs": {}, "children": [ { - "text": "Calculate the Base Fee for Standard Items" + "text": "Calculate the Base" } ] }, @@ -261,7 +261,7 @@ "attrs": {}, "children": [ { - "text": "Step 1 – Measure your item’s dimensions." + "text": " Measure your item’s dimensions." } ] }, @@ -271,7 +271,7 @@ "attrs": {}, "children": [ { - "text": "You’ll need these to calculate dimensional weight. If your item is" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "type": "span", @@ -289,7 +289,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009215&language=en_US#AdditionalFees" + "url": "https://gigantic-tradition.info" }, "children": [ { @@ -299,7 +299,7 @@ "uid": "32d889bca7d64cd7ab855db9e6e83c16" }, { - "text": ", it may determine the starting unit weight and have an additional fee." + "text": ", it may determine the starting unit weight and have an additional." } ] }, @@ -323,7 +323,7 @@ "attrs": {}, "children": [ { - "text": "Step 2 – Determine your item’s shipping weight." + "text": "Determine your item’s shipping weight." } ] }, @@ -485,7 +485,7 @@ "type": "li", "children": [ { - "text": "Add 0.25 lb. for packaging materials" + "text": " packaging materials" } ], "attrs": {} @@ -534,7 +534,7 @@ "type": "p", "children": [ { - "text": "Between 1 lb. and up to 150 lb." + "text": "Between" } ], "attrs": {} @@ -600,7 +600,7 @@ }, "children": [ { - "text": "Step 3 – Use this table to find your base fulfillment fee for standard items." + "text": " lorem ipsum." } ] }, @@ -737,7 +737,7 @@ }, "children": [ { - "text": "Standard Base Fee Per Unit " + "text": "Standard " } ], "uid": "1f80640b82dc4ddcb1669a1d9fe5cdc9" @@ -1003,7 +1003,7 @@ }, "children": [ { - "text": "$5.75 + $0.40 for each lb. > 4 lb." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ], "uid": "3d63098ba8c74a838d70119a3b80f009" @@ -1064,7 +1064,7 @@ }, "children": [ { - "text": "$15.55 + $0.40 for each lb. > 21 lb." + "text": "$15.55 " } ], "uid": "0d5c633adc0642569adb857a8f7af3bb" @@ -1233,7 +1233,7 @@ "attrs": {}, "children": [ { - "text": "*Heavier items may require more than two days for delivery because they're shipped using ground transportation." + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "uid": "c69ff491f85d41beae578c56170ba42d" @@ -1285,7 +1285,7 @@ ] }, { - "text": "Additional Fulfillment Fees", + "text": "Fulfillment Fees", "id": "" } ] @@ -1300,7 +1300,7 @@ }, "children": [ { - "text": "For standard items only, add the following fees to the base fulfillment fee if your item applies. (These additional fees do" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "type": "span", @@ -1327,7 +1327,7 @@ "uid": "09d562e175bc4c20b0b37a311dc52b0f" }, { - "text": "apply to big and bulky items.)" + "text": " lorem ipsum." }, { "text": "\n", @@ -1571,7 +1571,7 @@ "type": "p", "children": [ { - "text": "Your item is an article of clothing." + "text": "Your item is an article ." } ], "attrs": { @@ -1596,7 +1596,7 @@ "type": "p", "children": [ { - "text": "Add $0.50" + "text": "Add " } ], "attrs": { @@ -1682,7 +1682,7 @@ "type": "p", "children": [ { - "text": "Add $0.50" + "text": "Add " } ], "attrs": { @@ -1841,7 +1841,7 @@ "uid": "6b2ffdeed4a4454da13ab8fcc71d9564", "children": [ { - "text": "Your item meets " + "text": " ends meets " }, { "type": "span", @@ -1901,7 +1901,7 @@ }, "children": [ { - "text": "Longest side greater than 48\" and up to 96” " + "text": "Longest side greater " } ], "uid": "cfff0ce953a744449005685e0edd33a2" @@ -2157,21 +2157,21 @@ { "type": "a", "attrs": { - "url": "www.company.com/s/guide?article=000009891", + "url": "https://gigantic-tradition.info/", "style": {}, "redactor-attributes": {}, "dir": "ltr" }, "children": [ { - "text": "Calculating Your WFS Fees", + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo", "italic": true } ], "uid": "9c4e3e4b76b84a86bfa9e04b1f458e10" }, { - "text": " to see a sample item's fulfillment fee.", + "text": " to see a sample item's fulfillment .", "italic": true } ] @@ -2234,11 +2234,11 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?language=en_US&article=000011223" + "url": "https://gigantic.info/" }, "children": [ { - "text": "Big and bulky items" + "text": " items" } ], "uid": "7eb3ad881ffe48aa8607ead8897f7ae0" @@ -2257,7 +2257,7 @@ "uid": "ec8479c301164d539c47e15006b7b991" }, { - "text": "are shipped by freight. An item is considered big and bulky when it meets" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" }, { "type": "span", @@ -2369,7 +2369,7 @@ "break": true }, { - "text": "Use the unit weight and round up to the nearest pound to calculate shipping weight. No additional fulfillment fees apply." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ] } @@ -2443,7 +2443,7 @@ }, "children": [ { - "text": "Shipping Weight " + "text": "Shipping " } ], "uid": "18179aef4544411ba99b6c290d7b594c" @@ -2491,7 +2491,7 @@ }, "children": [ { - "text": "Big & Bulky Base Fee Per Unit " + "text": "Big items " } ], "uid": "64fb696109444d6a95163ff4023a601e" @@ -2613,7 +2613,7 @@ }, "children": [ { - "text": "The storage fee is the cost of storing your items at a company fulfillment center. It's based on the volume of the product being stored and the length of time. The fees displayed below are based on a 30-day calendar month. (You can track how long items have been at fulfillment centers with the" + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" }, { "type": "span", @@ -2631,7 +2631,7 @@ { "type": "a", "attrs": { - "url": "www.seller.com/wfsLite/reports" + "url": "https://gigantic-tradition.info" }, "children": [ { @@ -2665,7 +2665,7 @@ "attrs": {}, "children": [ { - "text": "Items Stored for Fewer Than 365 Days" + "text": "Fewer Than 365 Days" } ] }, @@ -2806,7 +2806,7 @@ "attrs": {}, "children": [ { - "text": "January–September" + "text": "January" } ], "uid": "fcef6970cc94468fa900110052f140de" @@ -2847,7 +2847,7 @@ "type": "p", "children": [ { - "text": "October–December" + "text": "October" } ], "attrs": {} @@ -3175,20 +3175,20 @@ }, "children": [ { - "text": "Want an example? Go to ", + "text": "Want lorem ipsum", "italic": true }, { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009891", + "url": "https://gullible-poisoning.net", "style": {}, "redactor-attributes": {}, "dir": "ltr" }, "children": [ { - "text": "Calculating Your WFS Fees", + "text": " lorem ipsum.", "italic": true } ], @@ -3238,7 +3238,7 @@ }, "children": [ { - "text": "Problem inventory is any inbound shipment that can’t be received into a company fulfillment center. It may be returned to you at your expense if we can’t reach a resolution." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" } ] }, @@ -3382,7 +3382,7 @@ "type": "p", "children": [ { - "text": "Missing or incorrect poly bag" + "text": "Missing " } ], "attrs": {} @@ -3450,7 +3450,7 @@ "uid": "e208977578c549369004ffbf53325453", "children": [ { - "text": "Return Shipping & Exceptions", + "text": "Exceptions", "id": "" } ] @@ -3463,7 +3463,7 @@ "attrs": {}, "children": [ { - "text": "Return Shipping Fee" + "text": "Return Fee" } ] }, @@ -3477,7 +3477,7 @@ }, "children": [ { - "text": "The return shipping fee is based on shipping weight. Additional fees also apply for apparel, hazardous materials and oversize items. " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -3940,7 +3940,7 @@ "attrs": {}, "children": [ { - "text": "Shipping Weight " + "text": "Shipping " } ], "uid": "433a875e864444378046f40f555df267" @@ -4076,7 +4076,7 @@ }, "children": [ { - "text": "Fulfillment & Returns Exceptions" + "text": "Exceptions" } ] }, @@ -4090,14 +4090,14 @@ }, "children": [ { - "text": "company will cover the cost of return shipping for any returns identified as " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "text": "company at fault", "italic": true }, { - "text": ". These include lost in transit, lost after delivery, unable to deliver, item damaged, shipping box damaged, arrived late, and wrong item received." + "text": ". lorem ipsum" } ] }, @@ -4126,7 +4126,7 @@ }, "children": [ { - "text": "Sellers are responsible for paying the return shipping for any returns that are not identified as " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }, @@ -4144,7 +4144,7 @@ "italic": true }, { - "text": ". These include but are not limited to wrong size/poor fit, poor quality, missing parts or instructions, not as described, device or part(s) do not work, seller issued refund, bought another size or color, bought somewhere else, lower price, customer refused shipment, no longer wanted, difficult to setup/not compatible, color not as expected, and did not like fabric." + "text": ".sed" } ] }, @@ -4214,7 +4214,7 @@ "type": "p", "children": [ { - "text": " By End of Payment Cycle" + "text": " By Cycle" } ], "attrs": { @@ -4276,7 +4276,7 @@ "attrs": {}, "children": [ { - "text": "Damaged or lost in fulfillment center" + "text": "Damaged" } ], "uid": "5969a938ca534d27addf8efe1ebb4efa" @@ -4320,7 +4320,7 @@ "uid": "c67aa5b5f5c14964b27ac8a2ab85494d" }, { - "text": "the original sales price. We retain fulfillment and commission fees. " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ], "uid": "cb1053e2a0be434fafe5b90416e5ebc9" @@ -4355,7 +4355,7 @@ "attrs": {} }, { - "text": "Lost in transit to customer" + "text": "Lost " } ], "attrs": {} @@ -4376,7 +4376,7 @@ "type": "p", "children": [ { - "text": "No adjustments: You retain the original sales price. We retain fulfillment and commission fees." + "text": "No adjustments" } ], "attrs": { @@ -4617,7 +4617,7 @@ "type": "p", "children": [ { - "text": "We cover the return shipping fee. " + "text": "We cover lorem ipsum " }, { "text": "\n\n", @@ -4625,7 +4625,7 @@ "attrs": {} }, { - "text": "No adjustments: You retain the original sales price. We retain the fulfillment and commission fees. " + "text": "No adjustments " } ], "attrs": { @@ -4646,7 +4646,7 @@ }, "children": [ { - "text": "If the returned item is deemed sellable, we’ll restock it. In this case, the sale is reversed: you’re" + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "type": "span", @@ -4718,7 +4718,7 @@ "uid": "1d2bfa66881a4d7db4af0958b98313da" }, { - "text": "fulfillment and commission fees. " + "text": "fulfillment " } ], "uid": "823e5fc6f8fb4542869c7e069762280f" @@ -4783,13 +4783,13 @@ }, "children": [ { - "text": "If the returned item is deemed unsellable, we’ll keep the inventory regardless of any " + "text": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" }, { "uid": "8cb104e01104421d8e3f5ae5d2939651", "type": "a", "attrs": { - "url": "www.seller.com/seller-profile/return-policy", + "url": "https://gigantic-tradition.info", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -4861,7 +4861,7 @@ }, "children": [ { - "text": "You pay the return shipping fee. " + "text": "You pay " }, { "text": "\n\n", @@ -4869,7 +4869,7 @@ "attrs": {} }, { - "text": "The sale is reversed: You’re" + "text": "The sale " }, { "type": "span", @@ -4941,7 +4941,7 @@ "uid": "1f22ff1141ba44878ef3fc19b44e0124" }, { - "text": "only the commission fee. We retain the fulfillment fee. " + "text": "only lorem ipsum " } ], "uid": "b69a3a10e28d44beb1c56138694ae6d1" @@ -4955,7 +4955,7 @@ }, "children": [ { - "text": "If the returned item is deemed unsellable or you’ve set specific" + "text": "If the returned item " }, { "type": "span", @@ -4977,7 +4977,7 @@ { "type": "a", "attrs": { - "url": "www.seller.com/seller-profile/return-policy", + "url": "https://gigantic.info/", "style": {}, "redactor-attributes": {}, "dir": "ltr" @@ -5037,7 +5037,7 @@ "attrs": {}, "children": [ { - "text": "Items can be disposed of or removed from inventory and shipped back to you for a per-unit fee. " + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "text": "\n", @@ -5251,7 +5251,7 @@ "attrs": {}, "children": [ { - "text": "Disposal fee + $0.40 per lb. shipping cost" + "text": "Disposal" } ] }, @@ -5330,7 +5330,7 @@ "attrs": {}, "children": [ { - "text": "Disposal fee + $0.40 per lb. shipping cost" + "text": "Disposal" } ] }, @@ -5375,7 +5375,7 @@ }, "children": [ { - "text": "Add $0.50 to the base fee" + "text": "Add " } ] }, @@ -5414,7 +5414,7 @@ "uid": "763726ed369e41b1aebc8398645c0b5f", "children": [ { - "text": "Additional WFS Programs", + "text": "Additional ", "id": "" } ] @@ -5431,7 +5431,7 @@ }, "children": [ { - "text": "Additional programs may be available to WFS sellers. Find information in the links below, and additional fees may apply. " + "text": "Additional programs " } ] }, @@ -5449,7 +5449,7 @@ "attrs": {}, "children": [ { - "text": "Send company-fulfilled items made up of multiple boxes with" + "text": "Send " }, { "type": "span", @@ -5467,7 +5467,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000010431" + "url": "https://gigantic-tradition.info" }, "children": [ { @@ -5505,7 +5505,7 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009900" + "url": "https://gullible-poisoning.net" }, "children": [ { @@ -5525,7 +5525,7 @@ "attrs": {}, "children": [ { - "text": "Enjoy reduced shipping rates with the" + "text": "Enjoy reduced rates with the" }, { "type": "span", @@ -5543,11 +5543,11 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009514" + "url": "https://gigantic-tradition.info" }, "children": [ { - "text": "Preferred Carrier Program" + "text": "Preferred Program" } ], "uid": "93d7191615824817a007970150b424b6" @@ -5567,7 +5567,7 @@ }, "children": [ { - "text": "Simplify distributing inventory across the WFS network with" + "text": "Simplify distributing" }, { "type": "span", @@ -5585,11 +5585,11 @@ { "type": "a", "attrs": { - "url": "www.sellerhelp.com/s/guide?article=000009930" + "url": "https://gigantic.info/" }, "children": [ { - "text": "Inventory Transfer Services" + "text": " Transfer " } ], "uid": "feac428a1662420fa22cd727ab819bf1" diff --git a/src/test/resources/reports/wfs.json b/src/test/resources/reports/wfs.json index 6cffe74..206c50e 100644 --- a/src/test/resources/reports/wfs.json +++ b/src/test/resources/reports/wfs.json @@ -41,7 +41,7 @@ }, "children": [ { - "text": "Standard Fulfillment" + "text": "Fulfillment" } ] }, @@ -52,12 +52,12 @@ "uid": "fcc1d2219e2f48438e3c8212b3bb3526", "type": "a", "attrs": { - "url": "#AdditionalFees", + "url": "#Fees", "target": "_self" }, "children": [ { - "text": "Additional Fees" + "text": "Fees" } ] }, @@ -68,12 +68,12 @@ "uid": "4ff064c605dd4f2db1b1760eaec58bf0", "type": "a", "attrs": { - "url": "#BigBulkyFulfillment", + "url": "#Fulfillment", "target": "_self" }, "children": [ { - "text": "Big & Bulky Fulfillment" + "text": "Fulfillment" } ] }, @@ -100,12 +100,12 @@ "uid": "4bb36b3ecbec4d19b45ca65c447de57f", "type": "a", "attrs": { - "url": "#ProblemInventory", + "url": "#problem", "target": "_self" }, "children": [ { - "text": "Problem Inventory" + "text": "problem" } ] }, @@ -121,7 +121,7 @@ }, "children": [ { - "text": "Return Shipping & Exceptions" + "text": "Return" } ] }, @@ -132,12 +132,12 @@ "uid": "43a9d8dd407f41dfa997a1456a46f15e", "type": "a", "attrs": { - "url": "#DisposalRemoval", + "url": "#Removal", "target": "_self" }, "children": [ { - "text": "Disposal & Removal" + "text": "Removal" } ] }, @@ -148,12 +148,12 @@ "uid": "4184bc290b2e49a09bf0b8eecab10507", "type": "a", "attrs": { - "url": "#AdditionalPrograms", + "url": "#Programs", "target": "_self" }, "children": [ { - "text": "Additional WFS Programs" + "text": "Programs" } ] }, @@ -197,7 +197,7 @@ }, "children": [ { - "text": "Fulfillment Services is a competitive and cost-effective solution that offers an end-to-end ecommerce fulfillment experience. Our fee structure is simple and straightforward, without signup or monthly subscription fees. You're also free to ship and store any amount of inventory you choose, without minimums or maximums. Use the" + "text": "lorem ipsum" }, { "type": "span", @@ -215,11 +215,11 @@ { "type": "a", "attrs": { - "url": "www.abcd.com/?_gl=1*1t4i6i1*_ga*OTkwMDc3NzQuMTY1MjM3NjY3Nw..*_ga_1LB22TM2MG*MTY1MjcyNDU5My41OS4xLjE2NTI3MjY5NzIuMA.." + "url": "https://example.com" }, "children": [ { - "text": "WFS Calculator" + "text": "Calculator" } ], "uid": "f9de9f6827ac4768b039fbfd99b2829a" @@ -238,14 +238,14 @@ "uid": "744594825c234deaa3439357297756b4" }, { - "text": "to estimate your fulfillment and storage fees." + "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem" }, { "text": "\n", "break": true }, { - "text": "\nThe following fees are effective as of August 2023 and are subject to change." + "text": "\nLorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo" } ] }