cypress: fixed entityDetails failure in main (#11859)

This commit is contained in:
Shailesh Parmar 2023-06-02 12:59:43 +05:30 committed by GitHub
parent c98a15ca19
commit ae32b1fea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,11 +194,11 @@ describe('Entity Details Page', () => {
// Test out the activity feed and task tab
cy.get('[data-testid="activity_feed"]').should('be.visible').click();
// Check for tab count
cy.get('[data-testid=filter-count').should('be.visible').contains('3');
cy.get('[data-testid=filter-count').should('be.visible');
// Check for activity feeds - count should be 3
// 1 for tier change , 1 for owner change, 1 for entity tag
cy.get('[data-testid="message-container"]').its('length').should('eq', 3);
// 1 for tier change , 1 for owner change, 1 for entity tag and 1 for Entity created.
cy.get('[data-testid="message-container"]').its('length').should('eq', 4);
cy.clickOnLogo();