Skip to content

Commit 492023c

Browse files
committed
removed unnecessary class on name/span validation
1 parent bcbbaab commit 492023c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/e2e/community-list.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ describe('Community List Page', () => {
4949
// A first <cdk-tree-node> must be found and validate that <a> tag (community name) and <span> tag (item count) exists in it
5050
cy.get('ds-community-list').find('cdk-tree-node.expandable-node').then(($nodes) => {
5151
cy.wrap($nodes).each(($node) => {
52-
cy.wrap($node).find('a.lead').should('exist');
53-
cy.wrap($node).find('span.badge').should('exist');
52+
cy.wrap($node).find('a').should('exist');
53+
cy.wrap($node).find('span').should('exist');
5454
});
5555
});
5656
});

0 commit comments

Comments
 (0)