Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

369
Visualizações
Why does Cypress click only works once on slider? (Vue)

I have a Vue application with three sliders and I am using Cypress to do E2E testing. What is strange, however, is that the .click() only works once on a slider.

The code works independently. So if I type

cy.get("#priceSlider").click(300, 0);

it works. When I instead type

cy.get("#priceSlider").click(50, 0);

it works as well. However, when I type both

cy.get("#priceSlider").click(300, 0);
cy.get("#priceSlider").click(50, 0);

the latter doesn't work, no matter what value.

Here is the first click before and after:

enter image description here enter image description here

And then the before and after of the second click:

enter image description hereenter image description here

As you can see, nothing happens. Why is that? and how can I click on my slider multiple times?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda