Skip to content

Commit

Permalink
update ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Feb 3, 2020
1 parent f0fc299 commit 21efdb2
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 475 deletions.
11 changes: 2 additions & 9 deletions plugins/Marketplace/tests/Integration/PluginsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public function test_searchPlugins_manyPluginsFound_shouldEnrichAll()
$this->service->returnFixture('v2.0_plugins.json');
$plugins = $this->plugins->searchPlugins($query = '', $sort = Sort::DEFAULT_SORT, $themesOnly = false);

$this->assertCount(54, $plugins);
$this->assertCount(47, $plugins);
$names = array_map(function ($plugin) {
return $plugin['name'];
}, $plugins);
Expand Down Expand Up @@ -485,7 +485,6 @@ private function getExpectedPluginNames()
{
return array (
'AdminNotification',
'AdvancedCampaignReporting',
'AnonymousPiwikUsageMeasurement',
'ApiGetWithSitesInfo',
'Bandwidth',
Expand All @@ -496,14 +495,12 @@ private function getExpectedPluginNames()
'CustomAlerts',
'CustomDimensions',
'CustomOptOut',
'CustomTrackerJs',
'ExcludeByDDNS',
'FeedAnnotation',
'FlagCounter',
'FreeMobileMessaging',
'GoogleAuthenticator',
'GrabGravatar',
'InterSites',
'IntranetGeoIP',
'Ip2Hostname',
'IP2Location',
Expand All @@ -519,25 +516,21 @@ private function getExpectedPluginNames()
'PaidPlugin1',
'PerformanceInfo',
'PerformanceMonitor',
'PlatformsReport',
'QueuedTracking',
'ReferrersManager',
'RerUserDates',
'SecurityInfo',
'ServerMonitor',
'ShibbolethLogin',
'ShortcodeTracker',
'SimplePageBuilder',
'SimpleSysMon',
'SiteMigration',
'SnoopyBehavioralScoring',
'TasksTimetable',
'TopPagesByActions',
'TrackingCodeCustomizer',
'TreemapVisualization',
'UptimeRobotMonitor',
'VisitorAvatar',
'WebsiteGroups'
'VisitorAvatar'
);
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
457 changes: 7 additions & 450 deletions plugins/Marketplace/tests/resources/v2.0_plugins.json

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 21efdb2

Please sign in to comment.