build: Add "View history" scenario for Fresnel
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 8 Apr 2019 17:35:06 +0000 (18:35 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 8 Apr 2019 17:35:06 +0000 (18:35 +0100)
Change-Id: I84a9f1f73b948b57215dfc85ca3242ff1346e8a8

.fresnel.yml

index 2f71e4b..e85de79 100644 (file)
@@ -1,7 +1,7 @@
 warmup: true
 runs: 5
 scenarios:
-  Load a page:
+  Read a page:
     # The only page that exists by default is the main page.
     # But its actual name is configurable/unknown (T216791).
     # Omit 'title' to let MediaWiki show the default (which is the main page),
@@ -29,6 +29,18 @@ scenarios:
     probes:
       - screenshot
       - trace
+  View history of a page:
+    url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?action=history"
+    viewport:
+      width: 1100
+      height: 700
+    reports:
+      - navtiming
+      - paint
+      - transfer
+    probes:
+      - screenshot
+      - trace
   View recent changes:
     url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?title=Special:RecentChanges"
     viewport: