Esanders has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/391043 )
Change subject: Add screenshot tasks for manual and re-use tabs in Citoid ...................................................................... Add screenshot tasks for manual and re-use tabs in Citoid Bug: T180363 Change-Id: Icf9a370e7b80611b1f5e897e31e0004b656dabac --- M build/screenshots.userGuide.js 1 file changed, 32 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/43/391043/1 diff --git a/build/screenshots.userGuide.js b/build/screenshots.userGuide.js index 6782dd3..d57fa17 100644 --- a/build/screenshots.userGuide.js +++ b/build/screenshots.userGuide.js @@ -59,6 +59,38 @@ }, 500 ); } ); + runScreenshotTest( 'VisualEditor_Citoid_Inspector_Manual', lang, + // This function is converted to a string and executed in the browser + function () { + var done = arguments[ arguments.length - 1 ], + surface = ve.init.target.surface; + ve.init.target.surface.context.inspectors.currentWindow.setModePanel( 'manual' ); + setTimeout( function () { + done( + seleniumUtils.getBoundingRect( [ + surface.$element.find( '.ve-ce-mwReferenceNode' )[ 0 ], + surface.context.inspectors.currentWindow.$element[ 0 ] + ] ) + ); + } ); + } + ); + runScreenshotTest( 'VisualEditor_Citoid_Inspector_Reuse', lang, + // This function is converted to a string and executed in the browser + function () { + var done = arguments[ arguments.length - 1 ], + surface = ve.init.target.surface; + ve.init.target.surface.context.inspectors.currentWindow.setModePanel( 'reuse' ); + setTimeout( function () { + done( + seleniumUtils.getBoundingRect( [ + surface.$element.find( '.ve-ce-mwReferenceNode' )[ 0 ], + surface.context.inspectors.currentWindow.$element[ 0 ] + ] ) + ); + } ); + } + ); } ); test.it( 'Tool groups (headings/text style/indentation/insert/page settings)', function () { runScreenshotTest( 'VisualEditor_Toolbar_Headings', lang, -- To view, visit https://gerrit.wikimedia.org/r/391043 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icf9a370e7b80611b1f5e897e31e0004b656dabac Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Esanders <esand...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits