title: How to test Ant Design slider with Cypress?
body: <p>I have a slider from Ant Design (3.23.6) which generates html:</p>
  
  <pre><code>  &lt;div className="ant-slider-rail"&gt;&lt;/div&gt;
    &lt;div className="ant-slider-track ant-slider-track-1" style="left: 45%; right: auto; width: 55%;"&gt;&lt;/div&gt;
    &lt;div className="ant-slider-step"&gt;
      &lt;span className="ant-slider-dot" style="left: 0%;"&gt;&lt;/span&gt;
      &lt;span className="ant-slider-dot ant-slider-dot-active" style="left: 50%;"&gt;&lt;/span&gt;
      &lt;span className="ant-slider-dot ant-slider-dot-active" style="left: 100%;"&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div tabIndex="0" className="ant-slider-handle ant-slider-handle-1" role="slider" aria-valuemin="0"
         aria-valuemax="200000" aria-valuenow="90000" aria-disabled="false"
         style="left: 45%; right: auto; transform: translateX(-50%);"&gt;&lt;/div&gt;
    &lt;div tabIndex="0" className="ant-slider-handle ant-slider-handle-2" role="slider" aria-valuemin="0"
         aria-valuemax="200000" aria-valuenow="200000" aria-disabled="false"
         style="left: 100%; right: auto; transform: translateX(-50%);"&gt;&lt;/div&gt;
    &lt;div className="ant-slider-mark"&gt;
      &lt;span className="ant-slider-mark-text" style="transform: translateX(-50%); left: 0%;"&gt;0&lt;/span&gt;
      &lt;span className="ant-slider-mark-text ant-slider-mark-text-active" style="transform: translateX(-50%); left: 50%;"&gt;
        100k
      &lt;/span&gt;
      &lt;span 
        className="ant-slider-mark-text ant-slider-mark-text-active"
        style="transform: translateX(-50%); left: 100%;"
      &gt;
        200k
      &lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>I am trying to move left handle to the right using Cypress 4.5.0:</p>
  
  <pre><code>cy.get('[data-cy=salarySlider]').find('.ant-slider-handle-1')
      .trigger('mousedown', { which: 1 })
      .trigger('mousemove', 40, 0)
      .trigger('mouseup')
  </code></pre>
  
  <p>handle seems to be selected but there is no movement. No errors too.</p>
  
  <p>Any idea?</p>