Skip to content

Commit

Permalink
test: fixing flakiness of scripts/build-newsroom-videos.cy.js (#2300)
Browse files Browse the repository at this point in the history
Co-authored-by: Akshat Nema <[email protected]>
  • Loading branch information
AtharvChandratre and akshatnema authored Nov 14, 2023
1 parent 5ee750c commit 7261c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/test/scripts/build-newsroom-videos.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('Newsroom Videos', () => {
}).as('getYoutubeVideos');

// Manually trigger the function
await buildNewsroomVideos().then((videoData) => {
cy.invoke(buildNewsroomVideos()).then((videoData) => {
expect(videoData).to.exist;
});
});
Expand Down

0 comments on commit 7261c71

Please sign in to comment.