From bb2372ba8d95ce78236ca74a80fd00ca667e7185 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 1 Oct 2024 14:40:41 +0100 Subject: [PATCH] fix: log response from adding tweet --- cypress/e2e/addContent/addTweet.cy.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/addContent/addTweet.cy.ts b/cypress/e2e/addContent/addTweet.cy.ts index 9cb147cd3..12a3aaef0 100644 --- a/cypress/e2e/addContent/addTweet.cy.ts +++ b/cypress/e2e/addContent/addTweet.cy.ts @@ -24,7 +24,9 @@ describe('Add Tweet Content', () => { url: 'http://localhost:8444/api/add_node*', }).as('addTweet2') - cy.wait('@addTweet2') // This is because add source is currently skipped, + cy.wait('@addTweet2').then((intersection) => { + cy.log(intersection.response) + }) // This is because add source is currently skipped, cy.get('.Toastify__toast-body').should('have.text', 'Content Added')