diff --git a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/myData.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/myData.spec.js index 6f5b2272130..7b700a13410 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/myData.spec.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/myData.spec.js @@ -135,10 +135,10 @@ describe('MyData page should work', () => { it('My data and following section, CTA should work properly', () => { cy.get('[data-testid="my-data-container"]') .find('[data-testid*="My data"]') - .should('have.length', FOLLOWING_MYDATA_COUNT + 1); + .should('have.length.at.least', FOLLOWING_MYDATA_COUNT); cy.get('[data-testid="following-data-container"]') .find('[data-testid*="Following data"]') - .should('have.length', FOLLOWING_MYDATA_COUNT); + .should('have.length.at.least', FOLLOWING_MYDATA_COUNT); interceptURL( 'GET', '/api/v1/search/query?q=*owner.id:*&from=0&size=10&index=*',