Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/System/APITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function test_getTranslatableTypes($api)

$apiOutputIsMissingMetricChanges = version_compare(Version::VERSION, '5.2.0-b6', '<');
$testSuffix = 'API.getReportMetadata' == $api && $apiOutputIsMissingMetricChanges ? '_Old' : '';
$testSuffix = in_array($api, ['API.getReportPagesMetadata', 'API.getWidgetMetadata']) && version_compare(Version::VERSION, '5.0.0-rc5', '<=') ? '_Old' : $testSuffix;
$testSuffix = in_array($api, ['API.getReportPagesMetadata', 'API.getWidgetMetadata']) && version_compare(Version::VERSION, '5.9.0-b1', '<') ? '_Old' : $testSuffix;

$this->runAnyApiTest($api, '', $params, array('testSuffix' => $testSuffix, 'xmlFieldsToRemove' => array('imageGraphUrl', 'imageGraphEvolutionUrl')));
}
Expand Down
31 changes: 31 additions & 0 deletions tests/System/expected/test___API.getReportPagesMetadata_.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,37 @@
</row>
</widgets>
</row>
<row>
<uniqueId>General_Visitors.CoreHome_Segments</uniqueId>
<category>
<id>General_Visitors</id>
<name>Visitors</name>
<order>5</order>
<icon>icon-reporting-visitors</icon>
<help>&lt;p&gt;The Visitors pages tell you things about who your visitors are. Things like where your visitors came from, what devices and browsers they're using and when they generally visit your website. Understand, in the aggregate, who your audience is, and look for outliers to see how your audience could grow.&lt;/p&gt;&lt;p&gt;In addition to general information about your visitors, you can also use the &lt;a href=&quot;#&quot; onclick=&quot;this.href=broadcast.buildReportingUrl('category=General_Visitors&amp;subcategory=Live_VisitorLog')&quot;&gt;Visits Log&lt;/a&gt; to see what occurred in every individual visit.&lt;/p&gt;</help>
<widget />
</category>
<subcategory>
<id>CoreHome_Segments</id>
<name>Segments</name>
<order>99</order>
<help />
</subcategory>
<widgets>
<row>
<name>Segments</name>
<module>SegmentEditor</module>
<action>manageSegments</action>
<order>99</order>
<parameters>
<module>SegmentEditor</module>
<action>manageSegments</action>
</parameters>
<uniqueId>widgetSegmentEditormanageSegments</uniqueId>
<isWide>0</isWide>
</row>
</widgets>
</row>
<row>
<uniqueId>Dashboard_Dashboard.1</uniqueId>
<category>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading