From 74ac43abe05e88d4fcd0b1c51e3c7daa454931fa Mon Sep 17 00:00:00 2001 From: schiwaa Date: Thu, 28 Mar 2024 18:33:14 +0100 Subject: [PATCH] intercept some requests and wait for the response - still flaky --- frontend-e2e/cypress/e2e/stemwebdialog.cy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend-e2e/cypress/e2e/stemwebdialog.cy.js b/frontend-e2e/cypress/e2e/stemwebdialog.cy.js index c429dae0..f41db094 100644 --- a/frontend-e2e/cypress/e2e/stemwebdialog.cy.js +++ b/frontend-e2e/cypress/e2e/stemwebdialog.cy.js @@ -46,7 +46,7 @@ const len_stemweb_algorithms = stemweb_algorithms.length; beforeEach(() => { // cy.intercept('GET', `**/requests/**`).as('any_req'); - cy.intercept('GET', `**/requests/**/algorithms/**`).as('algorithms_req'); + // cy.intercept('GET', `**/requests/**/algorithms/**`).as('algorithms_req'); cy.intercept('GET', `**/requests/**/stemmata`).as('stemmata_req'); cy.intercept('GET', `**/requests/**/sections`).as('sections_req'); cy.intercept('GET', `**/requests/**/jobstatus/**`).as('jobstatus_req'); @@ -54,11 +54,11 @@ beforeEach(() => { cy.visit(`${Cypress.env('CY_STEMMAWEB_FRONTEND_URL')}/`); - cy.wait('@algorithms_req').then(interception => { + /* cy.wait('@algorithms_req').then(interception => { cy.log('interception.request.url: ' + interception.request.url); cy.log('interception.response.body: ' + interception.response.body); cy.log('interception.response.statusCode: ' + interception.response.statusCode); - }); + }); */ cy.viewport(1600, 900); });