Skip to content

Commit 9a16a79

Browse files
authored
Merge pull request #15731 from yonasberhe23/fix_highlight_test_2.12
[backport 2.12.4] Automation: Fix highlight test
2 parents 6c41aa9 + 1e5085d commit 9a16a79

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)