Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waiting for aliases array hangs when running on Circle CI #29618

Open
benoneill-tenzo opened this issue Jun 5, 2024 · 1 comment
Open

Waiting for aliases array hangs when running on Circle CI #29618

benoneill-tenzo opened this issue Jun 5, 2024 · 1 comment
Labels
stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period

Comments

@benoneill-tenzo
Copy link

benoneill-tenzo commented Jun 5, 2024

Current behavior

Running locally will work fine, however when we run our full stack e2e tests in our circle ci pipeline, whenever you use cy.wait([@Request1, @request2]) it will hang indefinitely.

Desired behavior

Tests should wait for all the requests then continue

Test code to reproduce

  beforeEach(() => {
    cy.login();

    cy.intercept('GET', /api\/users\/.*/).as('user');
    cy.intercept('POST', /api\/item\/.*/).as('items');
    
  });
  
  it('Navigate to home', () => {
    cy.visit('/home');
    // ....
    cy.wait(['@user', '@items']); // hangs here
    // ....
  });

Cypress Version

13.1.0

Node version

16.20.0

Operating System

Circle CI - ubuntu-2204:2023.04.2

Debug Logs

No response

Other

No response

@jennifer-shehane jennifer-shehane added the stage: needs investigating Someone from Cypress needs to look at this label Jun 24, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period
Projects
None yet
Development

No branches or pull requests

3 participants