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

104
Vistas
WDIO - Maximum call stack size exceeded in SauceLab but not in Local Runs

I have automated UI tests (WDIO) that tests whether a form saves and displays the correct data.

All my tests pass when I run it locally, but when I try running it in SauceLab I get this error for some, not all of my tests

RangeError: Maximum call stack size exceeded

I have waitUntil checks to make sure the page is loaded before I navigate to the next page. To navigate to the next page, I click on a dropdown and then the page name, which I also checked it exists and is clickable before clicking it.

 await browser.waitUntil(async () =>
      (await title).waitForExist({
        timeout: 30000,
        timeoutMsg: `Couldn't find title`,
      })
    );

// Wait to click button to show dropdown
(await this.pageButton).waitForClickable(); 
await this.pageButton.click();

// In dropdown, find the page name we want to click
 await pageNameElement.waitForClickable(); 
 await pageNameElement.click();

Does anyone how to fix this?

It works in local runs, but not in SauceLabs and I don't notice any codes going in a loop calling each other. I don't think it's a problem with Saucelab setup since some of the tests pass

Any help? Thank you

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