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

111
Visualizações
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 à 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