Fix perf dashboard tests for node v8
[WebKit.git] / Websites / perf.webkit.org / ChangeLog
1 2018-01-17  Ryosuke Niwa  <rniwa@webkit.org>
2
3         Fix perf dashboard tests for node v8
4         https://bugs.webkit.org/show_bug.cgi?id=181782
5
6         Reviewed by Wenson Hsieh.
7
8         Fixed the various tests for node.js v8, which is the latest LTS version.
9
10         * server-tests/api-manifest-tests.js: Replaced the missing Triggerable.acceptsTest by Triggerable.acceptedTests
11         after r226836.
12         * server-tests/api-measurement-set-tests.js: Added "Z" to the end timestamps to force UTF timezone now that Date
13         in node.js parses using the local timezone by default.
14         * server-tests/resources/test-server.js:
15         (TestServer.prototype._restoreDataDirectory): Fixed the bug that this function was erroneously using the async
16         function to rename a directory per new warnings. This code was racy, and it used to cause a test error occasionally.
17         * server-tests/tools-os-build-fetcher-tests.js: Fixed the assertions to make it work in the latest node.js.
18         * unit-tests/measurement-set-tests.js:
19         (waitForMeasurementSet): Wait for setTimeout to cycle through all microtasks instead of just two microtask cycles.
20
21 2018-01-11  Ryosuke Niwa  <rniwa@webkit.org>
22
23         Cannot trigger Dromaeo tests on internal perf try bots
24         https://bugs.webkit.org/show_bug.cgi?id=179712
25
26         Reviewed by Chris Dumez.
27
28         The bug was caused by CustomAnalysisTaskConfigurator only showing the top-level tests that are triggerable
29         instead of the list of highest level tests that are triggerable.
30
31         * public/v3/components/custom-analysis-task-configurator.js:
32         (CustomAnalysisTaskConfigurator.prototype.selectTests): Update the test group name when a new test is picked.
33         (CustomAnalysisTaskConfigurator.prototype.selectPlatform):
34         (CustomAnalysisTaskConfigurator.prototype._didUpdateSelectedPlatforms): Extracted from selectPlatform.
35         (CustomAnalysisTaskConfigurator.prototype._renderTriggerableTests): Include the list of all highest-level tests
36         which are triggerable.
37         (CustomAnalysisTaskConfigurator.prototype._renderRadioButtonList): Added labelForObject which returns the label
38         to be used in the list items. For tests, we want to use the full name, not just its label.
39         * public/v3/models/analysis-task.js:
40         (AnalysisTask.fetchById):
41         * public/v3/models/triggerable.js:
42         (Triggerable.prototype.acceptedTests): Added.
43         (Triggerable.prototype.acceptsTest): Deleted.
44
45 == Rolled over to ChangeLog-2018-01-01 ==