Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

246
Vistas
While testing a react app with webdriverio, the text "Don't Cancel" in the button of the component is captured as "Dont'T Cancel"

For automated testing a react app, we are using webdriverio. In one such test, there is a text in the button which says "Don't Cancel" wherein we test whether the text in the button is same as what is expected. During this test, webdriverio captures the text as "Don'T Cancel" whereas in the UI it is "Dont't Cancel" which leads to failure of that test case. Tried replacing the single quote with HTML entities like &39; and ' but it doesn't solve the issue. Chrome webdriver is used while testing. Why does this happen and what maybe the solution for this case?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda