screenshots: Add category and page settings menu item tasks

Change-Id: Iacf52612eedc74b050a78f1ddb23e7a443afebe2
This commit is contained in:
Ed Sanders 2016-06-29 15:59:32 +01:00
parent 5ef5d4d24c
commit fcc343eb20

View file

@ -261,6 +261,18 @@ function runTests( lang ) {
seleniumUtils.runMenuTask( arguments[ arguments.length - 1 ], ve.init.target.actionsToolbar.tools.advancedSettings );
}
);
runScreenshotTest( 'VisualEditor_page_settings_item',
// This function is converted to a string and executed in the browser
function () {
seleniumUtils.runMenuTask( arguments[ arguments.length - 1 ], ve.init.target.actionsToolbar.tools.settings, false, true );
}
);
runScreenshotTest( 'VisualEditor_category_item',
// This function is converted to a string and executed in the browser
function () {
seleniumUtils.runMenuTask( arguments[ arguments.length - 1 ], ve.init.target.actionsToolbar.tools.categories, false, true );
}
);
} );
test.it( 'Save dialog', function () {
runScreenshotTest( 'VisualEditor_save_dialog',