UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

32 lines (30 loc) 1.32 kB
define(["require", "exports", "../../common/VisualTest", "../../visualtest/RunVisualTest"], function (require, exports, VisualTest_1, RunVisualTest_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var componentIds = []; componentIds.push({ selector: '.' + 'ms-CommandBarItem-link', imageSelector: '.' + 'CommandBar', fileName: 'commandBar', commands: [RunVisualTest_1.defaultScreenshot, RunVisualTest_1.mouseMoveScreenshot, RunVisualTest_1.mouseDownScreenshot, RunVisualTest_1.mouseClickScreenshot] }); componentIds.push({ selector: '.' + 'ms-CommandBarItem-link', imageSelector: '.' + 'CommandBar', fileName: 'commandBarItem', commands: [RunVisualTest_1.mouseSingleClickScreenshot], childParams: { selector: '.' + 'ms-ContextualMenu-list', imageSelector: '.' + 'ms-ContextualMenu-Callout', fileName: 'commandBarItem', commands: [RunVisualTest_1.defaultScreenshot], } }); casper. start(VisualTest_1.baseUrl + 'commandBar'). then(function () { RunVisualTest_1.testRunner(componentIds); }); casper.run(function () { casper.test.done(); }); }); //# sourceMappingURL=CommandBar.visualtest.js.map