openmct/e2e/tests/functional
Jesse Mazzella 201c669328
fix(#6455): fix Create modal tree infinite loop (#6462)
* fix(#6455): fix infinite loop

- When the Create modal is opened, it defaults the object selected in the tree to the parent of the currently selected object. However, if this object is static, it can sometimes have a weird navigationPath and an edge case where we try to infinitely walk up the path to find the parent.

- This adds a fail-safe to verify that the navigationPath by this point contains `/browse/mine` (thus is within a creatable path). If not, it sets the default selected tree item to the "My Items" folder

---------

Co-authored-by: Andrew Henry <akhenry@gmail.com>
2023-03-17 22:03:23 +00:00
..
example Update copyright date (#6395) 2023-03-06 21:58:18 +04:00
planning Improvements to reduce repainting (#5876) 2023-03-17 20:07:57 +00:00
plugins Improvements to reduce repainting (#5876) 2023-03-17 20:07:57 +00:00
branding.e2e.spec.js Update copyright date (#6395) 2023-03-06 21:58:18 +04:00
couchdb.e2e.spec.js Update copyright date (#6395) 2023-03-06 21:58:18 +04:00
forms.e2e.spec.js Update copyright date (#6395) 2023-03-06 21:58:18 +04:00
menu.e2e.spec.js Update copyright date (#6395) 2023-03-06 21:58:18 +04:00
moveAndLinkObjects.e2e.spec.js Update copyright date (#6395) 2023-03-06 21:58:18 +04:00
notification.e2e.spec.js Fix keys duplication error (#6243) 2023-02-06 17:59:26 +00:00
recentObjects.e2e.spec.js test(e2e): Add tests for Recent Objects (#6270) 2023-02-04 00:15:42 +00:00
search.e2e.spec.js Improvements to reduce repainting (#5876) 2023-03-17 20:07:57 +00:00
smoke.e2e.spec.js Update copyright date (#6395) 2023-03-06 21:58:18 +04:00
tree.e2e.spec.js fix(#6455): fix Create modal tree infinite loop (#6462) 2023-03-17 22:03:23 +00:00