diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-05-28 06:41:19 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-05-28 06:41:19 +0300 |
commit | 0e70009736f2a874d78aa3388d8cce2f65cfdb41 (patch) | |
tree | b0627ea484fef44cd245b3441ff261e04dc4b988 /tests/PHPUnit | |
parent | 02614a39a4561a9c6291543f7c767de74de588fe (diff) |
Show product name before product sku (#12975)
* show product name for product sku refs #12970
* fixing tests
* Fix test change.
* Update UI screenshots
Diffstat (limited to 'tests/PHPUnit')
3 files changed, 24 insertions, 24 deletions
diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml index 73a123e5ac..4b90d02b7c 100644 --- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml +++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml @@ -1997,10 +1997,10 @@ <row> <category>Ecommerce</category> <subcategory>Products</subcategory> - <name>Product SKU</name> + <name>Product Name</name> <module>Goals</module> - <action>getItemsSku</action> - <dimension>Product SKU</dimension> + <action>getItemsName</action> + <dimension>Product Name</dimension> <metrics> <revenue>Product Revenue</revenue> <quantity>Quantity</quantity> @@ -2012,17 +2012,17 @@ <avg_quantity>Average Quantity</avg_quantity> <conversion_rate>Product Conversion Rate</conversion_rate> </processedMetrics> - <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=getItemsSku&period=day&date=2009-01-04</imageGraphUrl> - <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=getItemsSku&period=day&date=2008-12-06,2009-01-04</imageGraphEvolutionUrl> - <uniqueId>Goals_getItemsSku</uniqueId> + <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=getItemsName&period=day&date=2009-01-04</imageGraphUrl> + <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=getItemsName&period=day&date=2008-12-06,2009-01-04</imageGraphEvolutionUrl> + <uniqueId>Goals_getItemsName</uniqueId> </row> <row> <category>Ecommerce</category> <subcategory>Products</subcategory> - <name>Product Name</name> + <name>Product SKU</name> <module>Goals</module> - <action>getItemsName</action> - <dimension>Product Name</dimension> + <action>getItemsSku</action> + <dimension>Product SKU</dimension> <metrics> <revenue>Product Revenue</revenue> <quantity>Quantity</quantity> @@ -2034,9 +2034,9 @@ <avg_quantity>Average Quantity</avg_quantity> <conversion_rate>Product Conversion Rate</conversion_rate> </processedMetrics> - <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=getItemsName&period=day&date=2009-01-04</imageGraphUrl> - <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=getItemsName&period=day&date=2008-12-06,2009-01-04</imageGraphEvolutionUrl> - <uniqueId>Goals_getItemsName</uniqueId> + <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=getItemsSku&period=day&date=2009-01-04</imageGraphUrl> + <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=getItemsSku&period=day&date=2008-12-06,2009-01-04</imageGraphEvolutionUrl> + <uniqueId>Goals_getItemsSku</uniqueId> </row> <row> <category>Ecommerce</category> diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportPagesMetadata.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportPagesMetadata.xml index 9c0f3db6e5..431c2bde0f 100644 --- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportPagesMetadata.xml +++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportPagesMetadata.xml @@ -4101,7 +4101,7 @@ <isContainer>1</isContainer> <widgets> <row> - <name>Product SKU</name> + <name>Product Name</name> <category> <id>Goals_Ecommerce</id> <name>Ecommerce</name> @@ -4114,19 +4114,19 @@ <order>99</order> </subcategory> <module>Goals</module> - <action>getItemsSku</action> + <action>getItemsName</action> <order>130</order> <parameters> <module>Goals</module> - <action>getItemsSku</action> + <action>getItemsName</action> </parameters> - <uniqueId>widgetGoalsgetItemsSku</uniqueId> + <uniqueId>widgetGoalsgetItemsName</uniqueId> <isWide>0</isWide> <viewDataTable>table</viewDataTable> <isReport>1</isReport> </row> <row> - <name>Product Name</name> + <name>Product SKU</name> <category> <id>Goals_Ecommerce</id> <name>Ecommerce</name> @@ -4139,13 +4139,13 @@ <order>99</order> </subcategory> <module>Goals</module> - <action>getItemsName</action> + <action>getItemsSku</action> <order>131</order> <parameters> <module>Goals</module> - <action>getItemsName</action> + <action>getItemsSku</action> </parameters> - <uniqueId>widgetGoalsgetItemsName</uniqueId> + <uniqueId>widgetGoalsgetItemsSku</uniqueId> <isWide>0</isWide> <viewDataTable>table</viewDataTable> <isReport>1</isReport> diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml index 1dde828e15..635d3c50fb 100644 --- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml +++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml @@ -1928,7 +1928,7 @@ </subcategory> <module>Goals</module> <action>getItemsName</action> - <order>131</order> + <order>130</order> <parameters> <module>Goals</module> <action>getItemsName</action> @@ -1953,7 +1953,7 @@ </subcategory> <module>Goals</module> <action>getItemsName</action> - <order>131</order> + <order>130</order> <parameters> <module>Goals</module> <action>getItemsName</action> @@ -1978,7 +1978,7 @@ </subcategory> <module>Goals</module> <action>getItemsSku</action> - <order>130</order> + <order>131</order> <parameters> <module>Goals</module> <action>getItemsSku</action> @@ -2003,7 +2003,7 @@ </subcategory> <module>Goals</module> <action>getItemsSku</action> - <order>130</order> + <order>131</order> <parameters> <module>Goals</module> <action>getItemsSku</action> |