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

124
Vistas
End-to-end test on application with Cypress

So, I have this application that I am writing tests for with Cypress. The whole thing is a single-page-application where everything on the application is on the same page.

There are 2 actors to the application, the host and the participant. Whenever the host creates a meeting for the participant to join, an ID is generated from the host side for the participant to join. The meeting has to be active (aka not closed or navigated away from) in order for the participant to join.

Currently, I am trying to join the meeting from the participant side. Can you basically create a new tab and run the test through it with Cypress?

I have tried to run 2 separate test suites, but are then not able to retrieve the ID from test suite 2. I am currently using the following code for retrieving the meeting ID for the host siden:

let meetingId

    cy.get('u[id=meeting-id]').should(($u) => {
        meetingIdInHeader = Cypress.$($u).text();
            console.log(meetingId)

            return meetingId
    })

I am able to get the meetingId from the host side, but unable to do so for the participant side. Any suggestions for how to solve this?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Currently, I am trying to join the meeting from the participant side. Can you basically create a new tab and run the test through it with Cypress?

No. It's mentioned in the docs here.

I am able to get the meetingID from the host side, but unable to do so for the participant side. Any suggestions for how to solve this?

It seems like you need some persistent storage.

Based on the info you wrote, it seems you might want to consider a different tool that suits your needs in this situation.

about 4 years ago · Juan Pablo Isaza Denunciar
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