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
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2019-05-09 01:26:39 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-05-09 01:26:39 +0300
commit76e60590f486f33a38e7ea08bf941fa57ac904c5 (patch)
tree695bafa55fcd74d79322ed3885e90c4a17ff3e01 /plugins/CoreConsole
parent461a48e6d7050f73b1c25db98b6f96cff86bd043 (diff)
Switch UI tests from phantomjs to chrome headless (#14421)
* 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
Diffstat (limited to 'plugins/CoreConsole')
-rw-r--r--plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml20
-rw-r--r--plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml20
-rw-r--r--plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml20
-rw-r--r--plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml19
4 files changed, 40 insertions, 39 deletions
diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml
index c4498efcdb..ca8c863e35 100644
--- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml
+++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml
@@ -5,7 +5,7 @@
<idVisit>9</idVisit>
<visitIp>175.41.192.9</visitIp>
- <fingerprint>834608b5d8c2a204</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -132,7 +132,7 @@
<idVisit>8</idVisit>
<visitIp>175.41.192.9</visitIp>
- <fingerprint>e4693a19cc2c4351</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -259,7 +259,7 @@
<idVisit>7</idVisit>
<visitIp>72.44.32.10</visitIp>
- <fingerprint>0aaaacad93d951db</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -386,7 +386,7 @@
<idVisit>6</idVisit>
<visitIp>72.44.32.10</visitIp>
- <fingerprint>e12d9a8c305a3708</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -513,7 +513,7 @@
<idVisit>5</idVisit>
<visitIp>72.44.32.10</visitIp>
- <fingerprint>bbf07e6c90b48685</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -640,7 +640,7 @@
<idVisit>4</idVisit>
<visitIp>175.41.192.40</visitIp>
- <fingerprint>659f2f521aa74750</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -767,7 +767,7 @@
<idVisit>3</idVisit>
<visitIp>175.41.192.40</visitIp>
- <fingerprint>7aa833c1c3d3ff36</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -894,7 +894,7 @@
<idVisit>2</idVisit>
<visitIp>175.41.192.40</visitIp>
- <fingerprint>44530bd12cf9e583</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1021,7 +1021,7 @@
<idVisit>59</idVisit>
<visitIp>175.41.193.46</visitIp>
- <fingerprint>c4a18d78c000c9eb</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1148,7 +1148,7 @@
<idVisit>61</idVisit>
<visitIp>175.41.191.46</visitIp>
- <fingerprint>12672863d3c913e1</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml
index e8cef11df5..ec9079790a 100644
--- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml
+++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml
@@ -5,7 +5,7 @@
<idVisit>57</idVisit>
<visitIp>175.41.192.40</visitIp>
- <fingerprint>c2bf957df173d3df</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -377,7 +377,7 @@
<idVisit>62</idVisit>
<visitIp>175.41.191.47</visitIp>
- <fingerprint>2b04b8f21bd15e6f</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -504,7 +504,7 @@
<idVisit>27</idVisit>
<visitIp>0.0.0.0</visitIp>
- <fingerprint>d5e0b403271e4142</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -656,7 +656,7 @@
<idVisit>28</idVisit>
<visitIp>0.0.0.0</visitIp>
- <fingerprint>17930087fbd12d04</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -816,7 +816,7 @@
<idVisit>25</idVisit>
<visitIp>175.41.192.41</visitIp>
- <fingerprint>f8bf68e2e1f37702</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -947,7 +947,7 @@
<idVisit>26</idVisit>
<visitIp>::ffff:123.45.67.89</visitIp>
- <fingerprint>652da4125b007f6a</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1078,7 +1078,7 @@
<idVisit>24</idVisit>
<visitIp>175.41.192.43</visitIp>
- <fingerprint>4838cd5354aa5a0d</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1234,7 +1234,7 @@
<idVisit>23</idVisit>
<visitIp>175.41.192.42</visitIp>
- <fingerprint>99e510b5ed1c72ea</fingerprint>
+
<actionDetails>
<row>
<type>download</type>
@@ -1401,7 +1401,7 @@
<idVisit>22</idVisit>
<visitIp>72.44.32.11</visitIp>
- <fingerprint>04c32bb5831ccf11</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1532,7 +1532,7 @@
<idVisit>21</idVisit>
<visitIp>72.44.32.11</visitIp>
- <fingerprint>b2e175eab44c7e62</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml
index 035aba367c..ca8c863e35 100644
--- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml
+++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml
@@ -5,7 +5,7 @@
<idVisit>9</idVisit>
<visitIp>175.41.192.9</visitIp>
- <fingerprint>bbe2b69b9d6206c8</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -132,7 +132,7 @@
<idVisit>8</idVisit>
<visitIp>175.41.192.9</visitIp>
- <fingerprint>94bbcc6321ee7261</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -259,7 +259,7 @@
<idVisit>7</idVisit>
<visitIp>72.44.32.10</visitIp>
- <fingerprint>0aaaacad93d951db</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -386,7 +386,7 @@
<idVisit>6</idVisit>
<visitIp>72.44.32.10</visitIp>
- <fingerprint>e12d9a8c305a3708</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -513,7 +513,7 @@
<idVisit>5</idVisit>
<visitIp>72.44.32.10</visitIp>
- <fingerprint>bbf07e6c90b48685</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -640,7 +640,7 @@
<idVisit>4</idVisit>
<visitIp>175.41.192.40</visitIp>
- <fingerprint>659f2f521aa74750</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -767,7 +767,7 @@
<idVisit>3</idVisit>
<visitIp>175.41.192.40</visitIp>
- <fingerprint>7aa833c1c3d3ff36</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -894,7 +894,7 @@
<idVisit>2</idVisit>
<visitIp>175.41.192.40</visitIp>
- <fingerprint>44530bd12cf9e583</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1021,7 +1021,7 @@
<idVisit>59</idVisit>
<visitIp>175.41.193.46</visitIp>
- <fingerprint>c4a18d78c000c9eb</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1148,7 +1148,7 @@
<idVisit>61</idVisit>
<visitIp>175.41.191.46</visitIp>
- <fingerprint>12672863d3c913e1</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml
index d6ed10a572..ec9079790a 100644
--- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml
+++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml
@@ -5,7 +5,7 @@
<idVisit>57</idVisit>
<visitIp>175.41.192.40</visitIp>
- <fingerprint>c2bf957df173d3df</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -377,7 +377,7 @@
<idVisit>62</idVisit>
<visitIp>175.41.191.47</visitIp>
- <fingerprint>2b04b8f21bd15e6f</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -504,7 +504,7 @@
<idVisit>27</idVisit>
<visitIp>0.0.0.0</visitIp>
- <fingerprint>d5e0b403271e4142</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -656,6 +656,7 @@
<idVisit>28</idVisit>
<visitIp>0.0.0.0</visitIp>
+
<actionDetails>
<row>
<type>action</type>
@@ -815,7 +816,7 @@
<idVisit>25</idVisit>
<visitIp>175.41.192.41</visitIp>
- <fingerprint>f8bf68e2e1f37702</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -946,7 +947,7 @@
<idVisit>26</idVisit>
<visitIp>::ffff:123.45.67.89</visitIp>
- <fingerprint>652da4125b007f6a</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1077,7 +1078,7 @@
<idVisit>24</idVisit>
<visitIp>175.41.192.43</visitIp>
- <fingerprint>4838cd5354aa5a0d</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1233,7 +1234,7 @@
<idVisit>23</idVisit>
<visitIp>175.41.192.42</visitIp>
- <fingerprint>99e510b5ed1c72ea</fingerprint>
+
<actionDetails>
<row>
<type>download</type>
@@ -1400,7 +1401,7 @@
<idVisit>22</idVisit>
<visitIp>72.44.32.11</visitIp>
- <fingerprint>04c32bb5831ccf11</fingerprint>
+
<actionDetails>
<row>
<type>action</type>
@@ -1531,7 +1532,7 @@
<idVisit>21</idVisit>
<visitIp>72.44.32.11</visitIp>
- <fingerprint>b2e175eab44c7e62</fingerprint>
+
<actionDetails>
<row>
<type>action</type>