From 2780c86bff518ac2eeccb62bce92e11c808b2e90 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 29 Jun 2016 20:39:42 +0100 Subject: [PATCH] screenshots: Add task for plain insert menu Change-Id: Id77df7ff88e030b283b1f94ff85537bfd4f20345 --- build/screenshots.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/screenshots.js b/build/screenshots.js index 20ae960db4..1596f4a3b5 100644 --- a/build/screenshots.js +++ b/build/screenshots.js @@ -225,6 +225,12 @@ function runTests( lang ) { seleniumUtils.runMenuTask( arguments[ arguments.length - 1 ], ve.init.target.toolbar.tools.bullet ); } ); + runScreenshotTest( 'VisualEditor_Insert_Menu', + // This function is converted to a string and executed in the browser + function () { + seleniumUtils.runMenuTask( arguments[ arguments.length - 1 ], ve.init.target.toolbar.tools.media, true ); + } + ); runScreenshotTest( 'VisualEditor_Media_Insert_Menu', // This function is converted to a string and executed in the browser function () {