Skip to content

Commit

Permalink
fix: Adds an exists condition to cypress test to ensure app is ready
Browse files Browse the repository at this point in the history
Refs: #9893
  • Loading branch information
hmatthieu committed Jun 10, 2024
1 parent 7f25557 commit d8e38cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/mobile.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ describe('Mobile UI', () => {
});

describe('Infinite Scroll', () => {
it.only('should load more items when scrolling to the bottom of the page', () => {
it('should load more items when scrolling to the bottom of the page', () => {
ListPagePosts.navigate();
cy.contains('Fusce massa lorem').should('exist');
cy.contains('Sed quo et et fugiat modi').should('not.exist');
cy.scrollTo('bottom');
cy.wait(500);
cy.scrollTo('bottom');
cy.contains('Sed quo et et fugiat modi');
Expand Down

0 comments on commit d8e38cb

Please sign in to comment.