Skip to content

Commit 5c9045a

Browse files
committed
fix side nav highlight test
1 parent c6a66fd commit 5c9045a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/e2e/po/side-bars/product-side-nav.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default class ProductNavPo extends ComponentPo {
9595
* Active navigation item
9696
*/
9797
activeNavItem() {
98-
return this.groups().get('.router-link-active').should('exist').invoke('text')
98+
return this.groups().find('.router-link-active').should('exist').invoke('text')
9999
.then((s) => s.trim());
100100
}
101101
}

0 commit comments

Comments
 (0)