diff --git a/cypress/e2e/po/side-bars/product-side-nav.po.ts b/cypress/e2e/po/side-bars/product-side-nav.po.ts index 644f6015eda..4c843e39005 100644 --- a/cypress/e2e/po/side-bars/product-side-nav.po.ts +++ b/cypress/e2e/po/side-bars/product-side-nav.po.ts @@ -95,7 +95,7 @@ export default class ProductNavPo extends ComponentPo { * Active navigation item */ activeNavItem() { - return this.groups().get('.router-link-active').should('exist').invoke('text') + return this.groups().find('.router-link-active').should('exist').invoke('text') .then((s) => s.trim()); } }