From 0ceaf67e3296f26febab1add1b606b7a27e47685 Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Mon, 30 Jan 2023 16:34:53 +0530 Subject: [PATCH] fix failing cypress (#9998) --- .../src/main/resources/ui/cypress/e2e/Pages/myData.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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=*',