UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

32 lines (30 loc) 1.39 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-ChoiceField-field', fileName: 'choiceGroup', imageSelector: '.' + 'ChoiceGroup', commands: [RunVisualTest_1.defaultScreenshot, RunVisualTest_1.mouseMoveScreenshot, RunVisualTest_1.mouseDownScreenshot, RunVisualTest_1.mouseClickScreenshot] }); componentIds.push({ selector: '.' + 'ms-ChoiceField-field', fileName: 'choiceGroupDisabled', imageSelector: '.' + 'ChoiceGroup', commands: [RunVisualTest_1.defaultScreenshot] }); componentIds.push({ selector: '.' + 'ms-ChoiceField', fileName: 'choiceGroupIcon', imageSelector: '.' + 'ChoiceGroupIcon', commands: [RunVisualTest_1.defaultScreenshot, RunVisualTest_1.mouseMoveScreenshot, RunVisualTest_1.mouseDownScreenshot, RunVisualTest_1.mouseClickScreenshot] }); casper. start(VisualTest_1.baseUrl + 'choiceGroup'). then(function () { RunVisualTest_1.testRunner(componentIds); }); casper.run(function () { casper.test.done(); }); }); //# sourceMappingURL=ChoiceGroup.visualtest.js.map