build: Increase fresnel runs to 5, and add more scenarios
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 19 Feb 2019 16:28:41 +0000 (16:28 +0000)
committerKrinkle <krinklemail@gmail.com>
Fri, 22 Feb 2019 02:39:59 +0000 (02:39 +0000)
Also remove unrecognised 'alerts' property from Fresnel config.
That isn't a feature (yet) :)

Change-Id: I45820de67a20c4f0e614b9e845a186f157cab3f4

.fresnel.yml

index f081fb5..5b7e0f2 100644 (file)
@@ -1,8 +1,36 @@
 warmup: true
-runs: 3
+runs: 5
 scenarios:
-  # View the Main Page without redirect
-  - url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?mainpage"
+  # Load a page view
+  # 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 defaul (which is the main page),
+  # and a query string to prevent the normalization redirect.
+  - url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?noredirectplz"
+    viewport:
+      width: 1100
+      height: 700
+    reports:
+      - navtiming
+      - paint
+      - transfer
+    probes:
+      - screenshot
+      - trace
+  # Load an 'edit' form
+  - url: "{MW_SERVER}{MW_SCRIPT_PATH}/index.php?action=edit"
+    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:
       width: 1100
       height: 700
@@ -13,5 +41,3 @@ scenarios:
     probes:
       - screenshot
       - trace
-    # alerts:
-    #   navtiming/loadEventEnd: 10%