mediawiki.router: use this
[mediawiki.git] / .fresnel.yml
blobff7f2e18f86d7a761602971aeb709133016427e4
1 # This file declares MediaWiki scenarios for Fresnel, a web page performance
2 # monitoring tool. See <https://wikitech.wikimedia.org/wiki/Performance/Fresnel>.
4 warmup: true
5 runs: 7
6 scenarios:
7   Read a page:
8     # The only page that exists by default is the main page.
9     # But its actual name is configurable/unknown (T216791).
10     # Omit 'title' to let MediaWiki show the default (which is the main page),
11     # and a query string to prevent a normalization redirect.
12     url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?noredirectplz"
13     viewport:
14       width: 1100
15       height: 700
16     reports:
17       - navtiming
18       - paint
19       - transfer
20     probes:
21       - screenshot
22       - trace
23   Load the editor:
24     url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?action=edit"
25     viewport:
26       width: 1100
27       height: 700
28     reports:
29       - navtiming
30       - paint
31       - transfer
32     probes:
33       - screenshot
34       - trace
35   View history of a page:
36     url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?action=history"
37     viewport:
38       width: 1100
39       height: 700
40     reports:
41       - navtiming
42       - paint
43       - transfer
44     probes:
45       - screenshot
46       - trace
47   View recent changes:
48     url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?title=Special:RecentChanges"
49     viewport:
50       width: 1100
51       height: 700
52     reports:
53       - navtiming
54       - paint
55       - transfer
56     probes:
57       - screenshot
58       - trace