• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Evaluaciones
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

264
Vistas
stack: NoSuchSessionError: invalid session id in Jenkins shell, but no locally. JS + Mocha

I run parallel tests through jenkins. One test passes after that gives an error: "before each" hook"": NoSuchSessionError: invalid session id. And the rest of the tests are submitted.The first test is all the same and passes and the rest of the pad.

beforeEach(async function () {
    baseurl = 'URLS'
    await HeaderClick.goToUrl(baseurl);

})

afterEach(async function(){
    await HeaderClick.quit();
})

async quit(){
    await driver.close(); 
}

async goToUrl(baseurl){
    await driver.get(baseurl)

}

I use jenkins + chai + mocha + selenium + node js

almost 3 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 Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda