| 1 | import TestCase from '../../TestCase'; |
| 2 | import DragBox from './drag-box'; |
| 3 | |
| 4 | const React = window.React; |
| 5 | |
| 6 | class Drag extends React.Component { |
| 7 | render() { |
| 8 | return ( |
| 9 | <TestCase title="Drag" description=""> |
| 10 | <TestCase.Steps> |
| 11 | <li>Drag the circle below with any pointer tool</li> |
| 12 | </TestCase.Steps> |
| 13 | |
| 14 | <TestCase.ExpectedResult> |
| 15 | While dragging, the circle must have turn blue to indicate that a |
| 16 | pointer capture was received. |
| 17 | </TestCase.ExpectedResult> |
| 18 | |
| 19 | <DragBox /> |
| 20 | </TestCase> |
| 21 | ); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | export default Drag; |