Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-09Switch UI tests from phantomjs to chrome headless (#14421)Thomas Steur
* Make sure xss entries is always an array. * Update expected test files and submodule. * Regenerate broken omnifixture dump. * poc conversion to chrome headless for UI tests, single test works locally * Get single test to pass on travis & local w/ headless chrome. * Remove old diff viewer generation, and get output to look the same as before when there is a failure. * Add global timeout & get ViewDataTableTest to pass. * Convert BarGraph_spec.js. * Convert EmptySite_spec. * Update EvolutionGraph spec for chrome headless. * Convert GoalsTable test & find/replace for common changes. * Convert MeasurableManager. * Another find & replace. * Get Menus/OptOutForm to pass w/ chrome headless * Convert PeriodSelector, PieGraph & PivotByDimension UI tests. * undo unrelated debugging change * Convert QuickAccess UI tests * Converts ActionsDataTable UI tests * reset viewport after each testsuite * Converts RowEvolution UI tests * Converts Theme UI tests * Converts SiteSelector UI tests * Converts CustomVariables UI test * Converts DBStats UI test * Ignore empty responses when calling api/controller * Converts Dashboard UI tests * Converts Live UI tests * Converts SimpleUI tests * Converts Installation UI tests * Converts ImageGraph UI tests * Converts Login UI tests * Converts Marketplace UI tests * Converts Insights UI tests * Converts ReportExporting UI tests * Converts UIIntegration tests * Updates ViewDataTable UI tests * Converts CoreUpdater UI tests * Converts UsersManager UI tests * Converts Morpheus UI tests * Converts MultiSites UI tests * Fix testEnvironment.callApi handling of array parameters * Converts Overlay UI tests * Converts PrivacyManager UI tests * Converts ScheduledReports UI tests * Converts SegmentEditor UI tests * compare pixel difference in images * Converts PeriodSelector UI tests * allow a pixel difference * Converts SingleMetricView UI tests * Converts SitesManager UI tests * Converts Transitions UI tests * Converts MeasurableManager UI tests * Move Mouse out of screen after each test suite * Converts PieGraph UI tests * Ensure cursor is not shown in focused input elements * Converts VisitorMap UI tests * Converts CustomLogo UI tests * Converts BarGraph UI tests * Converts EvolutionGraph UI tests * Converts IntranetMeasurable UI tests * Converts TrackingFailures UI tests * Converts CampaignBuilder UI tests * Converts TagManagerTeaser UI tests * fix request url rewrite for changed port * Converts TwoFactorAuth UI tests * do not print full responses in logs, but size instead * improve additional style injection * use submodule branches * fix request interception * update dependencies * [TEMP] disable dangerous link checks * [TEMP] limit tests * Use puppeteer@next and make sure diffs get uploaded properly. * Use correct fs function. * Allow timeout to be specified on command line for UI tests and debug console logs. * timeout option tweak * Setup diff dir once before running tests not before each suite. * fix last commit * Update screenshots and fix some specs. * Convert some tests that were not converted during merge. * updating screenshots * Updating screenshots and fixing some tests. * more test fixes * couple more test fixes * More test fixes and plugin updates. * wait for jquery * Fix some screenshots and tests. * more test fixes * debug travis test failure * remove .only * more test fixes and updated expected files * another test fixing iteration * typo * another quick test change * more tests updates * Test fixes and & more debugging. * more debugging and test fixes * more fixes and debugging. * remove .only * Another round of fixed tests. * more debugging & fixes * more test changes * more debugging and fixes * Fixing more tests + some bug fixes. * Couple more fixes. * Couple more fixes. * Fixing tracking failures test * more fixes * Last couple fixes hopefully. * couple more test fixes * more fixes, bug fix in usersmanager, some test updates * Some more test fixes/changes. * more and more fixes * hoping for a green build * Do not compare against existing files in dashboard_spec. * more fixes, re-enabling travis * really re-enable travis * Install puppeteer on travis-ci. * more fixes * try to fix random failues * remove return * Convert some login tests I forgot and update UsersManager expected file * Fix test for primary key update * Update AddPrimaryKey.php * More test fixes + implement synchronous comparison threshold (so no resemblejs) * More wait fixes + reset token detection fix. * couple more fixes * Fix login/overlay screenshot issue & magick command running issue. * identify is the executable on travis (hopefully) + fix some random failures * Another run. * Last fix. * two more tweaks * typo
2018-11-13Regenerate OmniFixture dump w/ more xss payloads (#13556)diosmosis
* Buffing xss testing system. * More testing changes. * Finish adding more xss test data. * Update ui-test.php file. * Use DI\add in test container override. * Update OmniFixture. * Get fixture to setup properly. * Make xss sanity check work w/ persist fixture data option. * Another sanity check tweak. * Trying to debug xss sanity check. * removing duplicates * Fix xss testing JS. * Escape widget category text. * deal w/ angular input in goal name * Ensure privacy manager links are safe and add automated test for dangerous links to UI tests. * Create dangerous link method in xsstesting class. * Make xss test failures a bit easier to debug and escape metric documentation for angular. * Tweak quickaccess test. * Try to get pviot by dimension test to pass. * Tweak QuickAccess test and try to get xss reports to show. * Fix exception message. * Tweaks to fake xss report (cannot currently be displayed). * Updating screenshots. * In check for dangerous links test allow empty links that use dangerous prefix. * fix a cou0le more tests. * update more screenshots * Update a couple more screenshots. * Updated screenshot. * update screenshots * update two more screenshots * Use ng-bind-html to sanitize report documentation which can potentially have HTML. * update screenshots
2018-10-03Use postMessage instead of directly making API calls in the overlay iframe. ↵diosmosis
(#13446) * Use postMessage instead of directly making API calls in the overlay iframe. * Make sure it will work when Matomo is on a subfolder. * Increase overlay security with domain and method whitelists. * Try to fix UI test. * Fix tests + UI test blacklist check. * broadcast.getValuesFromUrl does not decode URL params.
2018-09-06Add [tests] config option to enable logging in tests. (#13335)diosmosis
* Add [tests] config option to enable logging in tests. * Allow tests:run/tests:run-ui commands to enable logging for individual runs + during tests only log to file. * Remove Fixture field * fix failing test * fixing build * Fix another failure. * Fix an other test.
2018-07-18Introducing a new role "write" and possibility to define capabilities (#13163)Thomas Steur
* started working on some ACL concept * acl implementation * add category * small tweaks * more tweaks * more api methods and fixes * cache capabilities * various enhancements, fixes, tweaks * more tweaks * added more tests and fixed some bugs * fix parameter * make sure to be BC * make sure to be BC * fix some tests * more apis, translations, changelog entry, ... * update db * correct error message * fix capabilities were not detected in tests * directly access provider * fix and add test * JS api to check capabilities, better structure for capabilities in tests * add ability to inject permissions * apply review changes * fix test
2018-05-24Use DI to inject test now value for ApiCounterTest. (#12977)diosmosis
2016-09-22Renamed plugin ExampleRssWidget -> RssWidget (#10528)Matthieu Aubry
* Renamed plugin ExampleRssWidget -> RssWidget * Activate file on upgrade to 3.0.0-b1 * Fix system test
2016-07-26add possibility to create ui tests for users with view access onlyThomas Steur
2015-12-21fixes #4314 Don't let "admin" users see all other users in PiwikThomas Steur
2015-11-01Fix config overriding in ui-test.php DI config.diosmosis
2015-10-29Rename whitelist to blacklist since we're ignoring entries that are in the ↵diosmosis
list, not running code only for those entries.
2015-10-29Instead of hardcoding whitelisting of Overlay methods in UI test URL ↵diosmosis
normalizing, use DI to store whitelist and override in ui-test.php DI config for Overlay.
2015-10-27Remove trusted host change and try to fix w/ ui-test.php config modification.diosmosis
2015-10-27Get last two Overlay tests to pass.diosmosis
2015-10-27Do not replace port URLs for overlay API results so links can be matched in ↵diosmosis
UI tests.
2015-10-27Fix ui-test.php config (missing DI\add).diosmosis
2015-10-27Try to fix CORS issues in travis when port 3000 is used for Piwik.diosmosis
2015-10-27Fix failing Dashboard test by removing RSS widget contents for UI tests.diosmosis
2015-10-27Remove host & port only if test port is defined in config & remove Piwik ↵diosmosis
base path from all output so tests won't change based on machine.
2015-10-27Allow extra environments to be specified through testing environment ↵diosmosis
variables, add a new one for UI tests call ui-test.php, use to remove port from localhost in UI tests, and fix a bug in ContainerFactory (config/config.php should be applied after environment files).
2015-06-06Use custom DefinitionSource to access TestingEnvironmentVariables so those ↵diosmosis
variables can be easily overridden by test classes through provideContainerConfig(BeforeClass).
2015-06-06Use FakeAccess class in DI test.php instead of Piwik_MockAccess. Remove ↵diosmosis
Piwik_MockAccess since it is no longer used.
2015-06-05Move Environment.bootstrapped event observer in test.php DI config file to ↵diosmosis
TestingEnvironmentManipulator.
2015-06-05Rename TestingEnvironment to TestingEnvironmentVariables.diosmosis
2015-06-03Move Access singleton to DI.diosmosis
2015-06-02Merge Platform.initialized test environment event observer w/ the ↵diosmosis
Environment.bootstrapped one.
2015-06-02Merge Request.dispatch test environment event observer w/ the ↵diosmosis
Environment.bootstrapped one.
2015-06-02Remove TestingEnvironment variables logging from test runs, as it has not to ↵diosmosis
my knowledge been useful in debugging mysterious test failures.
2015-06-02Do not use function static variable in event observer defined in test.php DI ↵diosmosis
config.
2015-06-02By default, use real Access instance in test DI config. In UI tests, default ↵diosmosis
to using mock access.
2015-06-02Move TestingEnvironment::arrayMergeRecursiveDistinct() to TestConfig since ↵diosmosis
that's where it is used.
2015-06-02Move DI config overrides in TestingEnvironment to test.php DI config.diosmosis
2015-05-25Moved Config object to the DI container and override w/ TestConfig through ↵diosmosis
DI config. Replaced the singleton GlobalSettingsProvider hack w/ the concept of an EnvironmentManipulator (internal to Piwik, not to be used anywhere but TestingEnvironment.php).
2015-04-20Allow plugins to have environment DI config files. Move all logging DI to ↵diosmosis
Monolog plugin and only use logging in tracker if [Tracker] debug = 1.
2015-04-13Updated PHP-DI versionMatthieu Napoli
2015-02-11Simplified the cache configurationMatthieu Napoli
2015-02-10#7094 Added a new "Development" language that shows the raw translation idMatthieu Napoli
This language is shown when development mode is enabled.
2015-02-02Updated composer and PHP-DI with latest changesMatthieu Napoli
2015-01-05Fix unit tests by loading no translations by default in testsMatthieu Napoli
2015-01-05Refactored the way translations are loadedMatthieu Napoli
Translations are now lazily loaded instead of being explicitely loaded by other components (e.g. the front controller, the plugin manager, etc...). Now other parties only configure "directories" where the translator can find translations. That makes the translator decoupled from the rest of Piwik.
2014-12-10#6622 Logger refactoring: introduced a DI config for the test environmentMatthieu Napoli