From 6d043fc76baea5c90296ea3f0f2f6e54049f340f Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 24 Sep 2024 14:30:03 +0100 Subject: [PATCH] fix: trying to fix trending topics --- cypress/e2e/trendingTopics/trendingTopics.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/trendingTopics/trendingTopics.cy.ts b/cypress/e2e/trendingTopics/trendingTopics.cy.ts index 6c1d5c717..e348b2c6a 100644 --- a/cypress/e2e/trendingTopics/trendingTopics.cy.ts +++ b/cypress/e2e/trendingTopics/trendingTopics.cy.ts @@ -37,10 +37,10 @@ describe('test trending topics', () => { cy.wait(20000) - cy.get('[data-testid="explore-graph-btn"]').click() - cy.wait(['@loadAbout', '@loadLatest', '@loadStats']) + cy.get('[data-testid="explore-graph-btn"]').click() + cy.wait('@getTrends').then((interception) => { const responseBody = interception.response.body