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

125
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
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