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
path: root/tests
AgeCommit message (Collapse)Author
2019-07-05Update the link tag for all php files (#14635)Luca
I updated the link tag for all php files with the new matomo link. Not sure if it is realistic that this will get merged but I though that someday someone has to do this(?)
2019-07-05Update GitHub links in tests/README.md (#14631)Luca
Note: Two of the links link to a 404. However I didn't remove them, because I didn't know what way you like to handle such a case. 1. https://github.com/matomo-org/matomo/blob/master/tests/PHPUnit/config.ini.travis.php#L23-27 (Line 156) 2. https://github.com/matomo-org/matomo/blob/master/tests/README.xhprof.md (Line 179) I still think that adjusting these links is right however because /piwik/ will be a 404 sometime anyway.
2019-07-05Update GitHub links in tests/index.html (#14632)Luca
I adjusted the GitHub Links for 'Setup PHPUnit tests' and 'see the README'
2019-07-05Update GitHub links in tests/angularjs/README.md (#14634)Luca
I I adjusted the GitHub link for the link to install-ubuntu.sh The file was moved to the folder /scripts/
2019-07-05avoid using group by and select min for tracker actions query to avoid tmp ↵Thomas Steur
tables refs #14535 (#14584)
2019-06-27JS Tracker: Prevent Error 400 issue on IE11 when custom dimension values ↵Matthieu Aubry
include non ascii characters (#14566) * Prevent Error 400 issue on IE11 when custom dimension values include non ascii characters Issue found & Patch suggested by Customer * typo * fix test * fix test * fix JS test
2019-06-26Fix error number is detected wrongly in tracker mode (#14571)Thomas Steur
* Fix error number is detected wrongly Eg when the error is `Error query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry`, it would detect 2300 instead of 1062. fix DEV-1683 * Update Mysqli.php same behaviour as for regular DB * reuse same code
2019-06-26Use ranking query on userid reports. (#14551)diosmosis
* Use ranking query on userid reports. * Fix test ordering on travis. * Use existing userid row limit config option and deal w/ ranking query summary row which is not treated as datatable summary row. * update system test * another test update * Add order by to get test to pass.
2019-06-24updates all submodules (#14568)Stefan Giehl
* updates all submodules * update expected screenshots
2019-06-22Updates device-detector to latest 3.11.8 (#14557)Stefan Giehl
* Updates device-detector to latest 3.11.8 * updates expected test file
2019-06-20Fixing tests. (#14542)diosmosis
* Fixing tests. * fix some more expected screenshots * fix test * fix another test * try to fix random ui test failure * update submodule
2019-06-19Add widget to help users getting started and complete important steps with ↵Thomas Steur
Matomo (#12468) * added Tour plugin * enable tour plugin by default * better logic to handle steps * refactor plugin, add more steps * lots more code improvements, ui improvements, translations, challenges * lots of more improvements * adding more challenges * improve detection * more tweaks and tests * a few more tweaks * update some wordings * switch two levels talent and professional * apply review feedback * Update ChallengeCustomLogo.php * Expected files for system tests
2019-06-18 Ask users to leave a review for Matomo (#14432)Kate Butler
* Ask users to leave a review for Matomo - WIP commit * Unit tests for feedback reminder popup * Tidying up * Add content to popup, also display on help page and after thumbs-up rating * Make UI tests; move logic out of API into Controller; tidying up * FIX UI tests * Use SVG icons * Fix test * New expected screenshot for test; tear down feedback reminder option so that other tests won't display it * New fixture for FeedbackPopup tests * Move feedback form UI spec out of UIIntegration, update screenshot * Check auth on updateFeedbackReminderDate() route * PR changes * Fix bug from typecasting
2019-06-17Detect expired session use (#14502)diosmosis
* Add INI config option and add tests. * Detect expired sessions. * Update config docs. * Apply review feedback including storing expiration in session fingerprint. * fixing tests. * fix unit tests * fix test
2019-06-11Show flattened columns as extra columns in UI (#12524)Stefan Giehl
* Show each dimension as seperate column in html tables for flattened reports * set default columns * rename first dimension column for flattened reports to label * modify rows right before rendering to prevent plugins to overwrite the displayed columns again * Use datatable config to allow splitting dimensions into separate columns * Hide datatable option if report has only one dimension * ensure to add only needed metric dimensions * adds ui test * reorder datatable options * Add additional columns before generic filters are applied to make sorting of those columns possible * Improve table layout with multipe label columns * show logo only in first column * Add new metadata so the original combine label is still available for row actions * improve check for multiple lables * show row action always in last label column * updates UI file * fix Others handling for flattened reports * ensure label translation is set correctly * show concatenated dimension names as flatten report label * search combined labels in flattened tables showing dimensions separately * more ui tests * fix handling of summary row for concatenated dimensions * updates expected test files * fix insights layout * fix realtime visits table layout * fix ui tests * ensure dimensions have correct display order
2019-05-29Update submodules (#14501)diosmosis
* Update CustomDimensions submodule. * update screenshot
2019-05-28updates all submodules (#14489)Stefan Giehl
* updates all submodules * updates expected test files
2019-05-28Update video content on Welcome widget (#14454)Kate Butler
* Remove Piwik promo video on Welcome widget and replace with link to Matomo videos * Fix image overlapping text on smaller screen widths * Updated screenshots for dashboard welcome widget * Update test screenshots * Revert file permissions
2019-05-27Updates DeviceDetector to 3.11.7 (#14480)Stefan Giehl
* Updates DeviceDetector to 3.11.7 * update expected test file
2019-05-25Changed period in row evolution breaks graph/metric association (#14423)Thomas Steur
* Changed period in row evolution breaks graph/metric association fix #14208 worked for me, also with multi row evolution. Only known issue I found is if requesting eg first yearly row evolution which may have the `users` metric hidden, then switching to `day` period, and then the `users` metric is maybe supposed to become available but didn't. That should be quite edge case though. * add class whether row is hidden * Fixing couple regressions visible in ui tests. * fix build + update comment * tweak * test tweak
2019-05-18updates travis submoduleStefan Giehl
2019-05-17Fix realtime map ui test (#14453)3.10.0-b2diosmosis
* Make sure tooltip shows up in map. * debug travis * another test * another test * another test * another test * another test * updating screenshot * Update screenshot.
2019-05-16One Click Install UI test (#14049)diosmosis
* Add initial fixture and install script for one click install UI test. * Move matomo-package to outside matomo dir. * Create package before getting latest stable install. * More changes to fixture. * Get test releasechannel to work in latest stable version. * Handle build archives w/ matomo folders in one click update. * Fill out one click update UI test and get to pass. * Remove useless use statement. * Try cloning from HTTPS. * Add new screenshots. * Apply pr feedback and remove CoreUpdaterCode UI test. * undo submodule change * re-add line * re-add CoreUpdaterDb png files, need to keep those. * Add cron archiving test to one click update test. * use master branch of matomo-package * Make sure node_modules is accessible in screenshot testing specs. * Fix matomo-package command. * test fixes * Use correct method. * ui test fixes * Couple more test fixes. * some more test fixes * hopefully last ui test fixes * Last fix. * real last fix * Couple more random failure fixes. * Prevent from running outside of cli mode. * More aggresive check.
2019-05-16Ignore variables that start w/ @ when auto-detecting tables in segment sql ↵diosmosis
expressions. (#14425) * Ignore variables that start w/ @ when auto-detecting tables in segment sql expressions. * Add test & fix * Make sure column detection excludes decimal numbers.
2019-05-16Require password confirmation before setting/removing superuser access. (#13975)diosmosis
* Require password confirmation for changing superuser access and fix issue where getSiteAccess is called w/ superuser when toggling superuser access. * apply review feedback * Allow bypassing password confirmation in certain scenarios. * Fixing tests & adding UI test. * Update submodule. * test fixes + remove return; from 2fa tests. * update submodule * Fixing tests * Couple tweaks for screenshot testing. * test fixes * Fix TwoFactorAuthUsersManager test. * More test fixes. * try to disable all transitions * More UI test fixes + disable materialize animations globally in UI tests. * 2fa ui tests now working
2019-05-15Use NumberFormatter to format metric values (#14017)Stefan Giehl
* Use NumberFormatter to format metric values * fixing tests * update test files * load translations for tests as otherwise number formatter fails * updates expected UI files * ensure correct number of minimum fraction digits * update tests
2019-05-15Indent actions belonging to a pageview (#14063)diosmosis
* Proof of concept for grouping actions by the page they occur in. * Add pageview to goals/ecommerce actionDetails in Live.getLastVisitsDetails. * Make count of actions to display when collapsed configurable. * Quick selector fix. * unfinished commit * Collapse multiple adjacent content items in the visitor log. * Get content collapsing to work w/ 3.x-dev changes. * Forgot to add Live config file. * Get to work w/ visitor profile and make sure last action does not have border so it looks like it correctly ends. * Fix some issues from review. * More styling tweaks. * another styling tweak * Update screenshots. * Show page refreshes and allow expanding them in new implementation. * Update some screenshots. * Make sure tooltip is replaced correctly when showing refreshes. * Another styling tweak. * Add UI test + fix page refresh issue. * Fix action group merging logic. * Fix another actions grouping issue. * Fixes for ending left border in certain edge cases. * Another UI tweak. * comparison threshold, random failure fix, update screenshots + another css tweak * more css tweaks * possible bug fix * Last couple CSS fixes. * More test fixes.
2019-05-14Allow period used to generate scheduled report to be different from email ↵diosmosis
schedule. (#13832) * Allow period used to generate scheduled report to be different from email schedule. * Apply review feedback. * Add quick test. * Update UI tests, fix for random failure. * Update expected screenshot.
2019-05-10Overwrite direct entry referrer information if campaign referrer is found in ↵diosmosis
later request. (#14273) * Overwrite direct entry referrer information if campaign referrer is found in later request. * Update for non-campaign referrers as well. * test comment tweaks * Add current tracking URL into site urls in case website has no main url. * Fix a couple issues and start adding tests. * More tests and a fix. * Apply review feedback. * Fix couple tests. * Fix referrer tests. * try to fix random failure * Add note to README.
2019-05-09Ensure segment definitions doen't regress (#14372)Stefan Giehl
2019-05-09random failure UI test fix + update packages to get rid of github warning ↵diosmosis
(#14431) * update packages * try to fix random failure
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
2019-05-03Task to purge archives for deleted websites and segments (#14317)Kate Butler
* Purge archives for deleted sites and segments * Purge archives for deleted sites and segments * Add new purgeOrphanedArchives task to expected list * Fix build * PR improvements * Fix consistency of method names * Fix typo * Unit tests for getSegmentHashesByIdSite * PR changes * add note on how to test the command * minor tweak to make sure no injections are possible
2019-04-24Permit segmenting by order ID (#14316)Kate Butler
* Ability to segment by ecommerce order ID * Auto-complete for ecommerce orderId dimension * New data fixture for testing auto-suggest of order IDs * Fix API test expected files to match new fixture * Add new expected file for order ID segment API test * Revert Order metric name back to previous value * Fix unit test
2019-04-24Group referrer URLs with different protocols together (#14358)Kate Butler
* Group HTTP and HTTPS referrer URLs together in referrer websites report * Unit tests for grouping referrer URLs with different protocols * Fix dependency between unit tests in BlobReportLimitingTest * Ensure label is set before running ColumnCallbackAddMetadata * Fix test data which is now grouped together * Change expected test output to reflect new grouping * Fix unit tests * Fix test cases
2019-04-16Fix archive invalidation timezone issue in tracker (#14318)Kate Butler
* Fix timezone bug in PHP tracker archive invalidation * Reset timezone after each unit test * Fix timezone issue in unit test * More elegant method for getting midnight in UTC+5
2019-04-11Display all product categories if present in the visitor log (#14083)diosmosis
* Query and show all product categories not just the first in the visitor log. * Fix SQL + processing * Allow XML renderer to render array of simple values. * Add unit test for xml renderer. * Add second product category to fixture, update test files and update omnifixture. * Update some expected test files.
2019-04-10Readable segment values for browser, os and country segments (#13929)Stefan Giehl
* Use readable segment value for browser and os segments instead of short codes * readds original segments using short codes * Adds additional segment country name to segment by (english) country name * compare browser and os names case sensitive for segments * use correct segments for reports * update tests
2019-04-08Reset tracked impressions for searches and only send tracking request when ↵Thomas Steur
interaction was defined (#14002) * Reset tracked impressions for searches and only send tracking request when interaction was defined * add test to ensure site search clears content impressions
2019-04-07Fix build (#14320)diosmosis
* update submodules * update expected screenshots
2019-04-05 Add new config datatable_archiving_maximum_rows_site_search (#14112)Kate Butler
* Add new config datatable_archiving_maximum_rows_site_search to control number of rows archived for site search * Fix hardcoding * Use new datatable_archiving_maximum_rows_site_search query limit for archiveDayActions() only * Split site search archiving out into a separate query * Fix page actions archiving query * Fix broken unit tests * Fix broken unit tests * Refactoring * Unit test for new datatable_archiving_maximum_rows_site_search config setting * Comments
2019-04-03Fix build (#14310)Kate Butler
* Fix build
2019-04-03spellcheck en.json files (#14135)Lukas Winkler
* spellcheck en.json files * fix WidgetsListTest * additional fixes * simplify sentence * Fixing tests.
2019-04-03Strip HTML tags in API error messages (#14213)Stefan Giehl
* Strip HTML tags in API error messages * check if root request is api request * fix some tests
2019-04-02New dimension for segmenting visitors by fingerprint (#14184)Kate Butler
* Add new dimension for segmenting by visitor fingerprint; expose fingerprint in getLastVisitsDetails API response * Add new dimension for segmenting by visitor fingerprint * Add new fingerprint field to API system test reference files * System test fixes for visitor fingerprint * System test fixes for visitor fingerprint * System test changes for new fingerprint dimension * Auto-suggest for new fingerprint segment * Fix unit test * Revert whitespace changes * Fix metricId for new visitor fingerprint dimension
2019-04-01Updates composer dependencies (#14260)Stefan Giehl
* Updates composer dependencies * update test
2019-04-01Fixing build (#14296)diosmosis
* fix condition * NullHandler must be end of writer array to allow other handlers to handle the message (since it seems to stop bubbling). * Do not do php eol check during tests. * Just in case. * try to fix the build * Add screenshot.
2019-03-31Use tabular-nums in tables (#14193)Christian Schmidt
* Use tabular-nums in tables * Update tests
2019-03-19Fixing build (#14222)diosmosis
* Fix test failure. * Update expected test file.s * Fix action iconSVG regression. * Update submodule. * Update screenshots. * Update more UI test files.
2019-03-15Allow customization of GeoIP2 database location using DI (#13913)Stefan Giehl