Skip to content

Commit

Permalink
fix(cypress): revert cypress changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoaibdev7 committed Oct 28, 2024
1 parent 4c6219c commit 0dbc9c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/e2e/trendingTopics/trendingTopics.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ describe('test trending topics', () => {
// wait for boltwall queue to send tweets to jarvis
cy.wait(70000)

cy.get('[data-testid="explore-graph-btn"]').click()

cy.wait('@getTrends').then((interception) => {
const responseBody = interception.response.body

Expand Down
2 changes: 2 additions & 0 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,7 @@ Cypress.Commands.add('initialSetup', (username, budget) => {

cy.wait(['@loadAbout', '@loadLatest', '@loadStats'])

cy.get('[data-testid="explore-graph-btn"]', { timeout: 90000 }).should('be.visible').click()

cy.wait(['@getTrends'])
})

0 comments on commit 0dbc9c7

Please sign in to comment.