Aleix Suau
Aleix Suau
I just want to support this request and add some more context: ``` cy.intercept('**/modules/*').as('courseModuleData'); cy.intercept('**/lessons/*').as('courseLessonData'); // Trigger 1 - Triggers @courseLessonData' and '@courseModuleData' requests // I'm not interested in these...
I found [https://github.com/bahmutov/cypress-wait-if-happens](https://github.com/bahmutov/cypress-wait-if-happens ) really helpful to achieve the desired functionality, among others (conditional requests). ``` cy.waitIfHappens({ alias: '@users', timeout: 100, lastCall: true, yieldResponseBody: true, }) .should('have.length', 4) ```
> This is my solution: > > ```js > cy.get('@AssetClass') > .trigger("mousedown", { button: 0 }); // cy.get('@dropZone') > .trigger("mousemove") // optional > .click({force: true}); // The dropzone seems to...