test(e2e): Add tests for Recent Objects (#6270)
* test(e2e): add test for recent objects target * test(e2e): Add RecentObjects tests - Test for 'target button' scroll and animation - Test for persistence on refresh - Test for displaying objects and aliases uniquely * test(e2e): add test for recent objects limit * refactor: compress to a single line * test(e2e): recents max limit test nests objects - Do deep nesting of objects instead of flat objects - Collapse the tree completely and then test the "target" button for the most deeply nested item * test(e2e): update locator to not use `nth(i)`
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
>
|
||||
<ul
|
||||
class="c-tree-and-search__tree c-tree c-tree__scrollable"
|
||||
aria-label="Recent Objects"
|
||||
>
|
||||
<recent-objects-list-item
|
||||
v-for="(recentObject) in recentObjects"
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
<div class="c-recentobjects-listitem__target-button">
|
||||
<button
|
||||
class="c-icon-button icon-target"
|
||||
:aria-label="`Open and scroll to ${domainObject.name}`"
|
||||
@click="openAndScrollTo(navigationPath)"
|
||||
></button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user